Discussion:
[Qt-creator] build fail because of deprecated dependency
Davide Coppola
2018-01-16 01:00:24 UTC
Permalink
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 -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 -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:* ***@gmail.com
*website:* http://www.davidecoppola.com
*blog:* http://blog.davidecoppola.com

<http://plus.google.com/+DavideCoppola>
<http://www.linkedin.com/in/davidecoppola>
<http://www.twitter.com/vivaladav>



‌
Christian Stenger
2018-01-16 06:36:44 UTC
Permalink
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-project.org> on behalf of Davide Coppola <***@gmail.com>
Sent: Tuesday, January 16, 2018 2:00:24 AM
To: qt-***@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: ***@gmail.com<mailto:***@gmail.com>
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

[Loading Image...]<http://plus.google.com/+DavideCoppola> [Loading Image...] <http://www.linkedin.com/in/davidecoppola> [Loading Image...] <http://www.twitter.com/vivaladav>




Eike Ziller
2018-01-16 09:06:01 UTC
Permalink
See the discussion on

https://bugreports.qt.io/browse/QBS-913 "QtScript dependency needs to be removed”

Br, Eike
Post by Christian Stenger
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.
cd src/ && /home/m3xican/dev/Qt/5.10.0/gcc_64/bin/qmake -o Makefile /home/m3xican/dev/repos/qt-creator/src/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 -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
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com

_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer

The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
***@qt.io
http://qt.io
Geschäftsführer: Mika Pälsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B
Davide Coppola
2018-01-16 10:18:45 UTC
Permalink
Thanks for the info, I started to watch the issue on JIRA.

Not a big deal anyway, I was just wondering what the plans/status are for
this.
‌
Post by Eike Ziller
See the discussion on
https://bugreports.qt.io/browse/QBS-913 "QtScript dependency needs to be
removed”
Br, Eike
Post by Davide Coppola
Hi,
I have just had a failure when trying to build qt-creator (4.5 and
master branches).
Post by Davide Coppola
The issue was the lack of the Qt Script module on my system.
cd src/ && /home/m3xican/dev/Qt/5.10.0/gcc_64/bin/qmake -o Makefile
/home/m3xican/dev/repos/qt-creator/src/src.pro -spec linux-g++
CONFIG+=debug
Post by Davide Coppola
cd src/ && /usr/bin/make -f Makefile qmake_all
make[1]: Entering directory '/home/m3xican/dev/projects/
build-qtcreator-4_5-debug/src'
Post by Davide Coppola
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 -spec linux-g++ CONFIG+=debug
Post by Davide Coppola
Project ERROR: Unknown module(s) in QT: script
Makefile:48: recipe for target 'sub-shared-qbs-src-lib-corelib-qmake_all'
failed
Post by Davide Coppola
make[1]: Leaving directory '/home/m3xican/dev/projects/
build-qtcreator-4_5-debug/src'
Post by Davide Coppola
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)
Post by Davide Coppola
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.
Post by Davide Coppola
Is there any plan to remove this dependency (in master at least)?
--
Davide Coppola
website: http://www.davidecoppola.com
blog: http://blog.davidecoppola.com
‌
_______________________________________________
Qt-creator mailing list
http://lists.qt-project.org/mailman/listinfo/qt-creator
--
Eike Ziller
Principal Software Engineer
The Qt Company GmbH
Rudower Chaussee 13
D-12489 Berlin
http://qt.io
GeschÀftsfÌhrer: Mika PÀlsi,
Juha Varelius, Mika Harjuaho
Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht
Charlottenburg, HRB 144331 B
--
*Davide Coppola*

*email:* ***@gmail.com
*website:* http://www.davidecoppola.com
*blog:* http://blog.davidecoppola.com

<http://plus.google.com/+DavideCoppola>
<http://www.linkedin.com/in/davidecoppola>
<http://www.twitter.com/vivaladav>
Loading...