1. Что установить перед сборкой
Что будет сделано на этой странице: вы установите на компьютер с Windows (64-разрядной) все программы, нужные для сборки Qt6-версии TMC Suite 5.0, поставите галочки в нужных местах установщиков и проверите каждую программу командой.
Эта инструкция — для Qt6-версии 5.0 (программы
planarrt_h.exe,planarrt_x.exe,tmcgrout.exe,tmcros.exe,tmc_dn.exe,fieldview.exe,TplDesigner.exe). Для MFC-версии 1.3 см. отдельную инструкцию: Сборка MFC-версии.
1.0. Порядок работ по всей инструкции
Выполняйте страницы строго в этом порядке:
| Шаг | Страница | Что делаете |
|---|---|---|
| 1 | 01 — Что установить (эта страница) | ставите программы |
| 2 | 02 — Исходники | распаковываете исходный код в нужные папки |
| 3 | 04 — OpenCASCADE и TPL Designer, разделы 4.1–4.4 | один раз собираете библиотеку OpenCASCADE |
| 4 | 03 — Сборка | собираете все программы пакета одной командой |
| 5 | 04 — OpenCASCADE и TPL Designer, разделы 4.5–4.7 | проверяете TPL Designer |
| 6 | 05 — Поставка | собираете папку со всеми программами и DLL |
| 7 | 06 — Установщик | собираете TMC_Suite_5.0_Qt6_Setup.exe |
| 8 | 07 — Проверка | запускаете программы и пробный расчёт |
| — | 08 — Ошибки и решения | открываете, если что-то пошло не так |
OpenCASCADE (шаг 3) собирается раньше программ пакета: без него сборка останавливается с ошибкой (TPL Designer обязательно читает модели STEP через OpenCASCADE).
1.1. Список программ
Версии в столбце «Проверено» — те, с которыми пакет реально собран на машине разработки 29.10.2026 (проверено командами, см. раздел 1.8).
| Программа | Проверено | Обязательна? | Зачем нужна |
|---|---|---|---|
| Git for Windows (с Git Bash) | 2.42.0 | да | окно Git Bash, в котором запускаются сценарии сборки *.sh; загрузка исходников OpenCASCADE |
| Qt (сборка «MinGW 13.1.0 64-bit») | 6.11.3 | да | библиотеки интерфейса Qt и программа windeployqt |
| Модуль Qt Shader Tools | 6.11.3 | да | без него не собирается FieldView |
MinGW (компилятор g++) |
13.1.0, 64-bit | да | компилирует весь код |
| CMake | 3.30.5 (нужна не ниже 3.22) | да | настройка сборки |
| Ninja | 1.12.1 | да | сама сборка |
| Python 3 | 3.11.6 | да | очистка образцов при сборке поставки (sanitize_samples.py) и другие служебные сценарии |
| OpenCASCADE (OCCT) | 7.9.3 | да | импорт 3D-моделей STEP в TPL Designer; собирается из исходников (страница 4) |
| Inno Setup | 6.7.3 (нужна не ниже 6.7) | только для установщика | сборка TMC_Suite_5.0_Qt6_Setup.exe |
Модуль Python markdown + Microsoft Edge |
3.10.2 | нет | только чтобы заново собрать PDF руководства пользователя (страница 5) |
Не нужны: Visual Studio, набор разработки OpenCL (SDK), видеокарта. Заголовки OpenCL
уже лежат в исходниках (src\Include\CL\), а библиотеку OpenCL.dll программа
берёт из драйвера видеокарты только во время расчёта на видеокарте.
Qt 6 выпускается только для 64-разрядной Windows. Qt6-версия пакета собирается только под x64.
1.2. Git for Windows
- Откройте в браузере официальный сайт: https://git-scm.com/download/win.
- Скачайте 64-bit Git for Windows Setup и запустите скачанный файл.
- Во всех окнах установщика оставьте настройки по умолчанию и нажимайте Next, в конце — Install, затем Finish.
-
Проверка: нажмите Пуск, наберите
Git Bashи откройте программу Git Bash. В появившемся окне наберите команду и нажмите Enter:git --versionДолжна появиться строка вида
git version 2.42.0.windows.2(номер может быть больше).

Как в Git Bash записываются пути Windows
Все сценарии сборки запускаются в Git Bash. В нём пути пишутся прямыми косыми чертами, а буква диска — маленькой после косой черты:
| В Проводнике Windows | В Git Bash |
|---|---|
C:\Qt\6.11.3\mingw_64 |
/c/Qt/6.11.3/mingw_64 |
C:\src\TMC_Suite |
/c/src/TMC_Suite |
D:\My Work\TMC_Suite |
"/d/My Work/TMC_Suite" |
Если в пути есть пробел (как в My Work), путь обязательно берётся в двойные
кавычки.
Вставить скопированную команду в окно Git Bash: щелчок правой кнопкой мыши → Paste (или клавиши Shift+Insert).
1.3. Qt 6.11.3, MinGW 13.1, CMake и Ninja
Какие модули Qt нужны (по файлам CMake проекта)
| Модуль Qt | Где требуется (find_package(Qt6 … COMPONENTS …)) |
В каком компоненте установщика |
|---|---|---|
| Core, Gui, Widgets, OpenGLWidgets, PrintSupport | корневой CMakeLists.txt — все программы |
MinGW 13.1.0 64-bit |
| Svg | src\gui_common\CMakeLists.txt, FieldView |
MinGW 13.1.0 64-bit |
| Concurrent | src\gui_common\compute\CMakeLists.txt (окно расчёта на видеокарте) |
MinGW 13.1.0 64-bit |
| GuiPrivate | src\fieldview\CMakeLists.txt (вывод через Qt RHI) |
MinGW 13.1.0 64-bit |
| ShaderTools | src\fieldview\CMakeLists.txt (шейдеры FieldView) |
Qt Shader Tools — отдельный пункт |
| OpenGL | src\tpl_designer\CMakeLists.txt |
MinGW 13.1.0 64-bit |
| Test | src\tpl_designer\tests\CMakeLists.txt |
MinGW 13.1.0 64-bit |
windeployqt, перевод qtbase_ru.qm |
build\package_win.sh |
MinGW 13.1.0 64-bit |
Итого в установщике Qt нужно отметить два пункта в группе Qt 6.11.3 («MinGW 13.1.0 64-bit» и «Qt Shader Tools») и три инструмента («MinGW 13.1.0 64-bit», «CMake», «Ninja»).
Вариант А (основной) — официальный онлайн-установщик Qt
- Откройте https://www.qt.io/download-qt-installer-oss и скачайте установщик для
Windows (файл вида
qt-online-installer-windows-x64-….exe). - Запустите его. Для входа нужна бесплатная учётная запись Qt (Qt Account). Если её нет — нажмите в окне установщика ссылку регистрации и создайте её (нужна электронная почта).
- На странице об обязательствах открытой лицензии отметьте галочки согласия и нажмите Next.
-
На странице выбора папки (Installation Folder):
- в поле папки должно быть ровно
C:\Qt— этот путь записан в сценариях сборки; - выберите Custom installation (выборочная установка);
- нажмите Next.
- в поле папки должно быть ровно
-
На странице выбора компонентов (Select Components):
- Раскройте Qt → Qt 6.11.3 (щелчок по треугольнику слева от названия).
- Отметьте MinGW 13.1.0 64-bit.
- Отметьте Qt Shader Tools. В разных версиях установщика этот пункт стоит либо прямо в группе Qt 6.11.3, либо внутри её подгруппы Additional Libraries — раскройте её, если пункта не видно сразу.
- Раскройте группу Build Tools (в старых версиях установщика она называется Developer and Designer Tools) и отметьте: MinGW 13.1.0 64-bit, CMake, Ninja.
- Остальное отмечать не нужно. Qt Creator установщик ставит всегда; для сборки пакета он не нужен, но и не мешает.
Если версии Qt 6.11.3 в списке нет, отметьте справа от списка флажок Archive и нажмите Filter — в списке появятся прежние выпуски.
-
Нажмите Next, на странице лицензий отметьте согласие, затем Next → Install. Дождитесь окончания установки и нажмите Finish (или Done).
После установки должны появиться папки:
| Папка | Что в ней |
|---|---|
C:\Qt\6.11.3\mingw_64 |
Qt 6.11.3 для MinGW |
C:\Qt\Tools\mingw1310_64 |
компилятор MinGW 13.1.0 |
C:\Qt\Tools\CMake_64 |
CMake |
C:\Qt\Tools\Ninja |
Ninja |
C:\Qt\Licenses |
тексты лицензий Qt (нужны только при пересборке текстов лицензий, страница 5) |
Номер версии CMake и Ninja, который предложит установщик, может быть новее проверенных (3.30.5 и 1.12.1). Пакету нужна CMake не ниже 3.22 (строка
cmake_minimum_requiredв корневомCMakeLists.txt). Важно только, чтобы папки называлисьCMake_64иNinjaвнутриC:\Qt\Tools— эти пути записаны в сценарии.
1.4. Python 3
- Откройте https://www.python.org/downloads/windows/ и скачайте Windows installer (64-bit) версии 3.11 или новее (проверено на 3.11.6).
- Запустите установщик. На первом окне внизу отметьте галочку «Add python.exe to PATH» (добавить Python в PATH) и нажмите Install Now.
-
Проверка — в новом окне Git Bash:
python --versionОжидается
Python 3.11.6(или новее).
Сценариям сборки и поставки сторонние модули Python не нужны. Модуль markdown нужен
только для пересборки PDF руководства пользователя (только для разработчиков пакета):
python -m pip install markdown
1.5. Inno Setup 6.7
Нужен только для сборки установщика (страница 6).
- Откройте https://jrsoftware.org/isdl.php и скачайте установщик Inno Setup 6.7.x (проверено на 6.7.3).
- Запустите его. В вопросе о режиме установки выберите Install for me only
(только для меня) — тогда программа встанет в папку
C:\Users\<ваше имя>\AppData\Local\Programs\Inno Setup 6\, то есть%LOCALAPPDATA%\Programs\Inno Setup 6\. Именно эта папка используется в командах страницы 6. - Остальные настройки оставьте по умолчанию.
Другой способ (так поставлено на машине разработки) — команда в окне Командная строка:
winget install JRSoftware.InnoSetup
Проверка — в окне Командная строка (Пуск → наберите cmd → Enter):
"%LOCALAPPDATA%\Programs\Inno Setup 6\ISCC.exe"
Должны появиться строки Inno Setup 6 Command-Line Compiler и подсказка Usage: iscc
[options] scriptfile.iss. Номер версии этой командой не выводится; его показывает окно
Пуск → Inno Setup Compiler → Help → About Inno Setup. Нужна версия 6.7 или новее:
сценарий установщика использует тёмное оформление мастера (WizardStyle=modern dark).
Если вы установили Inno Setup «для всех пользователей», он окажется в
C:\Program Files (x86)\Inno Setup 6\— тогда в командах страницы 6 замените путь кISCC.exeна этот.
1.6. 7-Zip (по желанию)
Нужен только для варианта Б раздела 1.3. Скачайте с https://www.7-zip.org/ 64-разрядную
версию и установите в папку по умолчанию C:\Program Files\7-Zip\.
1.7. Место на диске
Замерено на машине разработки (29.10.2026):
| Что | Объём |
|---|---|
| Qt 6.11.3, только нужные модули (вариант Б) | ≈ 263 МБ |
| Qt, полный комплект «MinGW 13.1.0 64-bit» из онлайн-установщика (замер по 6.11.1) | ≈ 1,5 ГБ |
MinGW 13.1.0 (C:\Qt\Tools\mingw1310_64) |
≈ 660 МБ |
| CMake / Ninja | ≈ 128 МБ / < 1 МБ |
Исходники OpenCASCADE 7.9.3 (occt\src) |
≈ 314 МБ |
Папка сборки OpenCASCADE (occt\build) |
≈ 377 МБ |
Установленный OpenCASCADE (occt\install) |
≈ 196 МБ |
Папка сборки пакета (build\obj) |
≈ 263 МБ |
Папка поставки (dist\TMC_Suite_Qt6_win64) |
≈ 188 МБ |
Установщик TMC_Suite_5.0_Qt6_Setup.exe |
≈ 60 МБ |
Закладывайте не меньше 5 ГБ свободного места.
1.8. Проверка всех программ одной командой
Откройте Git Bash и вставьте целиком (первая строка временно, только для этого окна,
добавляет программы из C:\Qt в список путей поиска PATH):
export PATH="/c/Qt/Tools/mingw1310_64/bin:/c/Qt/6.11.3/mingw_64/bin:/c/Qt/Tools/CMake_64/bin:/c/Qt/Tools/Ninja:$PATH"
git --version
g++ --version
cmake --version
ninja --version
windeployqt --version
python --version
ls /c/Qt/6.11.3/mingw_64/lib/cmake | grep -E "^Qt6(ShaderTools|Svg|Concurrent|OpenGLWidgets|PrintSupport|Test)/?$"
ls /c/Qt/6.11.3/mingw_64/plugins/platforms/qwindows.dll
Ожидаемый результат (так выглядит вывод на машине разработки):
| Команда | Ожидается |
|---|---|
git --version |
git version 2.42.0.windows.2 или новее |
g++ --version |
первая строка g++.exe (x86_64-posix-seh-rev1, Built by MinGW-Builds project) 13.1.0 |
cmake --version |
cmake version 3.30.5 (или новее, не ниже 3.22) |
ninja --version |
1.12.1 (или новее) |
windeployqt --version |
6.11.3 |
python --version |
Python 3.11.6 (или новее) |
ls … \| grep … |
шесть строк: Qt6Concurrent, Qt6OpenGLWidgets, Qt6PrintSupport, Qt6ShaderTools, Qt6Svg, Qt6Test (в окне Git Bash — с косой чертой в конце: Qt6Concurrent/ и т. д.) |
ls …/qwindows.dll |
путь к файлу без сообщения об ошибке |
Если g++ выводит версию, отличную от 13.1.0, или windeployqt — не 6.11.3,
проверьте папки из раздела 1.3. Чужие копии MinGW (например, из MSYS2) для этого пакета не
подходят: Qt 6.11.3 собран именно MinGW 13.1.0.
Если строки Qt6ShaderTools нет — не установлен пункт Qt Shader Tools (раздел 1.3,
шаг 5.3): запустите C:\Qt\MaintenanceTool.exe, выберите Add or remove components и
отметьте его.

1. What to install before building
What this page covers: you will install on a (64-bit) Windows computer all the programs needed to build the Qt6 version of TMC Suite 5.0, tick the right options in their installers and check each program with a command.
This guide is for the Qt6 version 5.0 (programs
planarrt_h.exe,planarrt_x.exe,tmcgrout.exe,tmcros.exe,tmc_dn.exe,fieldview.exe,TplDesigner.exe). For the MFC version 1.3, see the separate guide: Building the MFC version.
1.0. Order of work for the whole guide
Follow the pages strictly in this order:
| Step | Page | What you do |
|---|---|---|
| 1 | 01 — What to install (this page) | install the programs |
| 2 | 02 — Sources | unpack the source code into the right folders |
| 3 | 04 — OpenCASCADE and TPL Designer, sections 4.1–4.4 | build the OpenCASCADE library once |
| 4 | 03 — Build | build all programs of the package with one command |
| 5 | 04 — OpenCASCADE and TPL Designer, sections 4.5–4.7 | check TPL Designer |
| 6 | 05 — Distribution | assemble the folder with all programs and DLLs |
| 7 | 06 — Installer | build TMC_Suite_5.0_Qt6_Setup.exe |
| 8 | 07 — Check | launch the programs and run a trial computation |
| — | 08 — Errors and solutions | open it if something goes wrong |
OpenCASCADE (step 3) is built before the programs of the package: without it the build stops with an error (TPL Designer always reads STEP models through OpenCASCADE).
1.1. List of programs
The versions in the "Verified" column are the ones with which the package was actually built on the development machine on 29 October 2026 (verified by commands, see section 1.8).
| Program | Verified | Required? | Why it is needed |
|---|---|---|---|
| Git for Windows (with Git Bash) | 2.42.0 | yes | the Git Bash window in which the *.sh build scripts are run; downloading the OpenCASCADE sources |
| Qt (the "MinGW 13.1.0 64-bit" build) | 6.11.3 | yes | the Qt user-interface libraries and the windeployqt program |
| Qt Shader Tools module | 6.11.3 | yes | FieldView does not build without it |
MinGW (the g++ compiler) |
13.1.0, 64-bit | yes | compiles all the code |
| CMake | 3.30.5 (at least 3.22 required) | yes | build configuration |
| Ninja | 1.12.1 | yes | the build itself |
| Python 3 | 3.11.6 | yes | cleaning the samples when the distribution is assembled (sanitize_samples.py) and other helper scripts |
| OpenCASCADE (OCCT) | 7.9.3 | yes | import of STEP 3D models in TPL Designer; built from sources (page 4) |
| Inno Setup | 6.7.3 (at least 6.7 required) | only for the installer | building TMC_Suite_5.0_Qt6_Setup.exe |
Python module markdown + Microsoft Edge |
3.10.2 | no | only to rebuild the PDF of the user manual (page 5) |
Not needed: Visual Studio, the OpenCL development kit (SDK), a graphics card. The OpenCL
headers are already in the sources (src\Include\CL\), and the program takes the
OpenCL.dll library from the graphics card driver only during GPU computing.
Qt 6 is released only for 64-bit Windows. The Qt6 version of the package is built only for x64.
1.2. Git for Windows
- Open the official website in a browser: https://git-scm.com/download/win.
- Download 64-bit Git for Windows Setup and run the downloaded file.
- In all installer windows keep the default settings and click Next, at the end — Install, then Finish.
-
Check: click Start, type
Git Bashand open the Git Bash program. In the window that appears, type the command and press Enter:git --versionA line like
git version 2.42.0.windows.2should appear (the number may be higher).

How Windows paths are written in Git Bash
All build scripts are run in Git Bash. In it, paths are written with forward slashes, and the drive letter is lowercase after a slash:
| In Windows File Explorer | In Git Bash |
|---|---|
C:\Qt\6.11.3\mingw_64 |
/c/Qt/6.11.3/mingw_64 |
C:\src\TMC_Suite |
/c/src/TMC_Suite |
D:\My Work\TMC_Suite |
"/d/My Work/TMC_Suite" |
If a path contains a space (as in My Work), the path must be enclosed in double
quotes.
To paste a copied command into the Git Bash window: right-click → Paste (or press Shift+Insert).
1.3. Qt 6.11.3, MinGW 13.1, CMake and Ninja
Which Qt modules are needed (according to the project's CMake files)
| Qt module | Where it is required (find_package(Qt6 … COMPONENTS …)) |
Which installer component |
|---|---|---|
| Core, Gui, Widgets, OpenGLWidgets, PrintSupport | root CMakeLists.txt — all programs |
MinGW 13.1.0 64-bit |
| Svg | src\gui_common\CMakeLists.txt, FieldView |
MinGW 13.1.0 64-bit |
| Concurrent | src\gui_common\compute\CMakeLists.txt (the GPU computing window) |
MinGW 13.1.0 64-bit |
| GuiPrivate | src\fieldview\CMakeLists.txt (rendering via Qt RHI) |
MinGW 13.1.0 64-bit |
| ShaderTools | src\fieldview\CMakeLists.txt (FieldView shaders) |
Qt Shader Tools — a separate item |
| OpenGL | src\tpl_designer\CMakeLists.txt |
MinGW 13.1.0 64-bit |
| Test | src\tpl_designer\tests\CMakeLists.txt |
MinGW 13.1.0 64-bit |
windeployqt, the qtbase_ru.qm translation |
build\package_win.sh |
MinGW 13.1.0 64-bit |
In total, in the Qt installer you need to tick two items in the Qt 6.11.3 group ("MinGW 13.1.0 64-bit" and "Qt Shader Tools") and three tools ("MinGW 13.1.0 64-bit", "CMake", "Ninja").
Option A (main) — the official Qt online installer
- Open https://www.qt.io/download-qt-installer-oss and download the installer for
Windows (a file like
qt-online-installer-windows-x64-….exe). - Run it. To sign in you need a free Qt account (Qt Account). If you do not have one, click the sign-up link in the installer window and create one (an e-mail address is needed).
- On the Open Source Obligations page tick the consent check boxes and click Next.
-
On the folder selection page (Installation Folder):
- the folder field must contain exactly
C:\Qt— this path is written into the build scripts; - select Custom installation;
- click Next.
- the folder field must contain exactly
-
On the component selection page (Select Components):
- Expand Qt → Qt 6.11.3 (click the triangle to the left of the name).
- Tick MinGW 13.1.0 64-bit.
- Tick Qt Shader Tools. Depending on the installer version, this item is located either directly in the Qt 6.11.3 group or inside its Additional Libraries subgroup — expand it if you do not see the item right away.
- Expand the Build Tools group (in older installer versions it is called Developer and Designer Tools) and tick: MinGW 13.1.0 64-bit, CMake, Ninja.
- Nothing else needs to be ticked. The installer always installs Qt Creator; it is not needed to build the package, but it does no harm either.
If Qt 6.11.3 is not in the list, tick the Archive check box to the right of the list and click Filter — earlier releases will appear in the list.
-
Click Next, accept the licenses on the license page, then Next → Install. Wait for the installation to finish and click Finish (or Done).
After installation the following folders should appear:
| Folder | What it contains |
|---|---|
C:\Qt\6.11.3\mingw_64 |
Qt 6.11.3 for MinGW |
C:\Qt\Tools\mingw1310_64 |
the MinGW 13.1.0 compiler |
C:\Qt\Tools\CMake_64 |
CMake |
C:\Qt\Tools\Ninja |
Ninja |
C:\Qt\Licenses |
Qt license texts (needed only when the license texts are rebuilt, page 5) |
The CMake and Ninja version numbers offered by the installer may be newer than the verified ones (3.30.5 and 1.12.1). The package needs CMake 3.22 or later (the
cmake_minimum_requiredline in the rootCMakeLists.txt). What matters is only that the folders are namedCMake_64andNinjainsideC:\Qt\Tools— these paths are written into the scripts.
1.4. Python 3
- Open https://www.python.org/downloads/windows/ and download the Windows installer (64-bit) of version 3.11 or later (verified with 3.11.6).
- Run the installer. In the first window, at the bottom, tick the "Add python.exe to PATH" check box and click Install Now.
-
Check — in a new Git Bash window:
python --versionExpected:
Python 3.11.6(or later).
The build and distribution scripts do not need any third-party Python modules. The markdown module is needed
only to rebuild the PDF of the user manual (for package developers only):
python -m pip install markdown
1.5. Inno Setup 6.7
Needed only to build the installer (page 6).
- Open https://jrsoftware.org/isdl.php and download the Inno Setup 6.7.x installer (verified with 6.7.3).
- Run it. When asked about the install mode, choose Install for me only —
the program will then be installed in the folder
C:\Users\<your name>\AppData\Local\Programs\Inno Setup 6\, that is,%LOCALAPPDATA%\Programs\Inno Setup 6\. This is exactly the folder used in the commands of page 6. - Keep the other settings at their defaults.
Another way (this is how it was installed on the development machine) — a command in the Command Prompt window:
winget install JRSoftware.InnoSetup
Check — in the Command Prompt window (Start → type cmd → Enter):
"%LOCALAPPDATA%\Programs\Inno Setup 6\ISCC.exe"
The lines Inno Setup 6 Command-Line Compiler and the hint Usage: iscc
[options] scriptfile.iss should appear. This command does not print the version number; it is shown in the window
Start → Inno Setup Compiler → Help → About Inno Setup. Version 6.7 or later is required:
the installer script uses the dark wizard style (WizardStyle=modern dark).
If you installed Inno Setup "for all users", it will be in
C:\Program Files (x86)\Inno Setup 6\— in that case replace the path toISCC.exein the commands of page 6 with this one.
1.6. 7-Zip (optional)
Needed only for option B of section 1.3. Download the 64-bit version from https://www.7-zip.org/
and install it in the default folder C:\Program Files\7-Zip\.
1.7. Disk space
Measured on the development machine (29 October 2026):
| What | Size |
|---|---|
| Qt 6.11.3, only the needed modules (option B) | ≈ 263 MB |
| Qt, the full "MinGW 13.1.0 64-bit" set from the online installer (measured for 6.11.1) | ≈ 1.5 GB |
MinGW 13.1.0 (C:\Qt\Tools\mingw1310_64) |
≈ 660 MB |
| CMake / Ninja | ≈ 128 MB / < 1 MB |
OpenCASCADE 7.9.3 sources (occt\src) |
≈ 314 MB |
OpenCASCADE build folder (occt\build) |
≈ 377 MB |
Installed OpenCASCADE (occt\install) |
≈ 196 MB |
Package build folder (build\obj) |
≈ 263 MB |
Distribution folder (dist\TMC_Suite_Qt6_win64) |
≈ 188 MB |
Installer TMC_Suite_5.0_Qt6_Setup.exe |
≈ 60 MB |
Allow for at least 5 GB of free space.
1.8. Checking all programs with one command
Open Git Bash and paste the whole block (the first line temporarily, for this window only,
adds the programs from C:\Qt to the PATH search list):
export PATH="/c/Qt/Tools/mingw1310_64/bin:/c/Qt/6.11.3/mingw_64/bin:/c/Qt/Tools/CMake_64/bin:/c/Qt/Tools/Ninja:$PATH"
git --version
g++ --version
cmake --version
ninja --version
windeployqt --version
python --version
ls /c/Qt/6.11.3/mingw_64/lib/cmake | grep -E "^Qt6(ShaderTools|Svg|Concurrent|OpenGLWidgets|PrintSupport|Test)/?$"
ls /c/Qt/6.11.3/mingw_64/plugins/platforms/qwindows.dll
Expected result (this is what the output looks like on the development machine):
| Command | Expected |
|---|---|
git --version |
git version 2.42.0.windows.2 or later |
g++ --version |
first line g++.exe (x86_64-posix-seh-rev1, Built by MinGW-Builds project) 13.1.0 |
cmake --version |
cmake version 3.30.5 (or later, at least 3.22) |
ninja --version |
1.12.1 (or later) |
windeployqt --version |
6.11.3 |
python --version |
Python 3.11.6 (or later) |
ls … \| grep … |
six lines: Qt6Concurrent, Qt6OpenGLWidgets, Qt6PrintSupport, Qt6ShaderTools, Qt6Svg, Qt6Test (in the Git Bash window with a trailing slash: Qt6Concurrent/ etc.) |
ls …/qwindows.dll |
the path to the file without an error message |
If g++ prints a version other than 13.1.0, or windeployqt other than 6.11.3,
check the folders from section 1.3. Other copies of MinGW (for example, from MSYS2) are not
suitable for this package: Qt 6.11.3 is built with MinGW 13.1.0 specifically.
If there is no Qt6ShaderTools line, the Qt Shader Tools item is not installed (section 1.3,
step 5.3): run C:\Qt\MaintenanceTool.exe, select Add or remove components and
tick it.
