Skip to content

Commit fa60d06

Browse files
committed
Clean up old Qt setups. Add WIP Qt6.10.
1 parent 5f40527 commit fa60d06

13 files changed

+34
-826
lines changed

SerialPrograms/BuildInstructions/Build-Windows-Qt5.12.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

SerialPrograms/BuildInstructions/Build-Windows-Qt6.4.md renamed to SerialPrograms/BuildInstructions/Build-Windows-Qt6.10.0.md

Lines changed: 34 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,44 @@
1-
# How to Build (Qt 6.4) - Windows
2-
3-
***Note: Qt 6.4 is not recommended at this time due to a bug in their video pipeline that distorts colors.***
1+
# How to Build (Qt 6.10.0) - Windows
42

53
## Build Tools:
64

7-
1. Install Visual Studio 2019:
8-
1. [Download Page](https://docs.microsoft.com/en-us/visualstudio/releases/2019/release-notes)
5+
The installation order here is important. While other orderings may work, this is the specific order that we have tested. And the Qt installation must be the last thing installed.
6+
7+
1. Install Visual Studio 2022:
8+
1. [Download Page](https://docs.microsoft.com/en-us/visualstudio/releases/2022/release-notes)
99
2. Make sure you select the C++ development tools.
1010
2. Install Windows Development SDK:
1111
1. [Download Page](https://developer.microsoft.com/en-us/windows/downloads/windows-sdk/)
1212
3. Install CMake:
1313
1. [Download Page](https://cmake.org/download/)
1414
2. When prompted select, "Add CMake to the system PATH for all users".
1515

16-
## Install Qt 6.4:
16+
## Install Qt 6.10.0:
1717

1818
Unlike with Qt 5.12, there is no offline installer for it. So you have two options here, use the online installer, or use a copy of an installation.
1919

2020
### Official Online Installer:
2121

2222
If you are ok with creating an account with Qt and using their online installer, then use this method.
2323

24-
1. Download the online installer from here: https://www.qt.io/download-qt-installer
25-
2. Select the following options: ![](Images/Windows-Install-Qt6.4.0.png)
24+
1. Download the online installer from here: https://www.qt.io/download-qt-Images/
25+
3. Select the following options:
26+
- Qt 6.10.0
27+
- MSVC 2022 64-bit
28+
- Sources
29+
- Additional Libraries
30+
- Qt Image Formats
31+
- Qt Multimedia
32+
- Qt Serial Port
33+
- Qt Debug Information Files
34+
- Qt Creator
35+
- Qt Creator 17.0.2
36+
- CDB Debugger Support
37+
- Debugging Tools for Windows
38+
- Debug Symbols
39+
40+
![](Images/Windows-Install-Qt6.10.0-Custom.png)
41+
![](Images/Windows-Install-Qt6.10.0-Components.png)
2642

2743
If you repeatedly run into an error involving "SSL handshake failed", you will not be able to use the online installer. Please try the other option.
2844

@@ -31,32 +47,28 @@ If you repeatedly run into an error involving "SSL handshake failed", you will n
3147
If you are unable or unwilling to use the online installer, the alternative is to copy an installation directly into your system. To do this, you will need to download the installation from us, and copy it into your C drive.
3248

3349
1. Join our [Discord server](https://discord.gg/cQ4gWxN) and ask for the link to the Qt6 standalone. Someone will DM you with a link*.
34-
2. Download `Qt6.4.0.7z` and decompress it. You can use [7-zip](https://www.7-zip.org/) to decompress it. This will create a folder with the same name.
50+
2. Download `Qt6.10.0.7z` and decompress it. You can use [7-zip](https://www.7-zip.org/) to decompress it. This will create a folder with the same name.
3551
3. Move this folder to `C:\`. It will probably ask you for permissions to do it.
36-
4. Navigate to: `C:\Qt6.4.0\Tools\QtCreator\bin\` and create a shortcut to `qtcreator.exe`. Copy this shortcut to somewhere convenient. (By default this shortcut is named, `Qt Creator 8.0.1 (Community)`)
52+
4. Navigate to: `C:\Qt6.10.0\Tools\QtCreator\bin\` and create a shortcut to `qtcreator.exe`. Copy this shortcut to somewhere convenient. (By default this shortcut is named, `Qt Creator 17.0.2 (Community)`)
3753

3854
*This Qt6 standalone file is 3GB in size and is being hosted by our staff for our own developers. We don't want the entire world converging here and overrunning the server.
3955

4056
## Setup:
4157

4258
1. Clone this repo.
43-
2. Clone the [Packages Repo](https://github.com/PokemonAutomation/Packages).
44-
3. In the `Packages` repo, copy the `SerialPrograms/Resources` folder into the root of the `Arduino-Source` repo.
4559

46-
![](Images/Directory.png)
60+
TODO
61+
4762

48-
4. Open Qt Creator.
49-
5. Click on `Projects` -> `Open`.
50-
6. Navigate to [`SerialPrograms`](./) and select `CMakeLists.txt`.
51-
7. It will then ask you to configure the project. Select `Desktop Qt 6.4.0 MSVC2019 64bit`.
52-
8. At the bottom left corner, click on the little monitor and select `Release with Debug Information`.
53-
9. Open up the file `CMakeLists.txt`. Change `QT_MAJOR` to `6`.![](Images/QT_MAJOR-6.png)
54-
10. Click the upper green arrow to compile and launch the program.
5563

56-
![](Images/Windows-Configuration-Qt6.png)
64+
## Troubleshooting
5765

66+
TODO
5867

5968

69+
## Upgrading Qt components
70+
71+
TODO
6072

6173
<hr>
6274

@@ -65,3 +77,4 @@ If you are unable or unwilling to use the online installer, the alternative is t
6577

6678
[<img src="https://canary.discordapp.com/api/guilds/695809740428673034/widget.png?style=banner2">](https://discord.gg/cQ4gWxN)
6779

80+

SerialPrograms/BuildInstructions/Build-Windows-Qt6.3.2.md

Lines changed: 0 additions & 81 deletions
This file was deleted.

SerialPrograms/BuildInstructions/Build-Windows-Qt6.5.2.md

Lines changed: 0 additions & 73 deletions
This file was deleted.

0 commit comments

Comments
 (0)