{"id":22370033,"url":"https://github.com/andreicherniaev/ubuntu_x11_build_qt_widgets","last_synced_at":"2025-07-30T20:31:26.371Z","repository":{"id":210145188,"uuid":"725838005","full_name":"AndreiCherniaev/Ubuntu_X11_Build_Qt_widgets","owner":"AndreiCherniaev","description":"To build Qt (themself) with widgets for Ubuntu 24 (X11 windowing system)","archived":false,"fork":false,"pushed_at":"2024-11-07T01:44:59.000Z","size":64,"stargazers_count":2,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-07T02:39:42.725Z","etag":null,"topics":["build-automation","qt","qtbase","ubuntu","x11","xorg"],"latest_commit_sha":null,"homepage":"","language":"C++","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/AndreiCherniaev.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":"2023-12-01T01:12:22.000Z","updated_at":"2024-11-07T01:45:03.000Z","dependencies_parsed_at":"2024-11-07T02:33:15.081Z","dependency_job_id":"25e8508b-1402-4f8a-b18d-98b7233c4d0d","html_url":"https://github.com/AndreiCherniaev/Ubuntu_X11_Build_Qt_widgets","commit_stats":null,"previous_names":["andreicherniaev/ubutu_build_qt_widgets","andreicherniaev/ubuntu_x11_build_qt_widgets"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2FUbuntu_X11_Build_Qt_widgets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2FUbuntu_X11_Build_Qt_widgets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2FUbuntu_X11_Build_Qt_widgets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndreiCherniaev%2FUbuntu_X11_Build_Qt_widgets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndreiCherniaev","download_url":"https://codeload.github.com/AndreiCherniaev/Ubuntu_X11_Build_Qt_widgets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228178812,"owners_count":17881097,"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":["build-automation","qt","qtbase","ubuntu","x11","xorg"],"created_at":"2024-12-04T19:31:53.738Z","updated_at":"2024-12-04T19:33:01.902Z","avatar_url":"https://github.com/AndreiCherniaev.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"To build Qt (themself) with widgets for Ubuntu 24 (X11 windowing system). See also [Building Qt 6.6 for Raspberry Pi on Raspberry Pi OS](https://www.tal.org/tutorials/building-qt-66-raspberry-pi-raspberry-pi-os) Tested with 22.04.3 LTS\n\n## Ubuntu with X11\nPlease switch to Xorg istead of Wayland. \n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"How switch to X11 in Ubuntu\" src=\"img/How switch to X11 in Ubuntu.png\" width=\"320\"\u003e\n  \u003cbr\u003e\n    \u003cem\u003eHow switch to X11 in Ubuntu\u003c/em\u003e\n\u003c/p\u003e\n\nTest\n```\necho $XDG_SESSION_TYPE\n```\nShould be x11  \n## dev pack\n### modern Ubuntu\nThen make available all dev pack. For Ubuntu 24 and more new\n```\nsudo sed -i 's/^Types: deb$/Types: deb deb-src/' /etc/apt/sources.list.d/ubuntu.sources\n```\n### old Ubuntu\n```\nsudo nano /etc/apt/sources.list\n```\nand uncomment all strings with \"deb-src\"\n\n## Prepare\n```\ngit clone https://github.com/AndreiCherniaev/Ubuntu_X11_Build_Qt_widgets.git\nexport MyBaseDir=\"$PWD/Ubuntu_X11_Build_Qt_widgets\"\n```\n\n## Build Qt themself\nInstall dependency\n```\n. \"$MyBaseDir/Qt_themself/Ubuntu_dependency.sh\"\n```\nBuild Qt themself\n```\n\"$MyBaseDir/Qt_themself/readme.sh\"\n```\n\n## Build example\n```\nexport QT_DEBUG_PLUGINS=1 #usually no need, use in case of error\n\"$MyBaseDir/example/readme.sh\"\n```\n\n\u003cp align=\"center\"\u003e\n  \u003cimg alt=\"This is how example application looks in Ubuntu\" src=\"img/example window.png\" width=\"200\"\u003e\n  \u003cbr\u003e\n    \u003cem\u003eexample application\u003c/em\u003e\n\u003c/p\u003e\n\n## linuxFB\nThis step is optional. If you want try to run your app with linuxfb then use\n```\n# sudo adduser $USER video\nexport QT_DEBUG_PLUGINS=1\n# export QT_QPA_PLATFORM=linuxfb\n# export QT_QPA_EGLFS_FB=/dev/fb0\n\"$MyBaseDir/example/readme.sh\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fubuntu_x11_build_qt_widgets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreicherniaev%2Fubuntu_x11_build_qt_widgets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreicherniaev%2Fubuntu_x11_build_qt_widgets/lists"}