[Qgis-developer] Building QGIS2.99 cloned from GitHub on Ubuntu 16.10 (yakkety) 64-bit Python

gordon at shieldaig.com gordon at shieldaig.com
Sun Feb 12 09:01:08 PST 2017


In summary, the apparent issue seems to have resulted from using `sudo 
pip3 install PyQt5` at some point as the latest version of it depends on 
Qt 5.7.1 while `sudo apt-get install python3-pyqt5` depends on Qt 5.6.1 
and the symbolic link to `libQt5Core.so.5` points to 5.6.1.

Simply removing and purging packages and reinstalling does not easily 
correct this.

The observations regarding building using Qt 5.7.1 are still valid and 
don't seem to affect building using Qt 5.6.1.

Gordon

On 2017-02-10 08:20, Jürgen E. Fischer wrote:
> Hi Gordon,
> 
> On Thu, 09. Feb 2017 at 11:40:41 -0500, gordon at shieldaig.com wrote:
>> Thanks Jürgen.  I see your approach.  I have done it with other
>> packages but am not sure why I cannot get `pyqt5-dev` and
>> `pyqt5-dev-tools` 5.6.1 version directly from the `repo` as it did
>> exist last year.  That would be the simplest solution.
> 
> yakkety has pyqt5-dev-tools=5.7+dfsg-2.  But it actually depends on
> python3-pyqt5=5.7+dfsg-2, which in turn is depends on libqt5core5a (>=
> 5.6.0~beta) - which is libqt5core5a=5.6.1+dfsg-3ubuntu6~4 in yakkety
> (see [0] ff)
> 
> So no need to downgrade pyqt5 - it's built against Qt 5.6.1.
> 
> 
>> PyQt5 or package `python-pyqt5` can be removed and installed with
>> `sudo pip3 install` using the Qt 5.6.1 `.whl` file.
> 
> Mixing debs and pip might create a mess.  I'd avoid that.  And given 
> the above,
> there's no need to anyway.
> 
> 
> Jürgen
> 
> 
> [0]
> http://packages.ubuntu.com/search?keywords=pyqt5-dev-tools&searchon=names&suite=yakkety&section=all
> 
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the Qgis-developer mailing list