Skip to content

jgoossen851/cpp-qt-gui-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

C++ Qt GUI Template

Source

Initial template Qt project copied from https://www.linux.org/threads/c-tutorial-create-qt-applications-without-qtcreator.18409/.

Dependencies

  • g++
  • make
  • qmake
  • qtdeclarative5-dev

Build Procedure

To initialize (only necessary once):

mkdir -p build
qmake -project -o build/cpp-qt-gui-template.pro
sed -i '/^INCLUDEPATH.*/a \\nQT += widgets' build/cpp-qt-gui-template.pro

To build:

qmake -o build/Makefile cpp-qt-gui-template.pro
make --directory=build

To run:

./build/cpp-qt-gui-template

To clean:

make --directory=build distclean

About

A simple template for a C++ Qt GUI program

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published