This article shows binarycreator deploy and create an offline installation script for a Qt application for Microsoft Windows.
This step will provide us with the binarycreator dynamic binarycreator DLLs that need to accompany the executable. This step needs to be performed regardless of whether we deploy the application with or without an installation script. This section shows how to prepare installation script for the release folder containing all the necessary DLLs.
To prepare the basic version of the installation script we are going to use an example provided by the Qt Installation Framework called startmenu. Firstly, we are going to configure the installer. In binarycreator next step, we are going to modify the installer package information file package.
If you do not see the application icon in the Start menu of MS Windowscheck that the line below appears in the. This problem has nothing to do with the binarycreator script. Deployment and installation of a Qt application in Microsoft Windows This article shows how deploy and create an offline installation script for a Qt application for Microsoft Windows. The basis for this article is a Youtube video tutorial by Duarte Corporation in Spanish. Deployment without installation Binarycreator step will provide us with the necessary dynamic libraries DLLs that need to accompany the executable.
Open your project in Qt Creator and compile it in the Release mode. Go to the release binarycreator and binarycreator everything except for the executable. In Binarycreator Creator right click on the. Go to the release folder with the command cd release. Run the win deployment tool, this binarycreator be binarycreator similar to: Try to run the executable directly from the release folder, make sure it does not complain about any missing libraries. Installation script This section shows how to binarycreator installation script for the release folder containing all the necessary DLLs.
Installing Qt Binarycreator Framework Go to the following binarycreator If the installation was successful, you should find an executable binarycreator. Click on binarycreator tab Documentation. Add the binarycreator file: Configuring the installer via config. Binarycreator to the folder C: The images below show how our input appears in the installer.
Move all the contents from your project release folder into this data folder. Paste the following line into the command prompt: Executable of the installer should now binarycreator in the startmenu project folder. Try to run the installer. After successful installation you should find the application shortcut in binarycreator start menu of Windows.
Binarycreator should also find the executable and dlls in binarycreator folder where you binarycreator the application.