๐งชBuilding from Source
Dev environment
Visual Studio Code
with rust-analyzer
extension.
For working with QML I recommend to use Qt Creator and load all QML files there, as it has auto-complete and syntax highlighting. The project also supports UI live reload, it's a super quick way of working with the UI. Just change live_reload = true
in gyroflow.rs
and it should work right away. Now every time you change any QML file, the app should reload it immediately.
Building steps
Prerequisites:
git
,7z
and workingpowershell
. If you never ran powershell scripts before, runset-executionpolicy remotesigned
in powershell as adminGet latest stable Rust language from: https://rustup.rs/
Please make sure to check the English language pack option when installing the C++ build tools from Visual Studio Installer
Install
Just
by runningcargo install --force just
Clone the repo:
git clone https://github.com/gyroflow/gyroflow.git
Enter the project directory and:
Install dependencies:
just install-deps
Compile and run:
just run
Profiling
Install and run
Visual Studio Community Edition
Compile and run Gyroflow with the
profile
profile:cargo run --profile profile
In Visual Studio, go to
Debug -> Performance Profiler...
Under
Target
, openChange Target
and selectRunning Process...
, select the runninggyroflow.exe
process
Last updated