wyrover / cuteproject

C++ qmake/qt5 subdirs template project - using libs, apps, automated tests & deployments

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cute Project

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.

Build Status codecov build status coverage report Build status GitHub license

Download latest development binary version:

Feel free to reuse this as a starting point for your personal project.

Build Dependencies

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 ..

Build Instructions

qmake
make

Note: On windows use jom instead of make

Development

Development takes place on github while the repository is mirrored to gitlab for deployment ..

Pull requests are welcome - for contribution checkout issues.

About

C++ qmake/qt5 subdirs template project - using libs, apps, automated tests & deployments

License:MIT License


Languages

Language:Shell 47.8%Language:QMake 32.4%Language:C++ 18.1%Language:Makefile 1.6%