Skip to content

Commit

Permalink
manually build deps
Browse files Browse the repository at this point in the history
  • Loading branch information
raoulh committed Jan 26, 2024
1 parent 7a28ea3 commit a6b84f5
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion scripts/macos/install_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a6b84f5

Please sign in to comment.