5. Папка поставки
Что будет сделано на этой странице: вы соберёте папку dist\TMC_Suite_Qt6_win64, в
которой лежат все программы пакета, DLL Qt, MinGW и OpenCASCADE, тексты лицензий,
руководства и образцы. Эта папка запускается на другом компьютере без установки и служит
источником для установщика (страница 6).
5.1. Что должно быть готово
| Что | Как проверить |
|---|---|
Сборка программ завершилась exit 0 (страница 3) |
ls "/c/src/TMC_Suite/dist/win64/bin/TplDesigner.exe" |
| Тексты лицензий сторонних компонентов | ls "/c/src/TMC_Suite/src/resources/licenses" — 11 файлов и папка sbom |
Python в PATH |
python --version |
Папка src\resources\licenses уже входит в исходный код. Руководства и образцы подготовьте по разделу 5.3.
5.2. Тексты лицензий
Тексты лицензий сторонних компонентов уже лежат в src\resources\licenses. Отдельно собирать их не нужно.
5.3. Руководства и образцы
В репозитории нет руководств в PDF и образцов заданий: их сценарий поставки берёт из папки проекта. Скачайте архив выпуска TMC_Suite_5.0_win64.zip и распакуйте его в отдельную папку. Затем:
- Скопируйте папку
samplesиз архива вC:\src\TMC_Suite\samples. - Создайте папки
C:\src\TMC_Suite\docs\user-manual\en. - Скопируйте
TMC_Suite_5.0_Руководство_пользователя.pdfвdocs\user-manual, аTMC_Suite_5.0_User_Manual.pdf— вdocs\user-manual\en.
Без папки samples поставка остановится с ошибкой cp: cannot stat. Руководства необязательны: если их нет, сценарий их пропустит.
5.4. Сборка папки поставки — по шагам
- Откройте Git Bash.
-
Выполните:
sh "/c/src/TMC_Suite/build/package_win.sh"Необязательный аргумент — другая папка результата (путь Git Bash в кавычках). По умолчанию —
dist\TMC_Suite_Qt6_win64.Сценарий сначала удаляет папку результата целиком. Не храните в ней свои файлы.
-
Дождитесь строки
готово: …и списка файлов. Точное время не замерялось (минуты).
Вывод на машине разработки (журнал package_2026-10-29.log, сокращено):
samples: убрано служебных 6, путей заменено 12, осталось с личным путём 0 []
Warning: Cannot find any version of the dxcompiler.dll and dxil.dll. This is not a problem unless Direct3D 12 and certain features are used by the application.
Warning: Runtime libraries not found in Qt binary folder, defaulting to looking in path
…
готово: /c/src/TMC_Suite/dist/TMC_Suite_Qt6_win64
LICENSE.txt
NOTICE.txt
Qt6Core.dll
…
Строки Warning: … выводит windeployqt для каждой программы — это нормально:
Direct3D 12 программы пакета не используют, а библиотеки MinGW сценарий кладёт сам
(шаг 11 ниже).
Если сценарий остановился раньше строки готово:, смотрите последнее сообщение и
страницу 8, раздел 8.6.

5.5. Что делает сценарий — по шагам
Сценарий работает в режиме set -e: любая неудачная команда останавливает его.
- Добавляет в
PATHMinGW (C:\Qt\Tools\mingw1310_64\bin) и Qt 6.11.3 (C:\Qt\6.11.3\mingw_64\bin). - Удаляет папку результата и создаёт её заново.
- Копирует
planarrt_h.exe,planarrt_x.exe,tmcgrout.exe,tmcros.exe,tmc_dn.exeизdist\win64\bin(если какого-то нет — остановка);fieldview.exe— если он собран. - Копирует TPL Designer:
TplDesigner.exe,gen_lr2.exeи всеlibTK*.dllизdist\win64\bin; папкуmodelsизsrc\tpl_designer\data\models;TPL-Designer-rukovodstvo.pdfизsrc\tpl_designer\docs\user-guide. - Копирует чек-лист
ПРОВЕРКА_ИНТЕРФЕЙСА.txt(если есть). - Копирует лицензию пакета (Apache 2.0):
LICENSE→LICENSE.txt,NOTICE→NOTICE.txtиз корняTMC_Suite. - Копирует
src\resources\licenses\→licenses\. - Копирует руководство пользователя PDF (если есть).
- Копирует образцы:
samples\DEMO\целиком и изsamples\MULTIFREQ\—README.md,wg_*.tpl,wg_multi.sig,f_diel_sweep.s. - Очищает образцы сценарием
build\sanitize_samples.py:- полный путь машины сборки в комментариях
! File name …текстовых файлов (.t,.tos,.toc,.soc,.dop) и в заголовке двоичного.sзаменяется именем файла (числа не меняются); - удаляются служебные файлы вьюверов (
*.$os,*.$oc,*.$op,*_Temp0,*_Temp1) и резервные копии*.bak; - печатает итог
samples: убрано служебных N, путей заменено M, осталось с личным путём K […]; еслиKбольше 0, поставка останавливается.
- полный путь машины сборки в комментариях
- Для каждого
.exeзапускаетwindeployqt --release --no-translations --no-system-d3d-compiler --compiler-runtime --no-opengl-sw— рядом раскладываются нужные DLL и модули Qt 6.11.3. - Кладёт перевод стандартных окон Qt на русский:
translations\qtbase_ru.qm. - Докладывает библиотеки MinGW (
libgcc_s_seh-1.dll,libstdc++-6.dll,libwinpthread-1.dll) изC:\Qt\Tools\mingw1310_64\bin, еслиwindeployqtих не положил. - Печатает
готово: <папка>и первые 50 имён из неё.
5.6. Результат
Папка dist\TMC_Suite_Qt6_win64 (на машине разработки — около 188 МБ):
| Что | Файлы и папки |
|---|---|
| Программы | planarrt_h.exe, planarrt_x.exe, tmcgrout.exe, tmcros.exe, tmc_dn.exe, fieldview.exe, TplDesigner.exe, gen_lr2.exe |
| Qt 6.11.3 | Qt6Core.dll, Qt6Gui.dll, Qt6Network.dll, Qt6OpenGL.dll, Qt6OpenGLWidgets.dll, Qt6PrintSupport.dll, Qt6Svg.dll, Qt6Widgets.dll; папки модулей platforms\ (в ней qwindows.dll), styles\, imageformats\, iconengines\, generic\, networkinformation\, tls\; translations\qtbase_ru.qm |
| MinGW | libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll |
| OpenCASCADE | 23 файла libTK*.dll |
| Лицензии | LICENSE.txt, NOTICE.txt, папка licenses\ |
| Документация | TMC_Suite_5.0_Руководство_пользователя.pdf, TPL-Designer-rukovodstvo.pdf, ПРОВЕРКА_ИНТЕРФЕЙСА.txt |
| Образцы | samples\DEMO\ (FieldView, PlanarRT_H, PlanarRT_X, TMCGROUT, TMCROS, TMC_DN, README.md), samples\MULTIFREQ\, models\ |
Проверка в Git Bash:
cd "/c/src/TMC_Suite/dist/TMC_Suite_Qt6_win64"
ls *.exe
ls platforms/qwindows.dll libstdc++-6.dll licenses translations/qtbase_ru.qm
ls libTK*.dll | wc -l
Ожидается: 8 программ, файлы без ошибок No such file or directory, число 23.

Папку можно скопировать на другой компьютер с 64-разрядной Windows и запускать программы двойным щелчком — ничего устанавливать не нужно. Для расчёта на видеокарте нужен только обычный драйвер NVIDIA или AMD.
Назад: 4. OpenCASCADE и TPL Designer · Далее: 6. Установщик
5. Distribution folder
What this page covers: you will assemble the dist\TMC_Suite_Qt6_win64 folder, which
contains all programs of the package, the Qt, MinGW and OpenCASCADE DLLs, the license texts,
the manuals and the samples. This folder runs on another computer without installation and serves as
the source for the installer (page 6).
5.1. What must be ready
| What | How to check |
|---|---|
The build of the programs finished with exit 0 (page 3) |
ls "/c/src/TMC_Suite/dist/win64/bin/TplDesigner.exe" |
| License texts of third-party components | ls "/c/src/TMC_Suite/src/resources/licenses" — 11 files and the sbom folder |
Python in PATH |
python --version |
The src\resources\licenses folder is already in the source code. Prepare the manuals and samples as described in section 5.3.
5.2. License texts
The license texts of third-party components are already in src\resources\licenses. They do not have to be built separately.
5.3. Manuals and samples
The repository has neither the PDF manuals nor the sample tasks: the packaging script takes them from the project folder. Download the release archive TMC_Suite_5.0_win64.zip and unpack it into a separate folder. Then:
- Copy the
samplesfolder from the archive toC:\src\TMC_Suite\samples. - Create the folders
C:\src\TMC_Suite\docs\user-manual\en. - Copy
TMC_Suite_5.0_Руководство_пользователя.pdftodocs\user-manualandTMC_Suite_5.0_User_Manual.pdftodocs\user-manual\en.
Without the samples folder the packaging stops with a cp: cannot stat error. The manuals are optional: if they are missing, the script skips them.
5.4. Assembling the distribution folder — step by step
- Open Git Bash.
-
Run:
sh "/c/src/TMC_Suite/build/package_win.sh"An optional argument is a different result folder (a Git Bash path in quotes). By default it is
dist\TMC_Suite_Qt6_win64.The script first deletes the result folder entirely. Do not keep your own files in it.
-
Wait for the line
готово: …("done: …") and the list of files. The exact time was not measured (minutes).
Output on the development machine (log package_2026-10-29.log, abridged):
samples: убрано служебных 6, путей заменено 12, осталось с личным путём 0 []
Warning: Cannot find any version of the dxcompiler.dll and dxil.dll. This is not a problem unless Direct3D 12 and certain features are used by the application.
Warning: Runtime libraries not found in Qt binary folder, defaulting to looking in path
…
готово: /c/src/TMC_Suite/dist/TMC_Suite_Qt6_win64
LICENSE.txt
NOTICE.txt
Qt6Core.dll
…
The Warning: … lines are printed by windeployqt for each program — this is normal:
the programs of the package do not use Direct3D 12, and the script places the MinGW libraries itself
(step 13 below).
If the script stopped before the готово: line, look at the last message and
page 8, section 8.6.

5.5. What the script does — step by step
The script runs in set -e mode: any failed command stops it.
- Adds MinGW (
C:\Qt\Tools\mingw1310_64\bin) and Qt 6.11.3 (C:\Qt\6.11.3\mingw_64\bin) toPATH. - Deletes the result folder and creates it anew.
- Copies
planarrt_h.exe,planarrt_x.exe,tmcgrout.exe,tmcros.exe,tmc_dn.exefromdist\win64\bin(if any of them is missing — it stops);fieldview.exe— if it has been built. - Copies TPL Designer:
TplDesigner.exe,gen_lr2.exeand alllibTK*.dllfromdist\win64\bin; themodelsfolder fromsrc\tpl_designer\data\models;TPL-Designer-rukovodstvo.pdffromsrc\tpl_designer\docs\user-guide. - Copies the
ПРОВЕРКА_ИНТЕРФЕЙСА.txtcheck list (if present). - Copies the package license (Apache 2.0):
LICENSE→LICENSE.txt,NOTICE→NOTICE.txtfrom the root ofTMC_Suite. - Copies
src\resources\licenses\→licenses\. - Copies the PDF user manual (if present).
- Copies the samples:
samples\DEMO\entirely and fromsamples\MULTIFREQ\—README.md,wg_*.tpl,wg_multi.sig,f_diel_sweep.s. - Cleans the samples with the
build\sanitize_samples.pyscript:- the full build-machine path in the
! File name …comments of text files (.t,.tos,.toc,.soc,.dop) and in the header of the binary.sis replaced by the file name (the numbers are not changed); - the viewers' service files (
*.$os,*.$oc,*.$op,*_Temp0,*_Temp1) and backup copies*.bakare deleted; - prints the summary
samples: убрано служебных N, путей заменено M, осталось с личным путём K […](service files removed N, paths replaced M, left with a personal path K); ifKis greater than 0, the distribution stops.
- the full build-machine path in the
- For each
.exerunswindeployqt --release --no-translations --no-system-d3d-compiler --compiler-runtime --no-opengl-sw— the needed Qt 6.11.3 DLLs and modules are placed next to it. - Adds the Russian translation of the standard Qt dialogs:
translations\qtbase_ru.qm. - Adds the MinGW libraries (
libgcc_s_seh-1.dll,libstdc++-6.dll,libwinpthread-1.dll) fromC:\Qt\Tools\mingw1310_64\binifwindeployqtdid not place them. - Prints
готово: <папка>("done:") and the first 50 names in it.
5.6. Result
The folder dist\TMC_Suite_Qt6_win64 (about 188 MB on the development machine):
| What | Files and folders |
|---|---|
| Programs | planarrt_h.exe, planarrt_x.exe, tmcgrout.exe, tmcros.exe, tmc_dn.exe, fieldview.exe, TplDesigner.exe, gen_lr2.exe |
| Qt 6.11.3 | Qt6Core.dll, Qt6Gui.dll, Qt6Network.dll, Qt6OpenGL.dll, Qt6OpenGLWidgets.dll, Qt6PrintSupport.dll, Qt6Svg.dll, Qt6Widgets.dll; module folders platforms\ (containing qwindows.dll), styles\, imageformats\, iconengines\, generic\, networkinformation\, tls\; translations\qtbase_ru.qm |
| MinGW | libgcc_s_seh-1.dll, libstdc++-6.dll, libwinpthread-1.dll |
| OpenCASCADE | 23 libTK*.dll files |
| Licenses | LICENSE.txt, NOTICE.txt, the licenses\ folder |
| Documentation | TMC_Suite_5.0_Руководство_пользователя.pdf, TPL-Designer-rukovodstvo.pdf, ПРОВЕРКА_ИНТЕРФЕЙСА.txt |
| Samples | samples\DEMO\ (FieldView, PlanarRT_H, PlanarRT_X, TMCGROUT, TMCROS, TMC_DN, README.md), samples\MULTIFREQ\, models\ |
Check in Git Bash:
cd "/c/src/TMC_Suite/dist/TMC_Suite_Qt6_win64"
ls *.exe
ls platforms/qwindows.dll libstdc++-6.dll licenses translations/qtbase_ru.qm
ls libTK*.dll | wc -l
Expected: 8 programs, files without No such file or directory errors, the number 23.

The folder can be copied to another computer with 64-bit Windows and the programs can be started by double-clicking — nothing needs to be installed. For GPU computing only an ordinary NVIDIA or AMD driver is needed.
Back: 4. OpenCASCADE and TPL Designer · Next: 6. Installer