[KDE/Mac] OS X observations

Jaroslaw Staniek staniek at kde.org
Mon Jan 5 21:25:20 UTC 2015


On 5 January 2015 at 22:14, René J.V. <rjvbertin at gmail.com> wrote:
> 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.
>

Cool so if needed please change #define SHARED_LIB_EXTENSION ".dylib"
to #define SHARED_LIB_EXTENSION ".so"
in sqliteconnection.cpp


-- 
regards, Jaroslaw Staniek

KDE:
: A world-wide network of software engineers, artists, writers, translators
: and facilitators committed to Free Software development - http://kde.org
Calligra Suite:
: A graphic art and office suite - http://calligra.org
Kexi:
: A visual database apps builder - http://calligra.org/kexi
Qt Certified Specialist:
: http://www.linkedin.com/in/jstaniek


More information about the kde-mac mailing list