Skip to content

kroketio/qt5-widgets-qml-cmake-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Sample Qt 5.15 (QtWidgets + QML) CMake hello world

Sample QtWidgets application with embedded QML (+extras):

  • C++ 17, Qt5.15, CMake, CCache
  • QtWidgets & QtQuick
  • 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 QML (QtQuick) *and* QtWidgets CMake hello world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published