<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'DejaVu Sans'; font-size:9pt; font-weight:400; font-style:normal;">&gt;i once had trouble compiling Qt with postgresql driver, and the only solution<br>
&gt;I found is linking it statically into QtSql dll.<br>
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 :(<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>&gt;check that the qt.conf that should be within your KDE directory shows the correct paths to the<br>
&gt; plugins directory. This is is most likely not the case.<br>
&gt;regards,<br>
&gt;Patrick<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>My qt.conf contents:<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>[Paths]<br>
Prefix=<br>
Documentation=../doc<br>
Headers=../include<br>
Libraries=../lib<br>
Binaries=<br>
Plugins=../plugins<br>
Data=..<br>
Translations=../translations<br>
Settings=../etc<br>
Examples=../examples<br>
Demos=../demos<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>When there is a qsqlite4.dll in $KDEDIR/plugins/sqldrivers<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p><p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Thanks for your help<br>
Mehrdad</p></body></html>