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
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,6 @@ If you have already have older versions of Qt installed, but need to upgrade Qt
99
99
<imgsrc="Images/QT-kits.png">
100
100
101
101
- Under `Compiler`, set it to Microsoft Visual C++ Compiler or Visual Studio, if not already set.
102
-
- If you recently installed new compilers, go to the `Compilers` tab, click `Re-dedect`, then click `Apply` in the bottom right. Back in the `Kits` tab, your newly installed compilers should now show up in the list of compilers.
103
102
- Click `Ok`, to save Kits preferences.
104
103
- Click the Monitor symbol at the bottom left
105
104
<imgsrc="Images/QT-kit-build.png">
@@ -109,6 +108,14 @@ If you have already have older versions of Qt installed, but need to upgrade Qt
109
108
- Click the green arrow to compile and launch the program.
110
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.
111
110
111
+
### Upgrade compiler
112
+
- Upgrade the compiler by installing a new version of Visual Studio. Ensure `Desktop development with C++` is checked, so the latest MSVC compiler is also installed.
113
+
- Open the `SerialPrograms` project in Qt, as outlined in the "Setup" section above.
114
+
- In the toolbar, click `Edit` -> `Preferences`
115
+
- Click the `Kits` tab on the left. Then click the `Compilers` tab, click `Re-detect` to refresh the list of compilers. Then click `Apply` in the bottom right.
116
+
- Back in the `Kits` tab, your newly installed compilers should now show up in the list of compilers.
117
+
118
+
When building, if you get the error `yvals_core.h:931: error: STL1001: Unexpected compiler version, expected MSVC 19.42 or newer` (or something similar), consider deleting the old build folder, and rebuilding from scratch.
0 commit comments