A cross platform qmake subdirs template for C++ desktop apps.
It's based on single libs (modules) with automated tests, coverage & deployment.
This is a C++ qmake project template with automated unit tests execution (uses catch). Tests are implemented in separated executables (subdirs) which get executed during compilation incrementally. Compilation fails if any test fails. This is the ideal precondition for test driven development. Deployable packages/installers are build by CI servers.
This is meant to be an easy extendable qmake subdirs example project.
Download latest development binary version:
- cuteproject-linux.x86_64.AppImage
- cuteproject.ubuntu14.04_amd64.deb
- cuteproject.ubuntu16.04_amd64.deb
- cuteproject.macOS-10.11.dmg
- cuteproject.windows_x86.zip
Feel free to reuse this as a starting point for your personal project.
To successfully build on debian based OS:
sudo apt-get install qt5-default qt5-qmake gdb
To successfully build on macOS:
brew update
brew install qt5
export PATH=$(brew --prefix)/opt/qt5/bin:$PATH
To successfully build on windows (install Qt & MSVC):
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
set PATH=%PATH%;C:\Qt\5.9\msvc2015\bin;C:\Qt\Tools\QtCreator\bin;
Note: Shall also work with other Qt or MSVC versions ..
qmake
make
Note: On windows use jom
instead of make
Development takes place on github while the repository is mirrored to gitlab for deployment ..
Pull requests are welcome - for contribution checkout issues.