.exe file is not opening
-
@Vijaykarthikeyan Did it work ? If so, please mark the this as solved.
@johngod I'm using 5.15.2 version. I've added --no-compiler-runtime at the end..
My command is like this one: C:\Qt\5.15.2\msvc2019_64\bin>windeployqt.exe --qmldir C:\Users\hp\build-incline2-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\exe --no-compiler-runtime
the bit versions are correct and correct directory..
but it is not importing any libraries in that exe folder..still get 4 error messages..Please help me to sort it out.
-
@johngod I'm using 5.15.2 version. I've added --no-compiler-runtime at the end..
My command is like this one: C:\Qt\5.15.2\msvc2019_64\bin>windeployqt.exe --qmldir C:\Users\hp\build-incline2-Desktop_Qt_5_15_2_MSVC2019_64bit-Release\exe --no-compiler-runtime
the bit versions are correct and correct directory..
but it is not importing any libraries in that exe folder..still get 4 error messages..Please help me to sort it out.
@Vijaykarthikeyan said in .exe file is not opening:
--qmldir
This should point to your QML files in the project folder, not in build folder as far as I know. And you're also missing path to the exe file when calling windeployqt.exe.
-
@Vijaykarthikeyan said in .exe file is not opening:
--qmldir
This should point to your QML files in the project folder, not in build folder as far as I know. And you're also missing path to the exe file when calling windeployqt.exe.
-
-
@Vijaykarthikeyan Did it work ? If so, please mark the this as solved.
@johngod Yes,it is working..you have solved my 2 months problem..thank you soooo much
-
@Vijaykarthikeyan said in .exe file is not opening:
--qmldir
This should point to your QML files in the project folder, not in build folder as far as I know. And you're also missing path to the exe file when calling windeployqt.exe.
@jsulm So, the correct template should be look like this:
<qt-binary-folder>windeployqt.exe --qmldir <path-to-project-file> <path-to-Qt-build-folder>
-
@Vijaykarthikeyan than you're most certainly missing the QML part during windeployqt call:
--qmldir <directory>
with <directory> being the full path to your main QML folder, as in where your main.qml is
otherwise how should the tool know what from QML you used in your application
@J-Hilk Thank you
-