René's URL Explorer Experiment


Title: Add cmake build system by jamesobutler · Pull Request #345 · MeVisLab/pythonqt · GitHub

Open Graph Title: Add cmake build system by jamesobutler · Pull Request #345 · MeVisLab/pythonqt

X Title: Add cmake build system by jamesobutler · Pull Request #345 · MeVisLab/pythonqt

Description: This PR is an effort previously discussed to bring in the CMake build system for modern cross compilation of C++ libraries. This PR includes the CMake build system as of https://github.com/commontk/PythonQt/tree/patched-v4.0.1-2026-03-16-5cd9b581f. The CommonTK organization is used by applications such as 3D Slicer and MITK. Using CMake to build PythonQt has been utilized successfully by 3D Slicer for well over a decade. Integration of this work back to the upstream has taken a long time due to multiple factors including MeVisLab's PythonQt source repository not on GitHub and 3D Slicer maintaining a series of patches that had not been contributed back to the upstream. Both situations have changed where PythonQt is on GitHub and the long list of patches were contributed to the upstream in the fall of 2025. A large majority of this CMake work is due to the fantastic work by @jcfr who also worked to contribute the patches back to this upstream repo. Late last year JC made a job move to Nvidia and therefore contributions to 3D Slicer and the ecosystem of supporting open-source libraries has been limited. I submit this PR to keep this work going to bring the CommonTK fork of PythonQt back in sync with the MeVisLab PythonQt upstream. I provide all the commits here for the CMake development for historic reference, but maintainers could consider squashing of commits for less noise. I have created a new GitHub actions workflow as part of testing the CMake build system similar to the existing CI infrastructure. This PR doesn't currently remove the existing build system, though maintainers here could consider a replacement based on stabilization here and then avoid the complexity of maintaining 2 build systems.

Open Graph Description: This PR is an effort previously discussed to bring in the CMake build system for modern cross compilation of C++ libraries. This PR includes the CMake build system as of https://github.com/commontk...

X Description: This PR is an effort previously discussed to bring in the CMake build system for modern cross compilation of C++ libraries. This PR includes the CMake build system as of https://github.com/commontk...

Opengraph URL: https://github.com/MeVisLab/pythonqt/pull/345

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:e705b030-655d-c9e3-c06d-a724d4465e7e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C3E:1BAF86:341033:45497A:6AFF6804
html-safe-noncefe125f1a625e2a4385ecc427c7b15eec67cea1362361f3c254d32bd07c9867c5
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzNFOjFCQUY4NjozNDEwMzM6NDU0OTdBOjZBRkY2ODA0IiwidmlzaXRvcl9pZCI6IjgyNTA1NzQ0ODMxMTU0MzYwMzYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac143935157335555e9767e8695c727fca61798257ba25ca5a2f1884b8a01e63f2
hovercard-subject-tagpull_request:3462970366
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/MeVisLab/pythonqt/pull/345/files
twitter:imagehttps://avatars.githubusercontent.com/u/15837524?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/15837524?s=400&v=4
og:image:altThis PR is an effort previously discussed to bring in the CMake build system for modern cross compilation of C++ libraries. This PR includes the CMake build system as of https://github.com/commontk...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None41b58589a1c4eda1e3c8904144a412b88ca4455f63ca2ad3629f2e9f3c3a1d12
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/MeVisLab/pythonqt git https://github.com/MeVisLab/pythonqt.git
octolytics-dimension-user_id15028021
octolytics-dimension-user_loginMeVisLab
octolytics-dimension-repository_id193056137
octolytics-dimension-repository_nwoMeVisLab/pythonqt
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193056137
octolytics-dimension-repository_network_root_nwoMeVisLab/pythonqt
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8968d6d6acc65d74e4df332d23932dd3fd0502a4
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/MeVisLab/pythonqt/pull/345/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMeVisLab%2Fpythonqt%2Fpull%2F345%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FMeVisLab%2Fpythonqt%2Fpull%2F345%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=MeVisLab%2Fpythonqt
Reloadhttps://github.com/MeVisLab/pythonqt/pull/345/files
Reloadhttps://github.com/MeVisLab/pythonqt/pull/345/files
Reloadhttps://github.com/MeVisLab/pythonqt/pull/345/files
MeVisLabhttps://github.com/MeVisLab
pythonqthttps://github.com/MeVisLab/pythonqt
Codehttps://github.com/MeVisLab/pythonqt
Issues19 (19)https://github.com/MeVisLab/pythonqt/issues
Pull requests3 (3)https://github.com/MeVisLab/pythonqt/pulls
Discussionshttps://github.com/MeVisLab/pythonqt/discussions
Actionshttps://github.com/MeVisLab/pythonqt/actions
Security and qualityhttps://github.com/MeVisLab/pythonqt/security
Insightshttps://github.com/MeVisLab/pythonqt/insights
Sign up for GitHub https://github.com/signup?return_to=%2FMeVisLab%2Fpythonqt%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FMeVisLab%2Fpythonqt%2Fissues%2Fnew%2Fchoose
jamesobutlerhttps://github.com/jamesobutler
MeVisLab:mainhttps://github.com/MeVisLab/pythonqt/tree/main
jamesobutler:add-cmake-build-systemhttps://github.com/jamesobutler/pythonqt2/tree/add-cmake-build-system
Conversation 32 https://github.com/MeVisLab/pythonqt/pull/345
Commits 4 https://github.com/MeVisLab/pythonqt/pull/345/commits
Checks 21 https://github.com/MeVisLab/pythonqt/pull/345/checks
Files changed https://github.com/MeVisLab/pythonqt/pull/345/files
Please reload this pagehttps://github.com/MeVisLab/pythonqt/pull/345/files
Add cmake build system https://github.com/MeVisLab/pythonqt/pull/345/files#top
Show all changes 4 commits https://github.com/MeVisLab/pythonqt/pull/345/files
3b2f727 cmake: Enable CMake support importing historical improvements from co… jcfr Jul 2, 2025 https://github.com/MeVisLab/pythonqt/pull/345/commits/3b2f727fd926faa050a6b66a8f628e8fa005f1ab
8c97fc9 CI: Add workflow for CMake build system\ jamesobutler Mar 29, 2026 https://github.com/MeVisLab/pythonqt/pull/345/commits/8c97fc96c483ed1c3edb5a191fd0f99b2b9541ce
218b796 CI: Remove undefined variable in qmake config jamesobutler Mar 29, 2026 https://github.com/MeVisLab/pythonqt/pull/345/commits/218b796256af51444087128cc3d13c82812b4cda
f4164d7 CI: Update job and workflow names for clarity jamesobutler Apr 25, 2026 https://github.com/MeVisLab/pythonqt/pull/345/commits/f4164d7a102a749c4e63a94b16bf1b50358f4901
Clear filters https://github.com/MeVisLab/pythonqt/pull/345/files
Please reload this pagehttps://github.com/MeVisLab/pythonqt/pull/345/files
Please reload this pagehttps://github.com/MeVisLab/pythonqt/pull/345/files
build.yml https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
build_cmake.yml https://github.com/MeVisLab/pythonqt/pull/345/files#diff-d128e463a68f06752e373fdf470bd963d0e438f345f2aa026ee30c9d2ff6f331
build_latest.yml https://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
CMakeLists.txt https://github.com/MeVisLab/pythonqt/pull/345/files#diff-1e7de1ae2d059d21e1dd75d5812d5a34b0222cef273b7c3a2af62eb747f9d20a
CMakeLists.txt https://github.com/MeVisLab/pythonqt/pull/345/files#diff-8726a699242ff5136f609f07db48202568721c5a3357c2311896aa2e9a00646d
PythonQt_QtAll.cpp https://github.com/MeVisLab/pythonqt/pull/345/files#diff-90e546425aca59134fe67cb6957302b9e3c441ef06c340ac4bc3987d65b97b8a
PythonQt_QtAll.h https://github.com/MeVisLab/pythonqt/pull/345/files#diff-99bf16badb72d7fbf5ab52e99ff864e37f9cc41f41fdecdd4aea25dbc37b5cfb
CMakeLists.txt https://github.com/MeVisLab/pythonqt/pull/345/files#diff-6f85a0c9e464c182bf97c7013f1eddc1738de405dc342175a15e3514ea9ef258
CMakeLists.txt https://github.com/MeVisLab/pythonqt/pull/345/files#diff-148715d6ea0c0ea0a346af3f6bd610d010d490eca35ac6a9b408748f7ca9e3f4
PythonQtConfigure.h.in https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5e4c0cd9d2e9c4494a7e70e09ce808f1e56a77286d055019cb8121a747363e58
PythonQtPythonInclude.h https://github.com/MeVisLab/pythonqt/pull/345/files#diff-192348e90e29a4985c412b72c4518e8f1c52537cf5b4a9cca971c14b1fe2af78
generate_configure_h.py https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c7a7bab86bf075dad39825b79f6a7249c1f690e28c5e7cf3c3e866608a588f1
src.pro https://github.com/MeVisLab/pythonqt/pull/345/files#diff-8310d23bea2503c1376ea3fc7c3729f8b1add8945d25169b1ad554ba250a98ba
PythonQtTestMain.cpp https://github.com/MeVisLab/pythonqt/pull/345/files#diff-c7351ef0dd212eb964953179969a3c2eb5f714cd36ea210dbc1c25af60819295
.github/workflows/build.ymlhttps://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
View file https://github.com/MeVisLab/pythonqt/blob/f4164d7a102a749c4e63a94b16bf1b50358f4901/.github/workflows/build.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MeVisLab/pythonqt/pull/345/{{ revealButtonHref }}
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-5c3fa597431eda03ac3339ae6bf7f05e1a50d6fc7333679ec38e21b337cb6721
.github/workflows/build_cmake.ymlhttps://github.com/MeVisLab/pythonqt/pull/345/files#diff-d128e463a68f06752e373fdf470bd963d0e438f345f2aa026ee30c9d2ff6f331
View file https://github.com/MeVisLab/pythonqt/blob/f4164d7a102a749c4e63a94b16bf1b50358f4901/.github/workflows/build_cmake.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MeVisLab/pythonqt/pull/345/{{ revealButtonHref }}
.github/workflows/build_latest.ymlhttps://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
View file https://github.com/MeVisLab/pythonqt/blob/f4164d7a102a749c4e63a94b16bf1b50358f4901/.github/workflows/build_latest.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/MeVisLab/pythonqt/pull/345/{{ revealButtonHref }}
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
https://github.com/MeVisLab/pythonqt/pull/345/files#diff-20c5fcbb6733014052c1c36d10de094244264d2ee736803bec3dd17d12b035ed
Please reload this pagehttps://github.com/MeVisLab/pythonqt/pull/345/files
Please reload this pagehttps://github.com/MeVisLab/pythonqt/pull/345/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.