[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] PyQt4 and PyQt5 together on Linux?
From: Raphael Kubo da Costa <rakuco () FreeBSD ! org>
Date: 2015-03-18 20:13:27
Message-ID: 863852m5co.fsf () FreeBSD ! org
[Download RAW message or body]
Scott Kitterman <debian@kitterman.com> writes:
> On Wednesday, March 04, 2015 05:58:18 PM Sibylle Koczian wrote:
>> Hello,
>>
>> because I can't use PyQt5 for database applications I installed PyQt4 on
>> Ubuntu 10.14 in addition to the existing PyQt5 installation. I've used
>> the package manager for both, no visible problems installing. I did
>> install the PyQt$-SQL package.
>>
>> But: if I try to connect to a PostgreSQL database I get the message that
>> the driver QPSQL isn't available. The list of available drivers only
>> contains QSQLITE, QSQLITE3, QMYSQL.
>>
>> With PyQt5 I can access PostgreSQL databases from that same (virtual)
>> machine, but as I wrote on February 11 adding new data to a qtableview
>> doesn't work as expected.
>>
>> What is wrong and what should I do?
>>
> For PyQt4, the Ubuntu package name for the SQL module is python-qt4-sql. For
> PyQt5 it's python-pyqt5.qtsql. Not sure how you installed PyQt5 using the
> package manager though since 12.04 is the oldest supported Ubuntu release with
> PyQt5 packages.
OP probably meant "14.10" instead of "10.14".
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://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