-
Notifications
You must be signed in to change notification settings - Fork 0
Stack
You need cmake and make installed (and the development packages for Qt).
To build the project, just run make. The executable will be built somewhere in the build folder.
Developing C++ apps with GUI's is still difficult and lacking in documentation. Thankfully, there are some well-documented frameworks such as Qt which ease this process and make your projects portable.
Historically speaking, in 2010 I chose Qt over wxWidgets because wx was incredibly difficult to set up and was painful to use. Qt was similarly a challenge to set up, but once it was set up, it was easy to use.
Qt was also relicensed to LGPL, which enabled me to use the framework free of charge.
CMake is often paired with Qt, but for someone who knows only C++, learning another build system is a great chore and often a roadblock. I found the following repos helpful in understanding how to use CMake with Qt:
- More developed: https://github.com/giddie/qt-cmake-template
- Ultra minimal: https://github.com/jasondegraw/Qt-CMake-HelloWorld
-
#includecheatsheet http://osrf-distributions.s3.amazonaws.com/gazebo/api/dev/qt_8h.html
This project was built using Visual Studio 2008, and set up using the statically linked 32-bit libraries for Qt 4. The final Visual Studio 2008 codebase can be located using Git.
Nowadays, the build only runs on Linux w/ Qt5, but porting it back to Windows shouldn't be hard (few more lines in CMakeLists, referenced repos have good examples for Windows exes including icons).