Skip to content

kroketio/qt5-widgets-cmake-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Sample Qt 5.15 (QtWidgets) CMake hello world

Sample QtWidgets application (+extras):

  • C++ 17, Qt5.15, CMake, CCache
  • Main and About window
  • Embedded Qt resource (QRC)
  • static utils class
  • Config directory + config file

See also:

Installation (Linux / Mac OS)

To build, run:

cmake -Bbuild .
make -Cbuild -j4

And if you have Qt installed in a custom directory, use this CMake command instead:

cmake -DCMAKE_PREFIX_PATH="/home/user/qt5.15/gcc_64" -Bbuild .

Which will produce the dynamically linked executable build/bin/hello

About

Sample Qt 5.15 QtWidgets CMake hello world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published