Building qtcreator error: Unknown module(s) in QT: script
-
Hi,
I've been able to build QT 5.2 successfully, but encountered this error when trying to compile qtcreator.
I configured QT with
@configure -opensource -confirm-license -platform win32-g++ -make libs -qt-libjpeg -qt-libpng -no-openssl -no-icu -qt-zlib -qt-pcre -no-iconv -nomake examples -nomake tests -no-angle -opengl desktop -no-rtti -no-dbus
-strip -plugin-sql-sqlite@
like the one in "here":https://groups.google.com/forum/#!topic/qtcontribs/P-qYFD8Dglwbut when trying to make qtcreator with qmake, I got the makefile, but fail when executing mingw32-make
@. . . . .
cd utils\ && ( if not exist Makefile D:\QT\qt-everywhere-opensource-src-5.2.0\qtbase\bin\qmake.exe D:\QT\qt-creator-opensource-src-3.0.0\src\libs\utils\utils.pro -o Makefile ) && mingw32-make -f Makefile
Project ERROR: Unknown module(s) in QT: script
Makefile:103: recipe for target 'sub-utils-make_first' failed
mingw32-make[2]: *** [sub-utils-make_first] Error 3
mingw32-make[2]: Leaving directory 'D:/QT/qt-creator/src/libs'
Makefile:41: recipe for target 'sub-libs-make_first-ordered' failed
mingw32-make[1]: *** [sub-libs-make_first-ordered] Error 2
mingw32-make[1]: Leaving directory 'D:/QT/qt-creator/src'
Makefile:39: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make: *** [sub-src-make_first-ordered] Error 2@if I do "qmake -r", I couldn't even get the makefile, but with the same error.
@Reading D:/QT/qt-creator-opensource-src-3.0.0/src/src.pro
Reading D:/QT/qt-creator-opensource-src-3.0.0/src/libs/libs.pro
Reading D:/QT/qt-creator-opensource-src-3.0.0/src/libs/aggregation/aggregation.pro
Reading D:/QT/qt-creator-opensource-src-3.0.0/src/libs/extensionsystem/extensionsystem.pro
Reading D:/QT/qt-creator-opensource-src-3.0.0/src/libs/utils/utils.pro
Project ERROR: Unknown module(s) in QT: script@Any help?
-
I am running into the same problem. Were you ever able to resolve this issue?
@
C:\qtcreator>qmake -r
Reading C:/qtcreator/src/src.pro
Reading C:/qtcreator/src/libs/libs.pro
Reading C:/qtcreator/src/libs/aggregation/aggregation.pro
Reading C:/qtcreator/src/libs/extensionsystem/extensionsystem.pro
Reading C:/qtcreator/src/libs/utils/utils.pro
Project ERROR: Unknown module(s) in QT: script
@Above is what I have encountered
-
1, check the libQt5Script.so is installed successfully.
On kubuntu, I use
@gemfield@CivilNet:~/qt$ locate libQt5Script.so@2, if libQt5Script.so installed successfully, then you may used the wrong version qmake.
On kubuntu, I use
@locate bin/qmake@
to check how many qmake binary exists, and choose right qmake which is also in PATH to parse the qtcreator.pro -
[quote author="Juan de Hoyos" date="1413373385"]Try to build the script module manually:
make module-qtscript
[/quote]Thank you Juan, that helped!
-
[quote author="Juan de Hoyos" date="1413373385"]Try to build the script module manually:
make module-qtscript
[/quote]Thank you Juan, that helped!