{"id":17030389,"url":"https://github.com/vsoch/qt-creator","last_synced_at":"2026-04-09T12:05:30.462Z","repository":{"id":141667924,"uuid":"139506538","full_name":"vsoch/qt-creator","owner":"vsoch","description":"trying to build qt-creator into a Docker container for easy usage.","archived":false,"fork":false,"pushed_at":"2018-07-03T19:50:17.000Z","size":180,"stargazers_count":2,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T20:29:44.917Z","etag":null,"topics":["cpp","docker","qt-creator"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/vsoch.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":"2018-07-02T23:55:41.000Z","updated_at":"2022-10-15T08:21:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"1f4c1234-5bb3-41b2-8eeb-930414558991","html_url":"https://github.com/vsoch/qt-creator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/vsoch/qt-creator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fqt-creator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fqt-creator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fqt-creator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fqt-creator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vsoch","download_url":"https://codeload.github.com/vsoch/qt-creator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vsoch%2Fqt-creator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259824516,"owners_count":22917280,"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":["cpp","docker","qt-creator"],"created_at":"2024-10-14T08:06:43.584Z","updated_at":"2025-12-30T21:33:45.580Z","avatar_url":"https://github.com/vsoch.png","language":"Shell","readme":"# QT-Creator Docker\n\nThis image is derived from [erstrom/qt](https://github.com/erstrom/docker-qt). We first\n[build the image](build) and put it on Docker Hub as [vanessa/qt-creator:base](https://hub.docker.com/r/vanessa/qt-creator/), and then [add to it](Dockerfile) additional\ndependencies, including download of test files for compilationu. Usage is discussed below.\n\n\n## Start the Container\nWe need to start the container and run priviledged to bind the display\n\n```bash\ndocker run -it \\\n\t--privileged \\\n\t-v /tmp/.X11-unix:/tmp/.X11-unix \\\n\t-e DISPLAY=$DISPLAY \\\n\t--name qt-sh \\\n\tvanessa/qt-creator\n```\n\nIf you want to bind a folder with projects, etc., don't forget to do that!\n\n```bash\ndocker run -it \\\n\t--privileged \\\n        -v $PWD:/home/user/projects \\\n\t-v /tmp/.X11-unix:/tmp/.X11-unix \\\n\t-e DISPLAY=$DISPLAY \\\n\t--name qt-sh \\\n\tvanessa/qt-creator\n```\n\nThe container is now running, and the command above will shell you inside. You won't need to start it again. If you need to stop and remove it, you should do this.\n\n```bash\ndocker stop qt-sh\ndocker rm qt-sh\n```\n\n## Start Qt Creator\nWe are in the container as user \"user\" and the working directory is `/qt`. I \nchanged directory to $HOME where I could see the project folder, and then\nstarted qtcreator. We are (somewhat) following the instructions [here](http://web.stanford.edu/dept/cs_edu/qt-creator/qt-creator-linux.shtml).\n\n```bash\ncd $HOME\nqtcreator\n```\n\nOnce in Qt-creator:\n - click Open Project\n - Leave the defaults, click Open\n - Control+B will build (takes about 30 seconds)\n - Pressing the green arrow will Run the script.\n\nYou should see a smiley face and message that it ran successfully. Good job!\n\n![img/success.png](img/success.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fqt-creator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvsoch%2Fqt-creator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvsoch%2Fqt-creator/lists"}