You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: SerialPrograms/BuildInstructions/Build-Windows-Qt6.8.3.md
+26Lines changed: 26 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,6 +83,32 @@ If you are unable or unwilling to use the online installer, the alternative is t
83
83
- to: `Arduino-Source/build-SerialPrograms-Desktop_Qt_6_8_3_MSVC2022_64bit-RelWithDebInfo`
84
84
85
85
86
+
## Upgrading Qt components
87
+
88
+
### Installing newer Qt version
89
+
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).
90
+
91
+
- When prompted, in `Maintenance Actions`, choose `Add or remove components`.
92
+
- 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.
93
+
- Optional: In `Maintenance Actions`, you may also choose `Update components` as well. To update Qt Creator, and other components.
94
+
95
+
### Building with the newer Qt version
96
+
- Open the `SerialPrograms` project in Qt, as outlined in the "Setup" section above.
97
+
- In the toolbar, click `Edit` -> `Preferences`
98
+
- Under `Kits` tab, choose the newer Qt version (e.g. Desktop Qt 6.8.3)
99
+
<imgsrc="images/QT-kits.png">
100
+
101
+
- Under `Compiler`, set it to Microsoft Visual C++ Compiler, if not already set.
102
+
- Click `Ok`.
103
+
- Click the Monitor symbol at the bottom left
104
+
<imgsrc="images/QT-kit-build.png">
105
+
106
+
- Under `Kit`: choose the desired Qt version.
107
+
- Under `Build`: choose `Release with Debug Information`
108
+
- Click the green arrow to compile and launch the program.
109
+
- 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.
0 commit comments