← All bug reports

FS#1482FTBFS on FreeBSD

Type
Bug
Status
Closed
Resolution
Implemented
Category
QCAD (main)
Severity
Low
Priority
Low
Reported version
Development
Operating system
Other (Unsupported)
Reported
2016-09-18 by kazmer
Closed
2016-09-19 by andrew

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 {

Comments (6)

kazmer 2016-09-19

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.

kazmer 2016-09-19

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?

andrew 2016-09-19

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

andrew 2016-09-19

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

kazmer 2016-09-19

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!