From 47e4bc5ad25c62ddeb211253d0ed213116533ed0 Mon Sep 17 00:00:00 2001 From: XargonWan <6771419+XargonWan@users.noreply.github.com> Date: Tue, 30 Aug 2022 22:14:52 +0200 Subject: [PATCH] YUZU: trying to add buildcommands for QT5 --- net.retrodeck.retrodeck.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net.retrodeck.retrodeck.yml b/net.retrodeck.retrodeck.yml index c7b3e657..0124ed7e 100644 --- a/net.retrodeck.retrodeck.yml +++ b/net.retrodeck.retrodeck.yml @@ -106,7 +106,7 @@ modules: cleanup: ['*'] # pcsx2-qt needs QT6, maybe others, here until every qt emulator will support qt6 (not yuzu atm) - # from: https://github.com/flathub/org.profex_xrd.Profex + # from: https://github.com/flathub/org.profex_xrd.Profex - name: qt6-core5compat buildsystem: cmake-ninja builddir: true @@ -515,6 +515,7 @@ modules: x-checker-data: type: git tag-pattern: ^n([\d.]+)$ + - name: yuzu buildsystem: cmake-ninja builddir: true @@ -534,6 +535,10 @@ modules: TITLEBARFORMATIDLE: yuzu {} TITLEBARFORMATRUNNING: yuzu {} | {} LDFLAGS: -L/app/lib -Wl,-z,relro,-z,now -Wl,--as-needed + build-commands: + - | + find_package(Qt6 REQUIRED COMPONENTS Core5Compat) + target_link_libraries(mytarget PRIVATE Qt6::Core5Compat) cleanup: - /share/man - /share/pixmaps