Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ SerialPrograms/bin/
.DS_Store

build-*/
build/

# Qt config file on a user basis
*.pro.user
Expand Down
26 changes: 26 additions & 0 deletions SerialPrograms/BuildInstructions/Build-Windows-Qt6.8.3.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,32 @@ If you are unable or unwilling to use the online installer, the alternative is t
- to: `Arduino-Source/build-SerialPrograms-Desktop_Qt_6_8_3_MSVC2022_64bit-RelWithDebInfo`


## Upgrading Qt components

### Installing newer Qt version
If you have already have older versions of Qt installed, but need to upgrade Qt components, you can use the Maintenance tool, which comes pre-instaled with Qt (C:\Qt\MaintenanceTool.exe).

- When prompted, in `Maintenance Actions`, choose `Add or remove components`.
- You may select the components needed, as per the instructions above, for the newer version. And de-select old versions to remove them, if you wish.
- Optional: In `Maintenance Actions`, you may also choose `Update components` as well. To update Qt Creator, and other components.

### Building with the newer Qt version
- Open the `SerialPrograms` project in Qt, as outlined in the "Setup" section above.
- In the toolbar, click `Edit` -> `Preferences`
- Under `Kits` tab, choose the newer Qt version (e.g. Desktop Qt 6.8.3)
<img src="images/QT-kits.png">

- Under `Compiler`, set it to Microsoft Visual C++ Compiler, if not already set.
- Click `Ok`.
- Click the Monitor symbol at the bottom left
<img src="images/QT-kit-build.png">

- Under `Kit`: choose the desired Qt version.
- Under `Build`: choose `Release with Debug Information`
- Click the green arrow to compile and launch the program.
- Optional: Move the `UserSettings` folder from the old build folder to the new build folder, to keep your old settings, such as the dev key.


<hr>

**Discord Server:**
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.