From kde-windows Wed Jul 15 08:20:07 2009 From: Carlo Date: Wed, 15 Jul 2009 08:20:07 +0000 To: kde-windows Subject: Re: Use QSql (SQLite) Message-Id: <3262b6180907150120y44052987s2e209565da448252 () mail ! gmail ! com> X-MARC-Message: https://marc.info/?l=kde-windows&m=124764606418344 2009/7/15 Mehrdad Momeny : >>i once had trouble compiling Qt with postgresql driver, and the only >> solution >>I found is linking it statically into QtSql dll. > I tried to link against the C:\\KDE\\lib\\libQtSql4.a and even mention the > path to plugin dll (C:\\KDE\\plugins\\sqldrivers\\qsqlite4.dll) into CMake > target_link_libraries . But nothing :( > >>check that the qt.conf that should be within your KDE directory shows the >> correct paths to the >> plugins directory. This is is most likely not the case. >>regards, >>Patrick > > My qt.conf contents: > > [Paths] > Prefix= > Documentation=../doc > Headers=../include > Libraries=../lib > Binaries= > Plugins=../plugins > Data=.. > Translations=../translations > Settings=../etc > Examples=../examples > Demos=../demos > > When there is a qsqlite4.dll in $KDEDIR/plugins/sqldrivers > > > Thanks for your help > Mehrdad > _______________________________________________ > Kde-windows mailing list > Kde-windows@kde.org > https://mail.kde.org/mailman/listinfo/kde-windows > > I think that there were some issue with qt 4.4 and qt.conf, the jpeg plugin didn't work either, you can try to set the environment variable QT_PLUGIN_PATH to point to to $KDEDIR/plugins or try to upgrade to qt 4.5 _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows