- Status Closed
- Percent Complete
- Task Type Bug Report
- Category QCAD (main)
-
Assigned To
Andrew - Operating System Other (Unsupported)
- Severity Low
- Priority Very Low
- Reported Version Development
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Attached to Project: QCAD Bugtracker
Opened by Tamas TEVESZ - 18.09.2016
Last edited by Andrew - 19.09.2016
Opened by Tamas TEVESZ - 18.09.2016
Last edited by Andrew - 19.09.2016
FS#1482 - FTBFS on FreeBSD
Git 3ed32041, FreeBSD 10.3, amd64
Qt had been updated from 5.5.1 to 5.6.1 just recently. This resulted in two FTBFSs:
- Missing script bindings for 5.6.1:
--- /dev/null +++ b/src/3rdparty/qt-labs-qtscriptgenerator-5.6.1/qt-labs-qtscriptgenerator-5.6.1.pro @@ -0,0 +1,4 @@ +include( ../../../shared.pri ) + +SUBDIRS = ../qt-labs-qtscriptgenerator-5.5.0/qtbindings +TEMPLATE = subdirs
After this,
- Project ERROR: Unknown module(s) in QT: webenginewidgets
--- a/shared.pri +++ b/shared.pri @@ -46,8 +46,8 @@ macx-ios-* { !r_mobile { greaterThan(QT_MAJOR_VERSION, 4) { - greaterThan(QT_MINOR_VERSION, 5) { - # Qt >= 5.6 + greaterThan(QT_MINOR_VERSION, 6) { + # Qt >= 5.7 QT += webenginewidgets } else {
I will try to see if the FreeBSD folks are willing/able to enable the WebEngine component for ports, but in the meantime, falling back to WebKit for 5.6 would certainly be appreciated.
Hunk #1 is necessary regardless.
FYI FreeBSD bug report
Let's see.
It's not happening for a while, apparently, although they are working towards it.
I just saw you've implemented then rolled back stating "invalid changes". Out of curiosity, what was invalid about it?
Webkit (QT += webkitwidgets) has been deprecated in Qt 5.5. Starting with Qt 5.6.0, Webengine (QT += webenginewidgets) should be used instead.
Stronger, the downloaded compiled packages of Qt 5.6 do not contain web kit which breaks compilation here with the above changes to shared.pri.
Source about webkit being deprecated in Qt 5.5:
http://doc.qt.io/qt-5/qtwebengine-overview.html
Coming to think of it: QCAD actually does not depend on WebKit or WebEngine anymore since a few months. This dependency was removed because WebKit has been deprecated and WebEngine does not render HTML well enough to be usable for QCAD. The HTML component in the library browser has been removed without replacement. In all other instances, QTextBrowser is now being used.
Sorry about the confusion. I've removed the dependency from shared.pri:
https://github.com/qcad/qcad/commit/3775c83c0fc43bd1609b57d1977d498c5c2f6645
That resolves the FreeBSD situation flawlessly (a least to the tune of "I've just started building, and will come out of the woods again if something's amiss").
Thanks Andrew, much appreciated!