Project packaging release issues
-
Use the qml+ c++ mode, cmake to build the project, after the final packaging of the project is completed, double-click the exe file flash back, cmd running did not report an error! Use the windeployqt6 --release F:\Qt_project\untitled4\as\as.exe command; There are no gods who have encountered similar problems

-
Hi,
Since you are using QtQuick, you should also point windeployqt6 to your qml sources so it can deploy their corresponding dependencies.
-
Hi,
Since you are using QtQuick, you should also point windeployqt6 to your qml sources so it can deploy their corresponding dependencies.
This post is deleted! -
Hi,
Since you are using QtQuick, you should also point windeployqt6 to your qml sources so it can deploy their corresponding dependencies.
This post is deleted! -
Hi,
Since you are using QtQuick, you should also point windeployqt6 to your qml sources so it can deploy their corresponding dependencies.
@SGaist I use "windeployqt F:\Qt_project\untitled3\Analyse\Analyse.exe --qmldir D:\QT\6.8.0\llvm-mingw_64\qml" after running this command, double-click the exe file or flash back, In order to prevent the introduction of dll files, I will "D:\QT\6.8.0\llvm-mingw_64\bin" under all the files are put in, or flash back; Please help me with it
-
@SGaist I use "windeployqt F:\Qt_project\untitled3\Analyse\Analyse.exe --qmldir D:\QT\6.8.0\llvm-mingw_64\qml" after running this command, double-click the exe file or flash back, In order to prevent the introduction of dll files, I will "D:\QT\6.8.0\llvm-mingw_64\bin" under all the files are put in, or flash back; Please help me with it
@huangzilan said in Project packaging release issues:
--qmldir D:\QT\6.8.0\llvm-mingw_64\qml"
You need to provide the path to the QML content of your project...
-
@huangzilan said in Project packaging release issues:
--qmldir D:\QT\6.8.0\llvm-mingw_64\qml"
You need to provide the path to the QML content of your project...
This post is deleted! -
This post is deleted!
@huangzilan said in Project packaging release issues:
@jsulm When I use "F:\Qt_project\untitled3\ Analyse\Analyse.exe" --qmldir "F:\Qt_project\untitled3\content", the cmd output is as follows:

I have copied the "qwindows.dll" file to the folder -
@huangzilan said in Project packaging release issues:
@jsulm When I use "F:\Qt_project\untitled3\ Analyse\Analyse.exe" --qmldir "F:\Qt_project\untitled3\content", the cmd output is as follows:

I have copied the "qwindows.dll" file to the folder@huangzilan What is your actual executable name? In one example it is
F:\Qt_project\untitled4\as\as.exeand in anotherF:\Qt_project\untitled3\Analyse\Analyse.exe.It clearly worked better with the first.
-
@huangzilan What is your actual executable name? In one example it is
F:\Qt_project\untitled4\as\as.exeand in anotherF:\Qt_project\untitled3\Analyse\Analyse.exe.It clearly worked better with the first.
@ChrisW67 These are two projects, and I had the same problem when I tried to package both projects