-
Notifications
You must be signed in to change notification settings - Fork 1
Qt Installation and Configuration
-
Go to qt.io/download and click on Go Open Source
-
Scroll down towards the bottom of the page and click on Download the Qt Online Installer
-
On the next page, click the Download button. This should download the Qt binaries.
-
Run the installed file (in Windows, this will be a .exe file). You should see a page like this:
-
Log into your Qt account or # if you don't have one. Click Next to continue.
-
Accept the obligations of using open source Qt, then check the option acknowledging that you are using Qt as an individual person. Click Next twice.
-
Choose whether to send usage statistics to the Qt company. Then click Next.
-
Choose the installation folder for the Qt Framework, then check the option to associate common files with Qt Creator. Click Next.
-
This project was built using Qt 5.13.3, so it will work for higher versions as well. For the purpose of this tutorial, select the MSVC 2017 64-bit component under Qt 5.13.3. This component will allow you to package the app for 64-bit computers running the Windows Operating System using Microsoft Visual C++ 2017. This app was mostly designed for the Windows OS but, using the Qt Framework the app can be packaged to run on other operating systems. If you wanted a version of the app to run on Android, for example, you would select one of the Android components.
-
Click Next until you get to the final installation page, then click Install. This will install the Qt Framework along with the Qt Creator IDE.
-
Finish the installation by launching Qt Creator. You should see something like this:
-
Install and configure Visual Studio Community 2017. This will allow you to get the Microsoft Visual C++ compiler, which will allow you to compile the application for 64-bit Windows systems.
-
In Qt Creator, you can view and modify Kits from Tool > Options > Kits. If not already selected, select the Microsoft Visual C++ Compiler 15.9.28307.1177 (x86_amd64) option for both C and C++ compiler. Click OK.
-
Go to File > Clone repository > URL. Copy and paste the URL of this repository.
-
Click on Initialize Git LFS when prompted.
-
You can now open the application in Qt Creator from File > Open File or Project.... Select the SprayerBOT.pro file.
-
The first time you open the project on your machine, you will be prompted to configure it with a kit, which you have already done in previous steps. Here, just click on the Configure Project button.
-
You can now run the application using the play button or
Ctrl+R
NOTE: To be able to play the videos install the K-Lite Codec Pack. There is no special configuration for this.