Closed AlbertoCasasOrtiz closed 3 years ago
Deployment instructions:
Copy generated binaries to a separated folder.
Execute windeployqt, indicating the qml directory. The qml directory is the directory containing the first qrc file.
path\to\windeplotqt.exe \path\to\generated\binary.exe --qmldir=\path\to\qml\dir
C:\Qt\5.15.1\msvc2019_64\bin\windeplotqt.exe C:\Qt\5.15.1\msvc2019_64\bin\deploy\wfes-ui.exe --qmldir=C:\Workspaces\Qt\wfes-gui\wfes-ui
libiomp5md.dll
mkl_avx.dll
mkl_avx2.dll
mkl_core.dll
mkl_intel_thread.dll
mkl_mvl_avx.dll
mkl_mvl_avx2.dll
wfes-ui.exe > output.txt
Installer instructions:
"AppInstaller"/config/config.xml
"AppInstaller"/packages/com.vendor.appname/data/"All deployment files here"
"AppInstaller"/packages/com.vendor.appname/meta/license.txt
"AppInstaller"/packages/com.vendor.appname/meta/package.xml
"AppInstaller"/packages/com.vendor.appname/meta/"Optional ui files and installation script"
2. Modify config.xml and package.xml files. change vendor and AppName in package folder.
3. Open a command prompt, change directory to the root of the created directory structure, and execute Qt binarycreator.exe. The last element is the name of the installer.
`C:\Qt\Tools\QtInstallerFramework\3.2\bin\binarycreator.exe --offline-only -c config\config.xml -p packages "wfes-gui installer"`
4. Now, the application can be installed in any Windows device.
The installer is currently working in Windows. It has been tested in a computer that has never had Qt installed.
The only problem is that it says that the supplier is unknown, so windows shows a warning before proceeding with the installation.
The installed application its working perfectly.
Deploy the application for Windows.