Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Qt-Creator 3.0.1] Project ERROR: Unknown module(s) in QT: script



  • hi guys,

    Well that pretty much sums it up: when i try to compile Qt Creator with the Qt 5.2.1 installed, i have the following error when i do a "qmake -r" :

    bq. Project ERROR: Unknown module(s) in QT: script

    Any advice ?

    Thanks



  • I am having the exact same issue.

    I run "qmake -r" in my qtcreator directory.

    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

    I get this error every time, from both the *.zip file I downloaded form here and from the git source.

    Were you able to resolve this issue?



  • For this issues:
    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


Log in to reply