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. Project ERROR: Unknown module(s) in QT: qml quick (static link)
Forum Updated to NodeBB v4.3 + New Features

Project ERROR: Unknown module(s) in QT: qml quick (static link)

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
12 Posts 2 Posters 3.6k 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.
  • MrErfanM Offline
    MrErfanM Offline
    MrErfan
    wrote on last edited by
    #1

    Hello friends
    I want to create a new project and build it, I use the STATIC link. What's wrong with the following error after the project is created?

    Project ERROR: Unknown module(s) in QT: qml quick
    

    But when I use the Widgets project, the Build step is done without problems!
    " Qt Version : qt 5.7 msvc 2015 "
    I will be grateful if you guide me :(
    tnx <3

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

      Hi,

      Did you build Qt yourself ?

      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
      • MrErfanM Offline
        MrErfanM Offline
        MrErfan
        wrote on last edited by
        #3

        Hi Yes
        When I create a QML project, the following error is displayed
        0_1512918368294_94d00202-8990-4eaf-9ab7-53d5612f235b-image.png

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

          How did you build Qt ?

          Can you share the configure options ?

          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
          • MrErfanM Offline
            MrErfanM Offline
            MrErfan
            wrote on last edited by
            #5

            Thank you for your reply
            I downloaded Qt5.7 source, And I configured it using the command below

            configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests
            

            I installed the Visual Studio Studio MSVC2015 completely, I've also installed perl and python.
            And then I run the following commands

            jom and jom install
            
            1 Reply Last reply
            0
            • MrErfanM Offline
              MrErfanM Offline
              MrErfan
              wrote on last edited by
              #6

              Is it possible to use the qml,quick modules in version qt 5.7.0(STATIC-BUILD)?

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

                Did you call configure in the qtbase module or from the top source folder ?

                Also, where did you get the sources from ?

                AFAIK, yes.

                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
                • MrErfanM Offline
                  MrErfanM Offline
                  MrErfan
                  wrote on last edited by
                  #8

                  I did these commands

                  1.cd C:\Qt\qt-static-5.7.0
                  2.configure -debug-and-release -static -opensource -opengl desktop -nomake examples -nomake tests
                  

                  I downloaded the source here [qt-everywhere-opensource-src-5.7.0.zip]

                  1 Reply Last reply
                  0
                  • MrErfanM Offline
                    MrErfanM Offline
                    MrErfan
                    wrote on last edited by
                    #9

                    error

                    Project ERROR: Failed to parse qmlimportscanner output.
                            C:\Qt\qt-static-5.7.0\jom.exe -f Makefile.Release install
                    jom: C:\Qt\qt-static-5.7.0\qtdeclarative\tools\Makefile [sub-qml-install_subtargets] Error 3
                    jom: C:\Qt\qt-static-5.7.0\qtdeclarative\Makefile [sub-tools-install_subtargets] Error 2
                    jom: C:\Qt\qt-static-5.7.0\Makefile [module-qtdeclarative-install_subtargets] Error 2
                    
                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      Did you call nmake install ?

                      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
                      0
                      • MrErfanM Offline
                        MrErfanM Offline
                        MrErfan
                        wrote on last edited by
                        #11

                        yes a

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

                          I just realised I misread you other post, it seems you already have a failure while building your custom Qt.

                          Can you post the complete error log ?

                          By the way, why use such on outdated version ? The current is 5.10. If you need LTS 5.9.3 is the current one.

                          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
                          0

                          • Login

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