The purpose of this project is to provide a template for projects which use a homebuilt c++ static library with a gui in a desktop application.
BUILD INSTRUCTIONS: Windows:
- In root directory, run cmake .
- msbuild Lib.sln
- Navigate to ui directory
- Run uic -o ui_mainwindow.h mainwindow.ui
- Run qmake -project
- Edit the .pro file to add: QT += core gui widgets
- Run qmake ui.pro
- Run nmake release
Linux:
- In the root directory, run cmake .
- make
- Navigate to the ui directory
- Run uic -o ui_mainwindow.h mainwindow.ui
- Run qmake -project
- Edit the .pro file to add: QT += core gui widgets
- Run qmake ui.pro
- Run make