Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    Solved Deploying qml application

    QML and Qt Quick
    deploying qml c
    2
    3
    114
    Loading More Posts
    • 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.
    • H
      Helga last edited by

      Hello everyone! I have a proplem to deploy c++ application wich contains qml. I use Windows 7 and Qt 5.14.2. My application works well from QT Creator.

      1. I've successfully run windeployqt to gather libraries my app needs: db78ee6e-b617-4eaf-a82d-83bc06725aba-image.png
      2. After that I run my new shiny .exe file and it works well if following line (underlined with red) is commented
        0db8958e-2ad2-4173-840f-30061e7bc36d-image.png
      3. But if it's uncommented, I doubleclick on .exe file and nothing happenes, it just quickly flashes out in a task manager for 1-2 sec.
      4. .qml file is simpliest and its content can't cause problems. It seems Qt can't see qml import files. 55b4f9a9-1121-4eb8-be0d-6ec12f007ae0-image.png
        I'd be gratefull for any help! Cos I feel I don't wanna dig deeper and I loose my time.

      Afterwords. Dependency walker shows plenty of mistakes even if .exe works properly (that problematic qml line commented). 6ef41472-f452-4179-adfe-4c987c087890-image.png
      cqtdeployer.exe doesn't work for me at all, it throws an error message about "entry point not found in Qt5Core.dll"
      e52cb899-6c79-48a3-8904-a3c11c37a93e-image.png

      1 Reply Last reply Reply Quote 0
      • H
        Helga last edited by

        The problem gone when I added .qml to resources. Following picture shows it.8b4a4aa9-f48b-47de-99b6-1d6dcbc395b3-image.png

        1 Reply Last reply Reply Quote 0
        • H
          Helga last edited by

          The problem gone when I added .qml to resources. Following picture shows it.8b4a4aa9-f48b-47de-99b6-1d6dcbc395b3-image.png

          1 Reply Last reply Reply Quote 0
          • E
            EndrII 0 last edited by

            cqtdeployer.exe doesn't work for me at all, it throws an error message about "entry point not found in Qt5Core.dll"
            

            Hi.
            Show me please log of cqtdeployer, most likely you made a mistake in the command, and I see that you are using qml but did not specify the path to your qml files.

            cqtdeployer -bin /absalut/path/to/WidgetsEditor.exe -qmake /path/to/my/qmake.exe -qmlDir /Path/to/myqmlFiles/Dir -recursiveDepth 3
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post