Lab 5: Using Additional Libraries: The Qt Framework.
To save time, install Qt Creator before the lab. Alternatively, a virtual machine (6 GB) can be used.
- Materials
- Videos (2012, Estonian)
- English videos
- Juhised
- You can get the Qt SDK for your computer here (select Open Source).
- Installing Qt Creator on Windows
- Install the Developer and Design tools (Qt Creator, Qt Design Studio, CDB Debugger Support, MinGW) and the smallest possible Qt with the corresponding MinGW, such as Qt 6.0, by selecting only the version of MINGW that is appropriate for your operating system.
- Installing Qt Creator and MinGW (video).
- If everything is correct, you should be able to import and run the base project, and the (currently empty) program window you are about to build should appear (The menu should still be visible).
- If you forget to install a package, you can use the "MaintenanceTool.exe" package manager in the Qt folder to add and remove packages as needed.
- Qt Creator is available in the virtual machine (6 GB)
- Installing Qt Creator on Linux
sudo apt update
sudo apt upgrade
sudo apt install qtcreator
sudo apt install qt5-default
- Using the Qt SDK in a computer lab
- Qt Creator is installed in the computer labs
- Start from the terminal
qtcreator
- Start from the terminal
- Qt Creator is installed in the computer labs
- Configuring Qt Creator
- Check the putty settings
- Tools => Options => Kits => Desktop
- nt Compiler = MinGW 8.1.0 64-bit for C++
- nt Qt version = Qt 6.0.4 MinGW 64-bit
- If you have previously used another Qt Creator, clean the project (Clean)
- To run the program separately, copy the corresponding dlls to the same directory
- Check the putty settings