xTuple.com xTupleU Blog & News Customer Support

Compiling xtuple qt-client with qt 5.7.1?

We are currently using xtuple qt-client v4.10.0 compiled from source against qt 5.5.1 on CentOS 7.4. The xtuple binary functions and allows us to connect to cloud DBs. Thanks to Perry’s support in providing a shell script that sets up the compilation environment including pre-requisite packages.

Attempting to build xtuple qt-client v4.10.0 against qt 5.7.1 I got an error:

cd scriptapi/ && ( test -e Makefile || /usr/local/Qt-5.7.1/bin/qmake /root/build/xtuple-11022018-1541185602/qt-client/scriptapi/scriptapi.pro -o Makefile ) && make -f Makefile
Project ERROR: Unknown module(s) in QT: webkit webkitwidgets
make: *** [sub-scriptapi-make_first-ordered] Error 3

Apparently qt 5.7.1 no longer provides webkit nor webkitwidgets which have been removed in favor of webengine. Has xtuple qt-client been ported so that it works with the newer qt releases? If so, in which xtuple qt-client version did support of qt webengine get added?

Thanks,

Mark

Mark,

As you can see in the development environment setup docs, we use Qt 5.5.1 — a version with QWebKit — for 4.10 through 4.12. We’re switching to QWebEngine and Qt 5.11 for the 5_0_x branch.

Gil

Hi Gil,

Thanks for that link. Great info that I somehow missed.

I was trying qt 5.7.1 because it was referenced in a newer version of a shell script provided to me in the past. I’m guessing it was in there as a one time test so I commented it out and uncommented the use of qt 5.5.1.