[KDE/Mac] OS X observations

René J.V. Bertin rjvbertin at gmail.com
Mon Jan 5 21:14:38 GMT 2015


On Monday January 05 2015 20:26:29 Jaroslaw Staniek wrote:


> Yes, please send individual fixes for review.

Ok. I'll group them though - fixes to the build system, fixes related to the Preferences menu, etc.

> The issue with SQLite is probably related to lib/plugins paths, that
> are different on Mac as we know... kexi tries to find:
> 
> KStandardDirs::locate("module", QLatin1String("kexidb_sqlite3_icu"
> SHARED_LIB_EXTENSION)))
> 
> then calls loadExtension(). You can grep for it.
> 

Ah. So that's not related to the path (which has been taken care of in MacPorts), but rather the extension. I'm not sure how other KDE apps locate modules (plugins?), but from what I've seen they usually look for .so files like on Linux - which means they're probably not using SHARED_LIB_EXTENSION, which is dylib on OS X. 
Indeed, symlinking kexidb_sqlite3_icu.dylib to kexidb_sqlite3_icu.so lets Kexi find the sqlite plugin.

R.



More information about the calligra-devel mailing list