Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building qtcreator error: Unknown module(s) in QT: script
Forum Updated to NodeBB v4.3 + New Features

Building qtcreator error: Unknown module(s) in QT: script

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 5 Posters 25.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vayth
    wrote on last edited by
    #1

    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-qYFD8Dglw

    but 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?

    1 Reply Last reply
    1
    • A Offline
      A Offline
      ASxa86
      wrote on last edited by
      #2

      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 Reply Last reply
      0
      • G Offline
        G Offline
        gemfield
        wrote on last edited by
        #3

        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

        Gemfield, A CivilNet Maintainer.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          juanmahv
          wrote on last edited by
          #4

          Try to build the script module manually:

          make module-qtscript

          1 Reply Last reply
          2
          • P Offline
            P Offline
            ProDataLab
            wrote on last edited by
            #5

            [quote author="Juan de Hoyos" date="1413373385"]Try to build the script module manually:

            make module-qtscript
            [/quote]

            Thank you Juan, that helped!

            1 Reply Last reply
            0
            • P Offline
              P Offline
              ProDataLab
              wrote on last edited by
              #6

              [quote author="Juan de Hoyos" date="1413373385"]Try to build the script module manually:

              make module-qtscript
              [/quote]

              Thank you Juan, that helped!

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved