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.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.
  • C Offline
    C Offline
    Creaperdown
    wrote on 28 Aug 2023, 06:55 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?

    J 1 Reply Last reply 28 Aug 2023, 06:58
    0
    • C Creaperdown
      28 Aug 2023, 06:55

      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?

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 28 Aug 2023, 06:58 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 28 Aug 2023, 06:59
      1
      • J jsulm
        28 Aug 2023, 06:58

        @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 28 Aug 2023, 06:59 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • J jsulm
          28 Aug 2023, 06:58

          @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 28 Aug 2023, 07:01 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?

          J 1 Reply Last reply 28 Aug 2023, 07:02
          0
          • C Creaperdown
            28 Aug 2023, 07:01

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

            J Online
            J Online
            jsulm
            Lifetime Qt Champion
            wrote on 28 Aug 2023, 07:02 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 28 Aug 2023, 07:04
            0
            • J jsulm
              28 Aug 2023, 07:02

              @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 28 Aug 2023, 07:04 last edited by
              #6

              @jsulm Thank you, this fixes it.

              1 Reply Last reply
              0
              • C Creaperdown has marked this topic as solved on 28 Aug 2023, 07:04
              • T Offline
                T Offline
                TechTinkerer
                wrote on 18 Jan 2024, 15:52 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 15 Feb 2024, 09:40
                0
                • T TechTinkerer
                  18 Jan 2024, 15:52

                  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 15 Feb 2024, 09:40 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