[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt]  ANN: PyQt v5.8 and SIP v4.19.1 Released
From:       Pou Belle <belepoub () gmail ! com>
Date:       2017-02-20 15:00:35
Message-ID: CAH27=-_m9pJEH7kZZNncvhgcCEc-2_YENmK7bNgZo+FG+OObaw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


> > * In the case of PostgreSQL I think it is lipq.dll (or maybe libpg.dll). It is \
> > called by the Qt plugin - you need both.*

> > > * The subdirectory "...\Qt\plugins\sqldrivers" of my PyQt installation contains \
> > > the file qsqlpsql.dll. That is the right plugin, isn't it?*

*>>> Do I have to rebuild it using the instructions in the Qt
documentation, to tell the plugin about the location of PostgreSQL on
my machine?*

*>>> But that can't be right: it would mean repeating this with every
update of either PyQt or PostgreSQL???
*>>>>* ...or Qt. This is a Qt issue, nothing to do with PyQt. I assume
you just need to make sure the directory containing the PostgreSQL DLL
is on PATH.
*>>
> Done, and now it works. Thank you!

> Sibylle



Hi,


Where did you find the missing dll for PostgreSQL ?
DependencyWalker indicates qsqlpsql.dll needs libpq.dll in order to work.
So I downloaded PostgreSQL binaries from the official site, and got
libpq.dll.
But it doesn't work with PyQt5.7.1/Python3.5.2/Windows7-64bit, because
libpq.dll was compiled against Visual Studio 2013, and Python3.5.2 needs
Visual Studio 2015.

Did you have to compile PostgreSQL yourself ? (it's not an easy task at all)


Thanks.


[Attachment #5 (text/html)]

<div dir="ltr"><div><pre style="white-space:pre-wrap;color:rgb(0,0,0)"><pre \
style="white-space:pre-wrap">&gt;&gt;<i style="font-family:arial,sans-serif"> In the \
case of PostgreSQL I think it is lipq.dll (or maybe libpg.dll). It is called by the \
Qt plugin - you need both.</i><br></pre></pre><pre \
style="white-space:pre-wrap;color:rgb(0,0,0)">&gt;&gt;&gt;<i> The subdirectory \
&quot;...\Qt\plugins\sqldrivers&quot; of my PyQt installation contains the file \
qsqlpsql.dll. That is the right plugin, isn&#39;t it?</i></pre><pre \
style="white-space:pre-wrap;color:rgb(0,0,0)"><i>&gt;&gt;&gt; Do I have to rebuild it \
using the instructions in the Qt documentation, to tell the plugin about the location \
of PostgreSQL on my machine?</i></pre><pre \
style="white-space:pre-wrap;color:rgb(0,0,0)"><i>&gt;&gt;&gt; But that can&#39;t be \
right: it would mean repeating this with every update of either PyQt or PostgreSQL??? \
</i>&gt;&gt;<i> </i>&gt;&gt;<i> ...or Qt. This is a Qt issue, nothing to do with \
PyQt. I assume you just need to make sure the directory containing the PostgreSQL DLL \
is on PATH. </i>&gt;&gt;<i>
</i>
&gt; Done, and now it works. Thank you!

&gt; Sibylle</pre><pre \
style="white-space:pre-wrap;color:rgb(0,0,0)"><br></pre></div><div><br></div><div>Hi,</div><div><br></div><div><br></div><div>Where \
did you find the missing dll for PostgreSQL ?</div><div>DependencyWalker indicates \
qsqlpsql.dll needs libpq.dll in order to work.</div><div>So I downloaded PostgreSQL \
binaries from the official site, and got libpq.dll.</div><div>But it doesn&#39;t work \
with PyQt5.7.1/Python3.5.2/Windows7-64bit, because libpq.dll was compiled against \
Visual Studio 2013, and Python3.5.2 needs Visual Studio \
2015.</div><div><br></div><div>Did you have to compile PostgreSQL yourself ? \
(it&#39;s not an easy task at \
all)</div><div><br></div><div><br></div><div>Thanks.</div><div><br></div><div><br></div><div><br></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic