diff --git a/.cirrus.yml b/.cirrus.yml index f37682774a..affb260f4a 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -7,7 +7,7 @@ env: BUILD_SOURCEBRANCHNAME: $CIRRUS_BRANCH RPCS3_TOKEN: ENCRYPTED[!a4c3850e29ab150692286a74bec29819d25971a7ec431b86de2a35f7ed90c5b2ab3c93469f9298e30924d843599110e9!] QT_VER_MAIN: '6' - QT_VER: '6.6.3' + QT_VER: '6.7.0' # windows_task: # matrix: @@ -21,7 +21,7 @@ env: # COMPILER: msvc # BUILD_ARTIFACTSTAGINGDIRECTORY: ${CIRRUS_WORKING_DIR}\artifacts\ # QT_VER_MSVC: 'msvc2019' -# QT_DATE: '202403191840' +# QT_DATE: '202403252230' # QTDIR: C:\Qt\${QT_VER}\${QT_VER_MSVC}_64 # VULKAN_VER: '1.3.268.0' # VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5' diff --git a/BUILDING.md b/BUILDING.md index 5d71f1d104..c2995f4da0 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -9,11 +9,11 @@ Other instructions may be found [here](https://wiki.rpcs3.net/index.php?title=Bu * [CMake 3.28.0+](https://www.cmake.org/download/) (add to PATH) * [Python 3.6+](https://www.python.org/downloads/) (add to PATH) -* [Qt 6.6.3](https://www.qt.io/download-qt-installer) +* [Qt 6.7.0](https://www.qt.io/download-qt-installer) * [Visual Studio 2022](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community) (or at least Visual Studio 2019 16.11.xx+ as C++20 is not included in previous versions) * [Vulkan SDK 1.3.268.0](https://vulkan.lunarg.com/sdk/home) (See "Install the SDK" [here](https://vulkan.lunarg.com/doc/sdk/latest/windows/getting_started.html)) for now future SDKs don't work. You need precisely 1.3.268.0. -**Either add the** `QTDIR` **environment variable, e.g.** `\6.6.3\msvc2019_64\` **, or use the [Visual Studio Qt Plugin](https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019)** +**Either add the** `QTDIR` **environment variable, e.g.** `\6.7.0\msvc2019_64\` **, or use the [Visual Studio Qt Plugin](https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2019)** **NOTE: If you have issues with the Qt plugin, you may want to uninstall the Qt Plugin and install the [Legacy Qt Plugin](https://marketplace.visualstudio.com/items?itemName=TheQtCompany.LEGACYQtVisualStudioTools2019) instead.** @@ -23,7 +23,7 @@ These are the essentials tools to build RPCS3 on Linux. Some of them can be inst * Clang 17+ or GCC 13+ * [CMake 3.28.0+](https://www.cmake.org/download/) -* [Qt 6.6.3](https://www.qt.io/download-qt-installer) +* [Qt 6.7.0](https://www.qt.io/download-qt-installer) * [Vulkan SDK 1.3.268.0](https://vulkan.lunarg.com/sdk/home) (See "Install the SDK" [here](https://vulkan.lunarg.com/doc/sdk/latest/linux/getting_started.html)) for now future SDKs don't work. You need precisely 1.3.268.0. * [SDL2](https://github.com/libsdl-org/SDL/releases) (for the FAudio backend) @@ -98,7 +98,7 @@ git submodule update --init #### Configuring the Qt plugin (if used) 1) Go to `Extensions->Qt VS Tools->Qt Versions`. -2) Add the path to your Qt installation with compiler e.g. `\6.6.3\msvc2019_64`, version will fill in automatically. +2) Add the path to your Qt installation with compiler e.g. `\6.7.0\msvc2019_64`, version will fill in automatically. 3) Go to `Extensions->Qt VS Tools->Options->Legacy Project Format`. (Only available in the legacy Qt plugin) 4) Set `Build: Run pre-build setup` to `true`. (Only available in the legacy Qt plugin) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index f17a793fe8..9371a9105a 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -69,9 +69,9 @@ jobs: variables: COMPILER: msvc QT_VER_MAIN: '6' - QT_VER: '6.6.3' + QT_VER: '6.7.0' QT_VER_MSVC: 'msvc2019' - QT_DATE: '202403191840' + QT_DATE: '202403252230' QTDIR: C:\Qt\$(QT_VER)\$(QT_VER_MSVC)_64 VULKAN_VER: '1.3.268.0' VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5' @@ -132,7 +132,7 @@ jobs: UPLOAD_REPO_FULL_NAME: "RPCS3/rpcs3-binaries-mac" RELEASE_MESSAGE: "../GitHubReleaseMessage.txt" ARTDIR: $(Build.ArtifactStagingDirectory) - QT_VER: '6.6.3' + QT_VER: '6.7.0' QT_VER_MAIN: '6' LLVM_COMPILER_VER: '16' diff --git a/rpcs3/rpcs3qt/gui_application.cpp b/rpcs3/rpcs3qt/gui_application.cpp index 75851834fd..0b1cce3e37 100644 --- a/rpcs3/rpcs3qt/gui_application.cpp +++ b/rpcs3/rpcs3qt/gui_application.cpp @@ -887,8 +887,17 @@ void gui_application::OnChangeStyleSheetRequest() // Determine default style if (m_default_style.isEmpty()) { +#ifdef _WIN32 + // On windows, the custom stylesheets don't seem to work properly unless we use the windowsvista style as default + if (QStyleFactory::keys().contains("windowsvista")) + { + m_default_style = "windowsvista"; + gui_log.notice("Using '%s' as default style", m_default_style); + } +#endif + // Use the initial style as default style - if (const QStyle* style = QApplication::style()) + if (const QStyle* style = m_default_style.isEmpty() ? QApplication::style() : nullptr) { m_default_style = style->name(); gui_log.notice("Determined '%s' as default style", m_default_style);