From a6b84f5c4db9cc26e6f733b9ce23c7cd1d4ab8b6 Mon Sep 17 00:00:00 2001 From: Raoul Hecky Date: Fri, 26 Jan 2024 12:59:18 +0100 Subject: [PATCH] manually build deps --- scripts/macos/install_deps.sh | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/scripts/macos/install_deps.sh b/scripts/macos/install_deps.sh index bf3cf67..457426b 100644 --- a/scripts/macos/install_deps.sh +++ b/scripts/macos/install_deps.sh @@ -5,7 +5,29 @@ echo "install.sh" brew update > /dev/null brew install qt6 -brew install --HEAD extra-cmake-modules kde-karchive + +#get extra-cmake-modules and build it +git clone https://invent.kde.org/frameworks/extra-cmake-modules.git +cd extra-cmake-modules +git checkout 5.114.0 +mkdir build && cd build +cmake .. -DCMAKE_INSTALL_PREFIX="$(brew --prefix qt6)" -DCMAKE_PREFIX_PATH="$(brew --prefix qt6)" +make -j$(sysctl -n hw.physicalcpu) +make install +cd ../.. + +#get karchive and build it +git clone https://invent.kde.org/frameworks/karchive.git +cd karchive +git checkout 5.114.0 +mkdir build && cd build +cmake .. -DCMAKE_INSTALL_PREFIX="$(brew --prefix qt6)" -DCMAKE_PREFIX_PATH="$(brew --prefix qt6)" \ + -DBUILD_TESTING=0 \ + -DBUILD_WITH_QT6=ON \ + -DQT_MAJOR_VERSION=6 +make -j$(sysctl -n hw.physicalcpu) +make install +cd ../.. #get qtmqtt and build it git clone https://github.com/qt/qtmqtt.git