Bug 503109 - SQLite is the only available driver for the SQL plugin on MacOS
Summary: SQLite is the only available driver for the SQL plugin on MacOS
Status: CONFIRMED
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: unspecified
Platform: macOS (DMG) macOS
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-21 14:03 UTC by tara
Modified: 2025-07-20 19:08 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.