Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Project ERROR: Unknown module(s)
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unknown module(s)

Scheduled Pinned Locked Moved Unsolved General and Desktop
17 Posts 5 Posters 2.3k Views 2 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.
  • P Offline
    P Offline
    Panoss
    wrote on last edited by Panoss
    #1

    I have an application which runs with Qt creator 2.7.0 (32 bit) in Win xp.
    The same application I 'm trying to run it on Qt creator 6.0.2 Win 8.1 64 bit but I get this error:
    :-1: error: Project ERROR: Unknown module(s) in QT: script

    This is a screenshot from my Kits tab in Qt creator:
    alt text

    How can I fix it?

    JonBJ 1 Reply Last reply
    0
    • P Panoss

      I have an application which runs with Qt creator 2.7.0 (32 bit) in Win xp.
      The same application I 'm trying to run it on Qt creator 6.0.2 Win 8.1 64 bit but I get this error:
      :-1: error: Project ERROR: Unknown module(s) in QT: script

      This is a screenshot from my Kits tab in Qt creator:
      alt text

      How can I fix it?

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @Panoss said in Project ERROR: Unknown module(s):

      Qt 2.7.0 (32 bit) in Win xp

      Really? I would have thought Qt2 was 30 years old or similar?? You won't be able to run something written for Qt2 under Qt6....

      1 Reply Last reply
      0
      • P Offline
        P Offline
        Panoss
        wrote on last edited by Panoss
        #3

        On my 64 bit machine I have also installed Qt creator 2.7.0 so I will try with this one.
        But how can I install a kit?
        This is a screenshot from the tab Kits in Qt creator 2.7.0:

        alt text

        (2.7.0 was released in 2013)

        I see no maintenance tool.

        JonBJ 1 Reply Last reply
        0
        • Christian EhrlicherC Offline
          Christian EhrlicherC Offline
          Christian Ehrlicher
          Lifetime Qt Champion
          wrote on last edited by
          #4

          If you want to use QtScript in Qt6 you will be out of luck: "Warning: This module is not actively developed. It is provided for backwards compatibility with Qt 4 only. For new code, use QJSEngine and related classes in the Qt QML module instead."

          And please update your ancient QtCreator, also Qt is not QtCreator, so ' Qt 2.7.0' is wrong.

          Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
          Visit the Qt Academy at https://academy.qt.io/catalog

          1 Reply Last reply
          1
          • P Panoss

            On my 64 bit machine I have also installed Qt creator 2.7.0 so I will try with this one.
            But how can I install a kit?
            This is a screenshot from the tab Kits in Qt creator 2.7.0:

            alt text

            (2.7.0 was released in 2013)

            I see no maintenance tool.

            JonBJ Offline
            JonBJ Offline
            JonB
            wrote on last edited by
            #5

            @Panoss said in Project ERROR: Unknown module(s):

            Qt creator 2.7.

            You said Qt 2.7! Not Qt Creator, which is quite different and has different version numbering.

            Others will tell you better, but it doesn't surprise me if there is no maintenance tool available for a 10-year-old Creator version.

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

              Ok, Qt Creator 2.7.0.
              (I also have the Qt creator 6.0.2, so no need to update).
              I want ot run it on Qt Creator 2.7.0 because it can't run on Qt creator 6.0.2.

              So my problem is how to install a kit in Qt creator 2.7.0...

              1 Reply Last reply
              0
              • Christian EhrlicherC Offline
                Christian EhrlicherC Offline
                Christian Ehrlicher
                Lifetime Qt Champion
                wrote on last edited by Christian Ehrlicher
                #7

                Again: What Qt version do you want to use? You can install a Qt version via the Qt online installer. But you will to stay at Qt5.15 since, as I wrote earlier, QtScript is removed in Qt6

                I want ot run it on Qt Creator 2.7.0 because it can't run on Qt creator 6.0.2.

                Please re-read this sentence ... what do you want to tell us here?

                Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                Visit the Qt Academy at https://academy.qt.io/catalog

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Panoss
                  wrote on last edited by Panoss
                  #8

                  Look, I know my questions sound too 'niewby'. You don't have to answer anyway.

                  Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?
                  If this is it, you could just say so.

                  Christian EhrlicherC 1 Reply Last reply
                  0
                  • P Panoss

                    Look, I know my questions sound too 'niewby'. You don't have to answer anyway.

                    Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?
                    If this is it, you could just say so.

                    Christian EhrlicherC Offline
                    Christian EhrlicherC Offline
                    Christian Ehrlicher
                    Lifetime Qt Champion
                    wrote on last edited by Christian Ehrlicher
                    #9

                    @Panoss said in Project ERROR: Unknown module(s):

                    Can I use Qt creator 6.0.2 and install in it an older kit suitable for my case?

                    Again - what do you ask here?

                    QtCreator is an IDE, Qt is a C++ framework - already told you twice.

                    Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                    Visit the Qt Academy at https://academy.qt.io/catalog

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      Panoss
                      wrote on last edited by
                      #10

                      I tried to install Qt 5.15.0...
                      BUT I have not enough disk space (it requires 59.58 GB!!! for the temporary files...).
                      Project abandoned.

                      1 Reply Last reply
                      0
                      • Christian EhrlicherC Offline
                        Christian EhrlicherC Offline
                        Christian Ehrlicher
                        Lifetime Qt Champion
                        wrote on last edited by
                        #11

                        You should install only the Qt version for your compiler, not simply selecting all...

                        Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
                        Visit the Qt Academy at https://academy.qt.io/catalog

                        P 1 Reply Last reply
                        0
                        • Christian EhrlicherC Christian Ehrlicher

                          You should install only the Qt version for your compiler, not simply selecting all...

                          P Offline
                          P Offline
                          Panoss
                          wrote on last edited by Panoss
                          #12

                          @Christian-Ehrlicher you were right.
                          Now this is what I have (I installed on Qt Creator 6.0.2 the Qt 5.15.0 MinGW64bit):

                          alt text

                          What else must I do? I keep getting the same error.

                          1 Reply Last reply
                          0
                          • P Offline
                            P Offline
                            Panoss
                            wrote on last edited by
                            #13

                            These are my settings:
                            87fc9b8d-ce34-4f8a-beb1-49994e162e00-εικόνα.png

                            1 Reply Last reply
                            0
                            • SGaistS Offline
                              SGaistS Offline
                              SGaist
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              Hi,

                              You have to install QtScript separately (check the content of the online installer). It was deprecated for 5.6 and removed from the pre-built binary since 5.7.

                              Worst case scenario, you have to build the module yourself.

                              Interested in AI ? www.idiap.ch
                              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                              P 1 Reply Last reply
                              2
                              • SGaistS SGaist

                                Hi,

                                You have to install QtScript separately (check the content of the online installer). It was deprecated for 5.6 and removed from the pre-built binary since 5.7.

                                Worst case scenario, you have to build the module yourself.

                                P Offline
                                P Offline
                                Panoss
                                wrote on last edited by Panoss
                                #15

                                @SGaist there is nothing like QScript in the list of the online installer.

                                JKSHJ 1 Reply Last reply
                                0
                                • SGaistS Offline
                                  SGaistS Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #16

                                  Then clone and build the module.

                                  Interested in AI ? www.idiap.ch
                                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  1 Reply Last reply
                                  1
                                  • P Panoss

                                    @SGaist there is nothing like QScript in the list of the online installer.

                                    JKSHJ Offline
                                    JKSHJ Offline
                                    JKSH
                                    Moderators
                                    wrote on last edited by
                                    #17

                                    @Panoss said in Project ERROR: Unknown module(s):

                                    @SGaist there is nothing like QScript in the list of the online installer.

                                    It's here

                                    Qt Script installation selector

                                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                                    1 Reply Last reply
                                    3

                                    • Login

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