[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: QGIS 2.14 & Qt5



On 03/15/2016 06:27 PM, Dmitry Shachnev wrote:
> Hi Matthias,
> 
> On Tue, Mar 15, 2016 at 08:22:23AM +0100, Matthias Kuhn wrote:
>>>>     The third build failed due to errors in QGIS server
>>>>     because
>>>>     QtNetwork/QFtp is no longer available in Qt5, also disabled for now.
>>>>     These changes allow the build to succeed with Qt5.
>>
>> FYI, the dependency on QFtp and QHttp has been removed from Qt5 (server)
>> builds in master.
> 
> Thanks!
> 
> FWIW the old classes are still available in Qt 5, just not included in
> qtbase:
> 
> http://code.qt.io/cgit/qt/qthttp.git/
> http://code.qt.io/cgit/qt/qtftp.git/
> 
> Also, it's even better to port the code to QNetworkAccessManager which provides
> a better API and is available out of the box in both Qt 4 and Qt 5.
> 
> Anyway, I hope that with Sebastiaan's fixes merged and this change, we are one
> step closer to having QGIS in Debian switched to Qt 5.

We're definitely closer, I still need to cherry-pick the QFtp/QHttp
changes to re-enable the server build and evaluate the resulting packages.

There is also an issue with the uid widget-plugins installation path,
the configuration differs between PyQt4 & PyQt5, the default_mod_dir for
Qt4 is /usr/lib/python2.7/dist-packages/PyQt4, for Qt5 it's
/usr/lib/python2.7/dist-packages without the expected PyQt5 subdirectory.

I'm not sure whether this is a bug. The easy fix is to just append the
PyQt5 subdirectory in FindPyQt5.py, but I'm in doubt if it's appropriate
for other distributions too.

Kind Regards,

Bas

-- 
 GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146  50D1 6750 F10A E88D 4AF1

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: