[PR #3209] [MERGED] Extend Qt detection to support multiple drives #3308

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3209
Author: @Fire-Cube
Created: 7/7/2025
Status: Merged
Merged: 7/9/2025
Merged by: @squidbus

Base: mainHead: cmake++


📝 Commits (1)

📊 Changes

1 file changed (+22 additions, -8 deletions)

View changed files

📝 cmake/DetectQtInstallation.cmake (+22 -8)

📄 Description

I had hoped I’d never have to touch CMake again, but since there are users who don’t install Qt on C:, I’ve now extended the detection to check all other possible drives as well.
Additionally, it now shows which installations were detected and which one is selected like:

[CMake] -- DetectQtInstallation.cmake: Detected Qt: C:/Qt/6.5.3/msvc2019_64
[CMake] -- DetectQtInstallation.cmake: Detected Qt: E:/Qt/6.9.1/msvc2022_64
[CMake] -- DetectQtInstallation.cmake: Choose newest Qt: E:/Qt/6.9.1/msvc2022_64

🔄 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/3209 **Author:** [@Fire-Cube](https://github.com/Fire-Cube) **Created:** 7/7/2025 **Status:** ✅ Merged **Merged:** 7/9/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `cmake++` --- ### 📝 Commits (1) - [`60f0b02`](https://github.com/shadps4-emu/shadPS4/commit/60f0b0203146db5b9dfdbc875ca154dd7ed5a20d) impl ### 📊 Changes **1 file changed** (+22 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `cmake/DetectQtInstallation.cmake` (+22 -8) </details> ### 📄 Description I had hoped I’d never have to touch CMake again, but since there are users who don’t install Qt on C:, I’ve now extended the detection to check all other possible drives as well. Additionally, it now shows which installations were detected and which one is selected like: ``` [CMake] -- DetectQtInstallation.cmake: Detected Qt: C:/Qt/6.5.3/msvc2019_64 [CMake] -- DetectQtInstallation.cmake: Detected Qt: E:/Qt/6.9.1/msvc2022_64 [CMake] -- DetectQtInstallation.cmake: Choose newest Qt: E:/Qt/6.9.1/msvc2022_64 ``` --- <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:13 +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#3308
No description provided.