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. qml app does not run without any error and but does run in <qtVersion>\mingw\bin
Forum Updated to NodeBB v4.3 + New Features

qml app does not run without any error and but does run in <qtVersion>\mingw\bin

Scheduled Pinned Locked Moved Solved QML and Qt Quick
5 Posts 2 Posters 604 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.
  • Q Offline
    Q Offline
    qAminzzz
    wrote on last edited by qAminzzz
    #1

    Hello, my qml app does not show anything without qtcreator

    i copied my qml exe file to C:\Qt\5.15.0\mingw81_64\bin and everything works fine

    i have read below page:
    https://forum.qt.io/topic/23957/solved-exe-file-does-not-run-without-qtcreator-qt-5-0-1-and-qtquick-2-0

    i used command prompt for :

    windeployqt.exe "MyApp.exe"
    

    command propmpt result:
    Capture2.PNG

    and now my app folder is:

    Capture.PNG

    i think there is a problem in the platforms folder but i can't find that
    thanks for any help (:

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

      You need to tell the tool where your QML files are so that it can deploy the required dependencies.

      It's explained in the documentation.

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

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

        Hi,

        From the looks of it, you did not use the --qmldir parameter to point to your qml sources. Therefore the related resources are not deployed.

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

        Q 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          From the looks of it, you did not use the --qmldir parameter to point to your qml sources. Therefore the related resources are not deployed.

          Q Offline
          Q Offline
          qAminzzz
          wrote on last edited by qAminzzz
          #3

          @SGaist thanks for your answer, can you tell me more plz about --qml.

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

            You need to tell the tool where your QML files are so that it can deploy the required dependencies.

            It's explained in the documentation.

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

            Q 1 Reply Last reply
            1
            • SGaistS SGaist

              You need to tell the tool where your QML files are so that it can deploy the required dependencies.

              It's explained in the documentation.

              Q Offline
              Q Offline
              qAminzzz
              wrote on last edited by
              #5

              @SGaist it worked fine. thank you so much (: ❤️

              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