{"id":15044955,"url":"https://github.com/bialger/qtcmake","last_synced_at":"2026-01-05T02:11:21.909Z","repository":{"id":257146356,"uuid":"857425546","full_name":"bialger/QtCMake","owner":"bialger","description":"A C++ crossplatform project template with Qt6 and CMake that is linked statically","archived":false,"fork":false,"pushed_at":"2024-09-17T22:39:11.000Z","size":37,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-31T03:27:23.269Z","etag":null,"topics":["ci-cd","cpp-template","crossplatform","project-template","qt","qt-cmake","qt6"],"latest_commit_sha":null,"homepage":"","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bialger.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-09-14T16:16:05.000Z","updated_at":"2024-12-27T10:10:54.000Z","dependencies_parsed_at":"2024-09-25T01:55:13.948Z","dependency_job_id":"1c25de2a-7869-4cf8-9adb-8240bfd977bc","html_url":"https://github.com/bialger/QtCMake","commit_stats":null,"previous_names":["bialger/qtcmake"],"tags_count":3,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2FQtCMake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2FQtCMake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2FQtCMake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bialger%2FQtCMake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bialger","download_url":"https://codeload.github.com/bialger/QtCMake/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238008507,"owners_count":19401263,"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":["ci-cd","cpp-template","crossplatform","project-template","qt","qt-cmake","qt6"],"created_at":"2024-09-24T20:51:16.670Z","updated_at":"2025-10-24T16:32:02.204Z","avatar_url":"https://github.com/bialger.png","language":"CMake","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QtCMake\nA C++ project template with Qt6 and CMake that downloads and compiles Qt.\nThe resulting app is an executable that can be run on a system without Qt.\n\nThe main Qt6 configuration is found in the [correspondent](lib/qt/CMakeLists.txt) CMakeLists.txt file.\n\n\u003e Note that statically compiled Qt6 weights more than 5 GB.\n\u003e The good thing is that user does not need whole compiled Qt6 with this configuration.\n\n## Prerequisites\n\n* CMake\n* Ninja\n* Git\n\nOn Linux: `libgl1-mesa-dev libglu1-mesa-dev` and all dependencies are required.\n\u003e Note that most of the libraries that match `*xcb*` and `*xkb*` may be required on Linux.\n\n## How to build and run\n\nRun the following commands from the project directory.\n\n1. Create CMake cache\n\nThis step may take a lot of time because it downloads and compiles Qt.\n\n```shell\ncmake -S . -B cmake-build -G \"Ninja\" -DCMAKE_BUILD_TYPE=Release\n```\n\n2. Build executable target\n\n```shell\ncmake --build cmake-build --target QtCMake\n```\n\n3. Run executable target\n\n* On Windows:\n\n```shell\n.\\cmake-build\\bin\\QtCMake.exe\n```\n\n* On *nix:\n\n```shell\n./cmake-build/bin/QtCMake\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbialger%2Fqtcmake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbialger%2Fqtcmake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbialger%2Fqtcmake/lists"}