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. My executable does not run
Qt 6.11 is out! See what's new in the release blog

My executable does not run

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 311 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
    hardwaredeveloper
    wrote on last edited by
    #1

    Hello! I am trying to implement a simple application in QML and C++. I have already developed it and it runs fine in Qt Creator. But I have a problem when I try to generate the package to run on any computer. I have already implemented windeployqt.exe and it generated all the .dll files and the respective dependencies. However, when I try to run the .exe application it does not run and it does not generate a window either. It does nothing. I do not understand what could be happening.

    The command I am using is this one:

    C:\Qt\6.8.1\mingw_64\bin\windeployqt.exe --qmldir C:\My_Project --dir C:\MyProject\exec C:\MyProject\build\Desktop_Qt_6_8_1_MinGW_64_bit-Release\myapp.exe
    

    In the destination location --dir there is also myapp.exe but it is not executed.

    In the --qmldir direction I put the project and internally it is like this:
    fc10c90b-2a2c-4abe-bbd0-3dbb3f824b66-image.png
    Although I only use Main.qml.

    Could you please help me. I don't know what else to do or what I'm missing because it doesn't generate any errors.

    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