<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Qt psgl driver not loaded]]></title><description><![CDATA[<p dir="auto">Hi All,</p>
<p dir="auto">sorry being the thousandth asking this, but none of the solutions helped me. I have a fresh postgres 9.4 x86 install and build the qt psgl plugin by myself. Then I copied qsqlpsqld.dll to myapppath/debug/sqldrivers and set Path to my postgres bin directory.</p>
<p dir="auto">Unfortunately I only get the well known "PSQL driver not loaded"</p>
<p dir="auto">Dependency Walker (seem to be missing, but for every dll I checked):<br />
api-ms-win...<br />
dcomp.dll<br />
gpsvc.dll<br />
ieshims.dll</p>
<p dir="auto">Debug output from shell:</p>
<p dir="auto">QFactoryLoader::QFactoryLoader() checking directory path "C:/PROGRA~4/Qt/5.3/mingw482_32/plugins/sqldrivers" ...<br />
QFactoryLoader::QFactoryLoader() checking directory path "myapppath/debug/sqldrivers" ...<br />
QFactoryLoader::QFactoryLoader() looking at "myapppath/debug/sqldrivers/libqsqlpsqld.a"<br />
"Plugin verification data mismatch in 'myapppath/debug/sqldrivers/libqsqlpsqld.a'"<br />
not a plugin<br />
QFactoryLoader::QFactoryLoader() looking at "myapppath/debug/sqldrivers/qsqlpsqld.dll"<br />
Found metadata in lib myapppath/debug/sqldrivers/qsqlpsqld.dll, metadata=<br />
{<br />
"IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",<br />
"MetaData": {<br />
"Keys": [<br />
"QPSQL7",<br />
"QPSQL"<br />
]<br />
},<br />
"className": "QPSQLDriverPlugin",<br />
"debug": true,<br />
"version": 328450<br />
}</p>
<p dir="auto">Got keys from plugin meta data ("QPSQL7", "QPSQL")<br />
QSqlDatabase: PSQL driver not loaded<br />
QSqlDatabase: available drivers: QPSQL QPSQL7</p>
<p dir="auto">Any ideas are welcome ;-)</p>
]]></description><link>https://forum.qt.io/topic/55043/qt-psgl-driver-not-loaded</link><generator>RSS for Node</generator><lastBuildDate>Fri, 18 Sep 2026 08:35:15 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/55043.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Jun 2015 08:47:28 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Qt psgl driver not loaded on Tue, 09 Jun 2015 22:00:22 GMT]]></title><description><![CDATA[<p dir="auto">You should rather change the one from Qt Creator. The PATH environment variable should stay as clean as possible.</p>
]]></description><link>https://forum.qt.io/post/277363</link><guid isPermaLink="true">https://forum.qt.io/post/277363</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Tue, 09 Jun 2015 22:00:22 GMT</pubDate></item><item><title><![CDATA[Reply to Qt psgl driver not loaded on Tue, 09 Jun 2015 06:13:42 GMT]]></title><description><![CDATA[<p dir="auto">HI,<br />
I tried both ways, creator and windows shell.<br />
I have changed the PATH variable global (windows settings) and do not override it in creator.</p>
]]></description><link>https://forum.qt.io/post/277257</link><guid isPermaLink="true">https://forum.qt.io/post/277257</guid><dc:creator><![CDATA[HorstJ]]></dc:creator><pubDate>Tue, 09 Jun 2015 06:13:42 GMT</pubDate></item><item><title><![CDATA[Reply to Qt psgl driver not loaded on Mon, 08 Jun 2015 22:38:29 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Are you starting your program from Qt Creator ? And where did you modify your PATH variable ?</p>
]]></description><link>https://forum.qt.io/post/277232</link><guid isPermaLink="true">https://forum.qt.io/post/277232</guid><dc:creator><![CDATA[SGaist]]></dc:creator><pubDate>Mon, 08 Jun 2015 22:38:29 GMT</pubDate></item></channel></rss>