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. Deploying qml application

Deploying qml application

Scheduled Pinned Locked Moved Solved QML and Qt Quick
deploying qml c
3 Posts 2 Posters 595 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.
  • H Offline
    H Offline
    Helga
    wrote on 1 Aug 2020, 16:20 last edited by
    #1

    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
    0
    • H Offline
      H Offline
      Helga
      wrote on 1 Aug 2020, 17:40 last edited by
      #2

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

      1 Reply Last reply
      0
      • E Offline
        E Offline
        EndrII 0
        wrote on 10 Oct 2020, 08:16 last edited by
        #3
        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
        0

        • Login

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