Bug 503109

Summary: SQLite is the only available driver for the SQL plugin on MacOS
Product: [Applications] kate Reporter: tara
Component: applicationAssignee: KWrite Developers <kwrite-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: christoph
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tara 2025-04-21 14:03:01 UTC
SUMMARY

No other SQL drivers available except QSQLITE on MacOS. Documentation of no help. 

STEPS TO REPRODUCE
1. Download latest Kate DMG from website (Version 25.07.70 at the time of this writing).
2. Load SQL Plugin
3. Try to connect to a database

OBSERVED RESULT

QSQLITE is the only plugin available.

EXPECTED RESULT

Other plugins , like PostgreSQL available or instructions on how to install them.

The manual says “If you can’t see the desired driver, you need to install it.” https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-sql.html#sql-intro with no hints or extra help on how to install it. I assume it's a Qt thing, since the drivers start with Q, but I'm ignorant about Qt, so I could be wrong.


SOFTWARE/OS VERSIONS
Kate: 25.07.70
KDE Frameworks: 6.12.0
Qt: Using 6.8.1 and built against 6.8.1
macOS Sequoia (15.4)
Build ABI: arm64-little_endian-lp64
Kernel: darwin 24.4.0

ADDITIONAL INFORMATION

I think it's reasonable to only ship with SQLite. If that's the case going forward, there should be a way to add extra drivers somehow, and the Manual should explain how.
Comment 1 Christoph Cullmann 2025-04-26 16:46:04 UTC
I see your point, but I think if no new contributor steps up to write such a manual section, that will not happen.
Comment 2 tara 2025-04-26 17:09:08 UTC
How would one go about installing other drivers?  I don't mind taking a stab at writing the docs, but since I'm 100% ignorant at this point, there is no chance I'd be able to do anything around documentation right now.
Comment 3 Christoph Cullmann 2025-04-26 17:23:12 UTC
(In reply to tara from comment #2)
> How would one go about installing other drivers?  I don't mind taking a stab
> at writing the docs, but since I'm 100% ignorant at this point, there is no
> chance I'd be able to do anything around documentation right now.

That is complex, you would need to compile them with at least the same or a newer version of Qt as we ship it in the bundle and then place it in the Plugins/.... folder. That is very non-trivial.