[PR #3141] [MERGED] Add CMake Presets for Qt build and add auto-detection for Qt in Windows #3259

Closed
opened 2026-02-27 22:03:01 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3141
Author: @Fire-Cube
Created: 6/21/2025
Status: Merged
Merged: 6/25/2025
Merged by: @georgemoralis

Base: mainHead: autoqt


📝 Commits (10+)

  • 742b3ce add CMakePresets.json
  • dd0365f Update REUSE.toml
  • ddb11fe fix vs
  • 4d48276 Merge branch 'shadps4-emu:main' into cmakepresets
  • 8a35cc9 impl
  • e4f1914 adjust CMakeSettings.json
  • bee3f10 add FindQt.cmake to reuse
  • 321ed8b rename cmake file, add check before running cmake and add inheritation to presets
  • 06cae18 add error check in cmake
  • 59e09bf cleanup

📊 Changes

5 files changed (+132 additions, -0 deletions)

View changed files

📝 CMakeLists.txt (+4 -0)
CMakePresets.json (+77 -0)
📝 CMakeSettings.json (+36 -0)
📝 REUSE.toml (+1 -0)
cmake/DetectQtInstallation.cmake (+14 -0)

📄 Description

This is a continuation of the PR #3131
It solves the problem of having to enable Qt by directly editing the file. I’ve added presets for Qt builds, and to make that work, an auto-detection for Qt on Windows.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/3141 **Author:** [@Fire-Cube](https://github.com/Fire-Cube) **Created:** 6/21/2025 **Status:** ✅ Merged **Merged:** 6/25/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `autoqt` --- ### 📝 Commits (10+) - [`742b3ce`](https://github.com/shadps4-emu/shadPS4/commit/742b3ced660a34ce3206284224dc2cd220a1b8fe) add CMakePresets.json - [`dd0365f`](https://github.com/shadps4-emu/shadPS4/commit/dd0365ffc75aa39cacda485ec580f8b70846e733) Update REUSE.toml - [`ddb11fe`](https://github.com/shadps4-emu/shadPS4/commit/ddb11feeb7cefb392b18acd12b3f319146fea9da) fix vs - [`4d48276`](https://github.com/shadps4-emu/shadPS4/commit/4d4827673765bbf16014c8b0c15452af8901880b) Merge branch 'shadps4-emu:main' into cmakepresets - [`8a35cc9`](https://github.com/shadps4-emu/shadPS4/commit/8a35cc992016b54be2b806d361ecc5cd87d19b33) impl - [`e4f1914`](https://github.com/shadps4-emu/shadPS4/commit/e4f19145d6ff111f48a26b42fa973bc6472bae83) adjust CMakeSettings.json - [`bee3f10`](https://github.com/shadps4-emu/shadPS4/commit/bee3f1075d20071d5a36a3ce64894d560f44b8bf) add FindQt.cmake to reuse - [`321ed8b`](https://github.com/shadps4-emu/shadPS4/commit/321ed8b26768721c148264fc9f7beae3a775c69c) rename cmake file, add check before running cmake and add inheritation to presets - [`06cae18`](https://github.com/shadps4-emu/shadPS4/commit/06cae185c9a2aae7dd361353583edfe2f16f151f) add error check in cmake - [`59e09bf`](https://github.com/shadps4-emu/shadPS4/commit/59e09bfad36f8bf11c07166718313297678cf790) cleanup ### 📊 Changes **5 files changed** (+132 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `CMakeLists.txt` (+4 -0) ➕ `CMakePresets.json` (+77 -0) 📝 `CMakeSettings.json` (+36 -0) 📝 `REUSE.toml` (+1 -0) ➕ `cmake/DetectQtInstallation.cmake` (+14 -0) </details> ### 📄 Description This is a continuation of the PR #3131 It solves the problem of having to enable Qt by directly editing the file. I’ve added presets for Qt builds, and to make that work, an auto-detection for Qt on Windows. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:01 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#3259
No description provided.