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. windeployqt

windeployqt

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 206 Views
  • 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.
  • J Offline
    J Offline
    Jan Bakker
    wrote on last edited by
    #1

    Hi everyone,

    I try to make a release of my project, but it's not succesfull till now.
    I am using QT creator 6.8.2 wit minGW and CMake on Windows. I have done the following steps:
    -build a release
    -using windeployqt.exe
    -Some qml libs are missing after running windeployqt. (e.g. qml\QtQuick\Particles\particlesplugin.dll)
    -I have copies these files manually

    But it keeps me telling that the qml modules are missing. Does anyone has an idea what to do now?

    Thanks.

    jsulmJ 1 Reply Last reply
    0
    • J Jan Bakker

      Hi everyone,

      I try to make a release of my project, but it's not succesfull till now.
      I am using QT creator 6.8.2 wit minGW and CMake on Windows. I have done the following steps:
      -build a release
      -using windeployqt.exe
      -Some qml libs are missing after running windeployqt. (e.g. qml\QtQuick\Particles\particlesplugin.dll)
      -I have copies these files manually

      But it keeps me telling that the qml modules are missing. Does anyone has an idea what to do now?

      Thanks.

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

      @Jan-Bakker Do you use --qmldir parameter when calling windeployqt?

      Btw. you're using Qt 6.8.2, not QtCreator (which is an IDE).

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

      1 Reply Last reply
      0
      • J Offline
        J Offline
        Jan Bakker
        wrote on last edited by Jan Bakker
        #3

        Thank you.

        Yes I used --qmldir.
        When i search in the output of windeployqt I cannot find anything regarding the qml module.

        for example:
        i have somewhere: import Qt.labs.settings

        I tried to implicity add these modules by using

        windeployqt --add-plugin-types labssettings --no-translations --release --qmldir "c:\QtBuilds\myprog\qml" "c:\QtBuilds\myprog\appmyprog.exe"
        

        I still get the warning cannot load lib C:\QtBuilds\myprog\qml\Qt\labs\settings\qmlsettingsplugin.dll when i run the program. I even add the location of these map by using engine.addImportPath().

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

          I interpreted the error as indicating that the labssettings DLL was not found. After renaming the DLL, I received a different error stating that the DLL was not installed. That made me realize that the first error actually meant there was a missing dependency in labssettings. I identified and copied the missing DLL, which resolved the issue.

          In the end, everything is easy.

          1 Reply Last reply
          0
          • J Jan Bakker has marked this topic as solved on

          • Login

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