My executable does not run
-
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:
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.