Minimal project that integrate QaterialHotReload demo. The goal of this project is to demonstrate persistance of state (stored in C++) when hot reloading and the minimal step required to integrate Qaterial::HotReload in your project as an external dependency.
- HelloWorldCore in
lib
stores the state of the application. - HelloWorldUi in
qml
stores qml files in qrc. - HelloWorld in
app
is the final app. - HelloWorldHotReload in
app
in hold the state in C++, and can hot reload qml file.
#Configure
mkdir build && cd build
cmake ..
# Compile
cmake --build .
# Run App
./HelloWorld
# Run HotReload
./HelloWorldHotReload
Licensed under MIT.