Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. module "QtQuick.*" is not installed
Forum Updated to NodeBB v4.3 + New Features

module "QtQuick.*" is not installed

Scheduled Pinned Locked Moved Solved QML and Qt Quick
8 Posts 3 Posters 3.8k 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.
  • C Offline
    C Offline
    Creaperdown
    wrote on last edited by
    #1

    I am trying to deploy my application on windows using windeployqt but I get the following errors when trying to run my applicaiton:

    Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
    Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
    Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
    Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
    Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
    Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
    Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
    Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
    Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
    Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
    Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
    Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
    Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
    Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
    Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
    Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
    

    Any idea how I could fix this? There is a "qml" folder in the result of windeployqt but it is empty. Do I need to add anything to it manually?

    jsulmJ 1 Reply Last reply
    0
    • C Creaperdown

      I am trying to deploy my application on windows using windeployqt but I get the following errors when trying to run my applicaiton:

      Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
      Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
      Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
      Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
      Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
      Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
      Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
      Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
      Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
      Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
      Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
      Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
      Librum: qrc:/main.qml:4:1: module "QtQuick.Window" is not installed
      Librum: qrc:/main.qml:3:1: module "QtQuick.Layouts" is not installed
      Librum: qrc:/main.qml: module "QtQuick.Controls.Basic" is not installed
      Librum: qrc:/main.qml: module "QtQml.WorkerScript" is not installed
      

      Any idea how I could fix this? There is a "qml" folder in the result of windeployqt but it is empty. Do I need to add anything to it manually?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 2 Replies Last reply
      1
      • jsulmJ jsulm

        @Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.

        C Offline
        C Offline
        Creaperdown
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • jsulmJ jsulm

          @Creaperdown I think you have to pass -qml parameter to windeploytool to tell it where you QML stuff is.

          C Offline
          C Offline
          Creaperdown
          wrote on last edited by
          #4

          @jsulm Right, I have seen this before and copied the command windeployqt.exe --qmldir . --release .\librum.exe. Now that you mention it I realized that there is a . as the path for qmldir which is wrong. Where exactly should that point to? Simply to my qml source directory?

          jsulmJ 1 Reply Last reply
          0
          • C Creaperdown

            @jsulm Right, I have seen this before and copied the command windeployqt.exe --qmldir . --release .\librum.exe. Now that you mention it I realized that there is a . as the path for qmldir which is wrong. Where exactly should that point to? Simply to my qml source directory?

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #5

            @Creaperdown said in module "QtQuick.*" is not installed:

            Simply to my qml source directory?

            I think so, yes

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            C 1 Reply Last reply
            0
            • jsulmJ jsulm

              @Creaperdown said in module "QtQuick.*" is not installed:

              Simply to my qml source directory?

              I think so, yes

              C Offline
              C Offline
              Creaperdown
              wrote on last edited by
              #6

              @jsulm Thank you, this fixes it.

              1 Reply Last reply
              0
              • C Creaperdown has marked this topic as solved on
              • T Offline
                T Offline
                TechTinkerer
                wrote on last edited by
                #7

                Dear all,

                having similar issue and kinda stuck..

                Using this post build command in my cmake file

                # Add a post-build command to run windeployqt
                COMMAND "$<IF:$<CONFIG:Debug>,${QT_TOOLS_PATH}/bin/windeployqt.debug.bat,${QT_TOOLS_PATH}/bin/windeployqt.exe>" --qmldir "D:/git/myapp/Frontend/qml/" $<TARGET_FILE_DIR:myapp>
                COMMENT "Running windeployqt..."
                

                Can someone help?

                C 1 Reply Last reply
                0
                • T TechTinkerer

                  Dear all,

                  having similar issue and kinda stuck..

                  Using this post build command in my cmake file

                  # Add a post-build command to run windeployqt
                  COMMAND "$<IF:$<CONFIG:Debug>,${QT_TOOLS_PATH}/bin/windeployqt.debug.bat,${QT_TOOLS_PATH}/bin/windeployqt.exe>" --qmldir "D:/git/myapp/Frontend/qml/" $<TARGET_FILE_DIR:myapp>
                  COMMENT "Running windeployqt..."
                  

                  Can someone help?

                  C Offline
                  C Offline
                  Creaperdown
                  wrote on last edited by
                  #8

                  @TechTinkerer It turns out that the application builds even with this compile time error. Even in a new test application with no contents at all I am getting this message and it works just fine.

                  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