- Notifications
You must be signed in to change notification settings - Fork1
A demo integration of Felgo Hot Reload to an existing Qt project
License
FelgoSDK/FelgoHotReloadDemo
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
A demo integration of Felgo Hot Reload to an existing Qt project
To learn more about Felgo Hot Reload, have a look athttps://felgo.com/qml-hot-reload
This repository includes two commits:
- An initial commit with a Qt/QML project
- Acommit with the changes applied to add Felgo Hot Reload to the project
We recommend that you use Qt versions 5.15.2 or 6.5.3 with one of the kits:
gcc_64kit on Linuxmsvc2019_64kit on Windowsclang_64kit for Qt 5.15.2 ormacoskit for Qt 6.5.3 on macOS
You can install Felgo Hot Reload in two ways:
- Download the latest release package of this repositoryreleases page. This package contains:
- the Felgo Hot Reload GUI application for
- Linux
- Windows
- macOS
- the client libraries for the following build kits
- GNU/Linux
- Qt 5.15.2
gcc_64 - Qt 6.5.3
gcc_64
- Qt 5.15.2
- Windows
- Qt 5.15.2
msvc2019_64 - Qt 6.5.3
msvc2019_64
- Qt 5.15.2
- macOS
- Qt 5.15.2
clang_64 - Qt 6.5.3
macos
- Qt 5.15.2
- GNU/Linux
- the Felgo Hot Reload GUI application for
- Install with the official Felgo Hot Reload Installer, coming with a free evaluation (see below). Use this option if you are not using Qt 5.15.2 or Qt 6.5.3, the installer supports a large variety of development kits.
You need a valid license key, which you can obtain with afree evaluation here.
We recommend using CMakeLists.txt file to generate build files when using Qt 6 kits, and FelgoHotReloadDemo.pro file to generate build files when using Qt 5 kits.
Generating project files with CMake
Add theFELGO_HOT_RELOAD_PATH variable to the Projects - Build Settings - CMake Details and set it to the Felgo Hot Reload client libraries directory for your selected kit.Assuming you are using the repository release package on a Linux machine, the path is../client/6.5.3/gcc_64
Generating project files with qmake
Add theFELGO_HOT_RELOAD_PATH additional argument to the Projects - Build Settings - Build Steps Details and set it to the Felgo Hot Reload client libraries directory for your selected kit.Assuming you are using the repository release package on a Linux machine, the argument isFELGO_HOT_RELOAD_PATH=../client/5.15.2/gcc_64
Use your IDE build configuration features to set theFELGO_HOT_RELOAD_PATH variable before you generate the project files.Assuming you are using the release package on a Linux machine, the path is../client/6.5.3/gcc_64
Run CMake or qmake and build the application like any other.
CMake creates the requiredhot_reload_config.json file automatically. There's nothing you have to do.
Copy or renamehot_reload_config_qmake.json tohot_reload_config.json.
- Open the FelgoHotReload GUI application from the repository package or installation and select the
FelgoHotReloadDemofolder within the opening file dialog (your project directory). - Run your application and select the “Connect to Local” option. The project loads up.
- Edit the QML code of your application and see changes to the running applications.
About
A demo integration of Felgo Hot Reload to an existing Qt project
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.