aboutsummaryrefslogtreecommitdiff
path: root/CMakeModules
diff options
context:
space:
mode:
authorcrueter <crueter@eden-emu.dev>2025-07-16 23:17:34 +0200
committercrueter <crueter@eden-emu.dev>2025-07-16 23:17:34 +0200
commit108daeeb397fa23ab02ccef93460bd6bc68e4ba9 (patch)
tree04e8a9c16b77ae0a49723b4e90cd21b4c8d4b75b /CMakeModules
parenta538126eb7a0ce1e3457922a49ecc2406b8d30b1 (diff)
[cmake] Fix QuaZip once and for all (#71)
(and core5compat) Signed-off-by: crueter <crueter@eden-emu.dev> Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/71
Diffstat (limited to 'CMakeModules')
-rw-r--r--CMakeModules/CopyYuzuQt6Deps.cmake1
-rw-r--r--CMakeModules/DownloadExternals.cmake20
2 files changed, 18 insertions, 3 deletions
diff --git a/CMakeModules/CopyYuzuQt6Deps.cmake b/CMakeModules/CopyYuzuQt6Deps.cmake
index 39f88cbc19..93c4fd0170 100644
--- a/CMakeModules/CopyYuzuQt6Deps.cmake
+++ b/CMakeModules/CopyYuzuQt6Deps.cmake
@@ -20,6 +20,7 @@ function(copy_yuzu_Qt6_deps target_dir)
if (MSVC)
windows_copy_files(${target_dir} ${Qt6_DLL_DIR} ${DLL_DEST}
Qt6Core$<$<CONFIG:Debug>:d>.*
+ Qt6Core5Compat$<$<CONFIG:Debug>:d>.*
Qt6Gui$<$<CONFIG:Debug>:d>.*
Qt6Widgets$<$<CONFIG:Debug>:d>.*
Qt6Network$<$<CONFIG:Debug>:d>.*
diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake
index a82d1d72a3..b354ccfbe3 100644
--- a/CMakeModules/DownloadExternals.cmake
+++ b/CMakeModules/DownloadExternals.cmake
@@ -94,7 +94,7 @@ function(determine_qt_parameters target host_out type_out arch_out arch_path_out
else()
set(host "linux")
set(type "desktop")
- set(arch "gcc_64")
+ set(arch "linux_gcc_64")
set(arch_path "linux")
endif()
@@ -133,12 +133,26 @@ function(download_qt_configuration prefix_out target host type arch arch_path ba
set(install_args ${install_args} install-tool --outputdir ${base_path} ${host} desktop ${target})
else()
set(prefix "${base_path}/${target}/${arch_path}")
- set(install_args ${install_args} install-qt --outputdir ${base_path} ${host} ${type} ${target} ${arch} -m qt3d qt5compat qtactiveqt qtcharts qtconnectivity qtdatavis3d qtgraphs qtgrpc qthttpserver qtimageformats qtlanguageserver qtlocation qtlottie qtmultimedia qtnetworkauth qtpdf qtpositioning qtquick3d qtquick3dphysics qtquickeffectmaker qtquicktimeline qtremoteobjects qtscxml qtsensors qtserialbus qtserialport qtshadertools qtspeech qtvirtualkeyboard qtwebchannel qtwebengine qtwebsockets qtwebview)
+ set(install_args ${install_args} install-qt --outputdir ${base_path} ${host} ${type} ${target} ${arch} -m qt5compat)
+
+ if (YUZU_USE_QT_MULTIMEDIA)
+ set(install_args ${install_args} qtmultimedia)
+ endif()
+
+ if (YUZU_USE_QT_WEB_ENGINE)
+ set(install_args ${install_args} qtpositioning qtwebchannel qtwebengine)
+ endif()
+
+ if (NOT ${YUZU_QT_MIRROR} STREQUAL "")
+ message(STATUS "Using Qt mirror ${YUZU_QT_MIRROR}")
+ set(install_args ${install_args} -b ${YUZU_QT_MIRROR})
+ endif()
endif()
+ message(STATUS "Install Args ${install_args}")
if (NOT EXISTS "${prefix}")
message(STATUS "Downloading Qt binaries for ${target}:${host}:${type}:${arch}:${arch_path}")
- set(AQT_PREBUILD_BASE_URL "https://github.com/miurahr/aqtinstall/releases/download/v3.2.1")
+ set(AQT_PREBUILD_BASE_URL "https://github.com/miurahr/aqtinstall/releases/download/v3.3.0")
if (WIN32)
set(aqt_path "${base_path}/aqt.exe")
if (NOT EXISTS "${aqt_path}")