Compare commits

...

5 Commits

Author SHA1 Message Date
Megamouse 8c498a1c89
Merge c3c1ed1589 into 66eae05e75 2024-09-19 01:06:25 +02:00
capriots 66eae05e75 cellAtracXdec: fix FFmpeg warning 2024-09-18 07:57:10 +02:00
Megamouse c3c1ed1589 Qt 6.7.2 2024-08-02 17:46:08 +02:00
Megamouse a24ef68fba Qt 6.7.1 2024-08-02 17:46:08 +02:00
Megamouse 5256d74240 Qt 6.7.0
Also fix new stylesheet issue: windows11 style is now default.
This currently breaks custom stylesheets.
Use windowsvista style as default
2024-08-02 17:46:08 +02:00
5 changed files with 20 additions and 10 deletions

View File

@ -7,7 +7,7 @@ env:
BUILD_SOURCEBRANCHNAME: $CIRRUS_BRANCH BUILD_SOURCEBRANCHNAME: $CIRRUS_BRANCH
RPCS3_TOKEN: ENCRYPTED[!a4c3850e29ab150692286a74bec29819d25971a7ec431b86de2a35f7ed90c5b2ab3c93469f9298e30924d843599110e9!] RPCS3_TOKEN: ENCRYPTED[!a4c3850e29ab150692286a74bec29819d25971a7ec431b86de2a35f7ed90c5b2ab3c93469f9298e30924d843599110e9!]
QT_VER_MAIN: '6' QT_VER_MAIN: '6'
QT_VER: '6.6.3' QT_VER: '6.7.2'
# windows_task: # windows_task:
# matrix: # matrix:
@ -21,7 +21,7 @@ env:
# COMPILER: msvc # COMPILER: msvc
# BUILD_ARTIFACTSTAGINGDIRECTORY: ${CIRRUS_WORKING_DIR}\artifacts\ # BUILD_ARTIFACTSTAGINGDIRECTORY: ${CIRRUS_WORKING_DIR}\artifacts\
# QT_VER_MSVC: 'msvc2019' # QT_VER_MSVC: 'msvc2019'
# QT_DATE: '202403191840' # QT_DATE: '202406110335'
# QTDIR: C:\Qt\${QT_VER}\${QT_VER_MSVC}_64 # QTDIR: C:\Qt\${QT_VER}\${QT_VER_MSVC}_64
# VULKAN_VER: '1.3.268.0' # VULKAN_VER: '1.3.268.0'
# VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5' # VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5'

View File

@ -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) * [CMake 3.28.0+](https://www.cmake.org/download/) (add to PATH)
* [Python 3.6+](https://www.python.org/downloads/) (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.2](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) * [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. * [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.** `<QtInstallFolder>\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.** `<QtInstallFolder>\6.7.2\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.** **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+ * Clang 17+ or GCC 13+
* [CMake 3.28.0+](https://www.cmake.org/download/) * [CMake 3.28.0+](https://www.cmake.org/download/)
* [Qt 6.6.3](https://www.qt.io/download-qt-installer) * [Qt 6.7.2](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. * [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) * [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) #### Configuring the Qt plugin (if used)
1) Go to `Extensions->Qt VS Tools->Qt Versions`. 1) Go to `Extensions->Qt VS Tools->Qt Versions`.
2) Add the path to your Qt installation with compiler e.g. `<QtInstallFolder>\6.6.3\msvc2019_64`, version will fill in automatically. 2) Add the path to your Qt installation with compiler e.g. `<QtInstallFolder>\6.7.2\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) 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) 4) Set `Build: Run pre-build setup` to `true`. (Only available in the legacy Qt plugin)

View File

@ -69,9 +69,9 @@ jobs:
variables: variables:
COMPILER: msvc COMPILER: msvc
QT_VER_MAIN: '6' QT_VER_MAIN: '6'
QT_VER: '6.6.3' QT_VER: '6.7.2'
QT_VER_MSVC: 'msvc2019' QT_VER_MSVC: 'msvc2019'
QT_DATE: '202403191840' QT_DATE: '202406110335'
QTDIR: C:\Qt\$(QT_VER)\$(QT_VER_MSVC)_64 QTDIR: C:\Qt\$(QT_VER)\$(QT_VER_MSVC)_64
VULKAN_VER: '1.3.268.0' VULKAN_VER: '1.3.268.0'
VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5' VULKAN_SDK_SHA: '8459ef49bd06b697115ddd3d97c9aec729e849cd775f5be70897718a9b3b9db5'
@ -132,7 +132,7 @@ jobs:
UPLOAD_REPO_FULL_NAME: "RPCS3/rpcs3-binaries-mac" UPLOAD_REPO_FULL_NAME: "RPCS3/rpcs3-binaries-mac"
RELEASE_MESSAGE: "../GitHubReleaseMessage.txt" RELEASE_MESSAGE: "../GitHubReleaseMessage.txt"
ARTDIR: $(Build.ArtifactStagingDirectory) ARTDIR: $(Build.ArtifactStagingDirectory)
QT_VER: '6.6.3' QT_VER: '6.7.2'
QT_VER_MAIN: '6' QT_VER_MAIN: '6'
pool: pool:

View File

@ -121,6 +121,7 @@ void AtracXdecDecoder::alloc_avcodec()
// Allows FFmpeg to output directly into guest memory // Allows FFmpeg to output directly into guest memory
ctx->opaque = this; ctx->opaque = this;
ctx->thread_type = FF_THREAD_SLICE; // Silences a warning by FFmpeg about requesting frame threading with a custom get_buffer2(). Default is FF_THREAD_FRAME & FF_THREAD_SLICE
ctx->get_buffer2 = [](AVCodecContext* s, AVFrame* frame, int /*flags*/) -> int ctx->get_buffer2 = [](AVCodecContext* s, AVFrame* frame, int /*flags*/) -> int
{ {
for (s32 i = 0; i < frame->ch_layout.nb_channels; i++) for (s32 i = 0; i < frame->ch_layout.nb_channels; i++)

View File

@ -887,8 +887,17 @@ void gui_application::OnChangeStyleSheetRequest()
// Determine default style // Determine default style
if (m_default_style.isEmpty()) 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 // 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(); m_default_style = style->name();
gui_log.notice("Determined '%s' as default style", m_default_style); gui_log.notice("Determined '%s' as default style", m_default_style);