Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 929 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 929 Bytes

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