Skip to content

kroketio/qt5-qml-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 QML CMake hello world

Sample QML application (+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 executable build/bin/qml_hello, which is dynamically linked.

About

Sample Qt 5.15 QML (QtQuick) CMake hello world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors