{"id":18512958,"url":"https://github.com/sepera-okeq/qt-static-mingw","last_synced_at":"2026-05-05T15:35:07.016Z","repository":{"id":118537696,"uuid":"302898262","full_name":"Sepera-okeq/Qt-Static-MinGW","owner":"Sepera-okeq","description":"Qt Static Build MinGW x64","archived":false,"fork":false,"pushed_at":"2021-06-29T15:35:51.000Z","size":8,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-14T08:51:59.666Z","etag":null,"topics":["cmake","mingw","mingw64","perl","python","qmake","qt","qt5","ruby","static"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sepera-okeq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-10T12:35:56.000Z","updated_at":"2024-04-19T14:18:50.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d6d953b-26c6-4b47-a073-6c69c81a5e39","html_url":"https://github.com/Sepera-okeq/Qt-Static-MinGW","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sepera-okeq%2FQt-Static-MinGW","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sepera-okeq%2FQt-Static-MinGW/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sepera-okeq%2FQt-Static-MinGW/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sepera-okeq%2FQt-Static-MinGW/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sepera-okeq","download_url":"https://codeload.github.com/Sepera-okeq/Qt-Static-MinGW/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239225785,"owners_count":19603174,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cmake","mingw","mingw64","perl","python","qmake","qt","qt5","ruby","static"],"created_at":"2024-11-06T15:36:02.264Z","updated_at":"2026-05-05T15:35:01.996Z","avatar_url":"https://github.com/Sepera-okeq.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Статическая сборка QT 5.15.2 MinGWx64\n\n\n1. Для начала нужно поставить именно Online установку для дополнительных инструментов (MinGW,OpenSSL из Tools и т.д). [Online Installer](http://download.qt.io/official_releases/online_installers/qt-unified-windows-x86-online.exe \"Онлайн Инсталлятор\") \n\n\n2. **Дальше нужно установить:**\n- [Python последней версии x64 bit](https://www.python.org/ftp/python/3.8.3/python-3.8.3-amd64.exe \"Python последней версии x64 bit\")\n- [Perl последней версии x64 bit](http://strawberryperl.com/download/5.30.2.1/strawberry-perl-5.30.2.1-64bit.msi \"Perl последней версии x64 bit\")\n- [Ruby последней версии x64 bit](https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.1-1/rubyinstaller-2.7.1-1-x64.exe \"Ruby последней версии x64 bit\")\n\n3. Заходим в **Система/Дополнительные параметры системы/Переменные среды/Системные переменные -\u003e выбираем Path и нажать изменить**\n\nВводим:\n\n Ruby: // может быть новее\n- C:\\Ruby27-x64\\bin \n\n Perl: // может быть новее\n- C:\\Strawberry\\c\\bin\n- C:\\Strawberry\\perl\\site\\bin\n- C:\\Strawberry\\perl\\bin\n\n Python: // может быть новее\n- C:\\Python\\Python38\n- C:\\Python\\Python38\\Scripts\n\n MinGW : // может быть новее\n- C:\\Qt\\Tools\\mingw810_64\\bin\n- C:\\Qt\\Tools\\mingw810_64\\include \n\n OpenSSL: \n- C:\\Qt\\Tools\\OpenSSL\\Win_x64\\bin\n\n CMake:\n- C:\\Qt\\Tools\\CMake_64\\bin\n\nСохраняем данные системные переменные в Path и закрываем окно Система.\n\n4. [Далее скачиваем исходники QT 5.15.2](http://download.qt.io/official_releases/qt/5.15/5.15.2/single/qt-everywhere-src-5.15.2.zip \"Исходники QT\") (может быть новее, поэтому ссылка на все версии - [тык](http://download.qt.io/official_releases/qt/)) и распаковываем архив в любую папку - \n\n5. Переходим в нее и начинаем писать в cmd.exe/powershell.exe или создайте рядом с configure батник с названием - install.bat и запустите его через cmd.exe:\n\n`configure -static -debug-and-release -platform win32-g++ -qt-zlib -qt-pcre -qt-libpng -qt-libjpeg -qt-freetype -qt-tiff -qt-webp -opengl desktop -no-angle -sql-sqlite -openssl -I \"C:\\Qt\\Tools\\OpenSSL\\Win_x64\\include\" -L \"C:\\Qt\\Tools\\OpenSSL\\Win_x64\" -opensource -confirm-license -make libs -make tools -nomake examples -nomake tests -prefix C:\\Qt\\5.15.2\\mingw81_64_static`\n\n`mingw32-make -k -j4`\n\n`mingw32-make -k install`\n\n6. \n\n7. И чтоб отлучить об зависимостей MinGW в проект добавляем\n\n`QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepera-okeq%2Fqt-static-mingw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsepera-okeq%2Fqt-static-mingw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsepera-okeq%2Fqt-static-mingw/lists"}