Bug report #19522

Building QGIS3 against qt-5.11.x

Added by Chris Clayton almost 2 years ago. Updated almost 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Build/Install
Affected QGIS version:3.2 Regression?:No
Operating System:Linux Easy fix?:Yes
Pull Request or Patch supplied:Yes Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:27349

Description

In qt-5.11 there has been some tweaking of header files, which result in FTBFS when building qgis-3.2.1 (and maybe earlier qgis3 versions).

Whilst I wouldn't suggest that you simply apply the attached patch, it does show the results of the work I did to identify that places where changes are needed. That will provide a start to the "proper" solution for qgis.

qgis-3.2.0-qt-5.11.patch Magnifier - Patch to allow build against qt-5.11 (3.41 KB) Chris Clayton, 2018-08-01 09:57 AM

History

#1 Updated by Alessandro Pasotti almost 2 years ago

  • Assignee set to Alessandro Pasotti

#2 Updated by Alessandro Pasotti almost 2 years ago

  • Status changed from Open to In Progress

#3 Updated by Chris Clayton almost 2 years ago

I cloned the QGIS tree from github and manually applied the proposed changes. The build completed successfully.

The latest snapshot of gcc8 spits out a few warnings, but they appear not to be related to these changes. (I have a log of them if anyone is interested in investigating them).

#4 Updated by Alessandro Pasotti almost 2 years ago

  • Status changed from In Progress to Open

Giving up. Please make a PR yourself.

#5 Updated by Alessandro Pasotti almost 2 years ago

  • Assignee deleted (Alessandro Pasotti)

#6 Updated by Chris Clayton almost 2 years ago

  • Assignee set to Alessandro Pasotti

I don't understand. There's a hint in your post yesterday that you have lost patience waiting for me. I replied (in note-4 above) to your request that I "check this out" (note-3 above). What else are you waiting for me to do?

#7 Updated by Alessandro Pasotti almost 2 years ago

No: I haven't lost patience waiting for you, sorry if it seemed like that, I just have no time to follow this now.

#8 Updated by Alessandro Pasotti almost 2 years ago

  • Assignee deleted (Alessandro Pasotti)

Also available in: Atom PDF