[Qt-creator] build fail because of deprecated dependency

Christian Stenger Christian.Stenger at qt.io
Tue Jan 16 07:36:44 CET 2018


Hi Davide,

Main reason for this is the Qbs submodule. Qbs needs a lot of QtScript and removing this dependency is a long term process as lots of the needed stuff would have to get reimplemented inside Qbs.
So, in general you'd have 2 options for now - the one you came up yourself of installing the deprecated module and second way would be to omit the submodule, but then you would not have the Qbs integration into QC.

Kind regards,
Christian

________________________________________
From: Qt-creator <qt-creator-bounces+christian.stenger=qt.io at qt-project.org> on behalf of Davide Coppola <vivaladav at gmail.com>
Sent: Tuesday, January 16, 2018 2:00:24 AM
To: qt-creator at qt-project.org
Subject: [Qt-creator] build fail because of deprecated dependency

Hi,

I have just had a failure when trying to build qt-creator (4.5 and master branches).

The issue was the lack of the Qt Script module on my system.

This is the full error log:

cd src/ && /home/m3xican/dev/Qt/5.10.0/gcc_64/bin/qmake -o Makefile /home/m3xican/dev/repos/qt-creator/src/src.pro<http://src.pro> -spec linux-g++ CONFIG+=debug
cd src/ && /usr/bin/make -f Makefile qmake_all
make[1]: Entering directory '/home/m3xican/dev/projects/build-qtcreator-4_5-debug/src'
cd shared/qbs/src/lib/corelib/ && /home/m3xican/dev/Qt/5.10.0/gcc_64/bin/qmake -o Makefile /home/m3xican/dev/repos/qt-creator/src/shared/qbs/src/lib/corelib/corelib.pro<http://corelib.pro> -spec linux-g++ CONFIG+=debug
Project ERROR: Unknown module(s) in QT: script
Makefile:48: recipe for target 'sub-shared-qbs-src-lib-corelib-qmake_all' failed
make[1]: Leaving directory '/home/m3xican/dev/projects/build-qtcreator-4_5-debug/src'
Makefile:39: recipe for target 'sub-src-qmake_all' failed
make[1]: *** [sub-shared-qbs-src-lib-corelib-qmake_all] Error 3
make: *** [sub-src-qmake_all] Error 2
01:13:28: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project qtcreator (kit: Desktop Qt 5.10.0 GCC 64bit)
When executing step "qmake"

I fixed the build by installing Qt Script, but I was not expecting to have to do that as it is marked  deprecated in the installer/maintenance tool.

Is there any plan to remove this dependency (in master at least)?

--
Davide Coppola

email: vivaladav at gmail.com<mailto:vivaladav at gmail.com>
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

[http://blog.davidecoppola.com/wp-content/plugins/social-media-widget/images/default/32/googleplus.png]<http://plus.google.com/+DavideCoppola> [http://blog.davidecoppola.com/wp-content/plugins/social-media-widget/images/default/32/linkedin.png] <http://www.linkedin.com/in/davidecoppola>  [http://blog.davidecoppola.com/wp-content/plugins/social-media-widget/images/default/32/twitter.png] <http://www.twitter.com/vivaladav>



‌



More information about the Qt-creator mailing list