Institute of Computer Science
  1. Courses
  2. 2022/23 spring
  3. Programming in C++ (LTAT.03.025)
ET
Log in

Programming in C++ 2022/23 spring

  • Pealeht
  • 1. Muutujad ja andmetüübid
  • 2. Keele põhikonstruktsioonid I
  • 3. Keele põhikonstruktsioonid II
  • 4. Funktsioonimallid, failitöötlus
  • 5. OOP I Klassid
  • 6. OOP II Pärilus ja polümorfism
  • 7. Kontrolltöö 1?

Seitsmendal nädalal toimub 1. kontrolltöö

7.1 1. kontrolltöö näide?
  • 9. Dünaamiline mäluhaldus II
  • 10. Klassimallid
  • 11. STL andmestruktuurid I
  • 12. STL andmestruktuurid II
  • 13. Erindite töötlemine
  • 14. Täiendavad teemad
  • 15. Kontrolltöö 2?

Viieteistkümnendal nädalal toimub 2. kontrolltöö

15.1 2. kontrolltöö näide?
  • 16. Projekti esitlus?
  • Viiteid
  • Home
  • Labs
    • Submission of solutions
    • Results
  • Examination times
  • Guides
  • References

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
    • Tasks
    • Base program: (zip)
  • Videos (2012, Estonian)
    • Mis on Qt?
    • Koduülesannete tutvustus
    • Alusprogramm ja peaaken (MainWindow)
    • Rakendusele menüü lisamine
    • Hiirevajutustele reageerimine ja joonistamine
    • Rakenduse olek. Signaalid ja pesad (Signal & Slot)
  • English videos
    • Qt fundamentals
  • Juhised
    • See these for instructions on compiling, formatting, and VSCode
  • 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
  • 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
  • Institute of Computer Science
  • Faculty of Science and Technology
  • University of Tartu
In case of technical problems or questions write to:

Contact the course organizers with the organizational and course content questions.
The proprietary copyrights of educational materials belong to the University of Tartu. The use of educational materials is permitted for the purposes and under the conditions provided for in the copyright law for the free use of a work. When using educational materials, the user is obligated to give credit to the author of the educational materials.
The use of educational materials for other purposes is allowed only with the prior written consent of the University of Tartu.
Terms of use for the Courses environment