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

gordon at shieldaig.com gordon at shieldaig.com
Thu Feb 9 08:40:41 PST 2017


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.

I am not sure how other people managed to use Ubuntu 16.10.

Since I posted to the list.  I can be more specific the two packages are 
`pyqt5-dev` and `pyqt5-dev-tools` as `pyqt5.qsci-dev` not involved.

I haven't checked `python3-pyqt5 python3-pyqt5.qsci python3-pyqt5.qtsql 
python3-pyqt5.qtsvg` but am sure installing a specific a version of 
those isn't too difficult.

Without over complicating matters:

I think initial installers of Ubuntu 16.10 would have received Qt 5.6.1 
but those who waited until later would have received Qt 5.7.1, like me.  
I would say that's a Ubuntu 16.10 bug and probably lose reputation 
points.

PyQt5 or package `python-pyqt5` can be removed and installed with `sudo 
pip3 install` using the Qt 5.6.1 `.whl` file.  These specific packages 
from the `repo` are associated with Qt 5.7.1 while Ubuntu 16.10 defaults 
to Qt 5.6.1 and the QGIS core is built with that version.  This can be 
resolved in April by upgrading to Ubuntu 17.04, it says Qt 5.7.1 is 
used.

In the mean time, I plan to compare the differences between Qt 5.6.1, in 
the Ubuntu 16.10 install, and Qt 5.6.1, installed with the Qt 
maintenance tool.  This knowledge will make it much easier for me to 
check other versions of Qt as it is rapidly evolving.

Gordon

On 2017-02-09 03:50, Jürgen E. Fischer wrote:
> Hi Gordon,
> 
> On Wed, 08. Feb 2017 at 18:01:52 -0500, gordon at shieldaig.com wrote:
>> This is what I discovered.
>> 
>> On Ubuntu 16.10 the following packages: `pyqt5-dev pyqt5-dev-tools
>> pyqt5.qsci-dev` seem to be the Qt 5.7 version.
>> I removed them and reinstalled to confirm.  Then I deleted the build
>> folder and started over.
> 
> As a shortcut you can also build debian packages (see INSTALL). That 
> will take
> care of the dependencies (ie. complain about what's missing) and leave 
> a build
> directory in debian/build.   You could also interrupt the build once 
> it's
> setup.
> 
> 
> Jürgen
> 
> _______________________________________________
> 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