From e6f0ee7ed202d6095f29162ea2ab9c27d4bd9e78 Mon Sep 17 00:00:00 2001 From: UltraDaCat <113462733+UltraDaCat@users.noreply.github.com> Date: Sun, 31 Aug 2025 13:19:52 +0200 Subject: [PATCH] Move QT plugins to the qtplugins folder on Windows QT builds (#3491) * test build.yml * add qt.conf for windows-qt * test 2 build.yml * Update build.yml * placeholder license and copyright in qt.conf * proper copyright qt.conf * Add files via upload * Delete qt.conf from root * changes to build.yml * Update REUSE.toml --- .github/workflows/build.yml | 4 +++- REUSE.toml | 5 +++++ dist/qt.conf | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 dist/qt.conf diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index cfaa0e68f..be6a7ecdd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -141,8 +141,10 @@ jobs: - name: Deploy and Package run: | mkdir upload + mkdir upload/qtplugins move build/shadPS4.exe upload - windeployqt --no-compiler-runtime --no-system-d3d-compiler --no-system-dxc-compiler --dir upload upload/shadPS4.exe + cp dist/qt.conf upload/qt.conf + windeployqt --plugindir upload/qtplugins --no-compiler-runtime --no-system-d3d-compiler --no-system-dxc-compiler --dir upload upload/shadPS4.exe Compress-Archive -Path upload/* -DestinationPath shadps4-win64-qt-${{ needs.get-info.outputs.date }}-${{ needs.get-info.outputs.shorthash }}.zip - name: Upload Windows Qt artifact diff --git a/REUSE.toml b/REUSE.toml index 99583b516..c7c0a64d3 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -133,3 +133,8 @@ SPDX-License-Identifier = "MIT" path = "src/video_core/host_shaders/fsr/*" SPDX-FileCopyrightText = "Copyright (c) 2021 Advanced Micro Devices, Inc. All rights reserved." SPDX-License-Identifier = "MIT" + +[[annotations]] +path = "dist/qt.conf" +SPDX-FileCopyrightText = "shadPS4 Emulator Project" +SPDX-License-Identifier = "GPL-2.0-or-later" diff --git a/dist/qt.conf b/dist/qt.conf new file mode 100644 index 000000000..0bb15d2e0 --- /dev/null +++ b/dist/qt.conf @@ -0,0 +1,2 @@ +[Paths] +plugins = "./qtplugins" \ No newline at end of file