Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #3 from shinra-electric/qt6-build
Browse files Browse the repository at this point in the history
Build using Qt6
  • Loading branch information
mavethee committed Aug 4, 2023
2 parents 2a700be + 232bd4b commit 697515e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build_yuzu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CORES=$(sysctl -n hw.ncpu)
cd "$HOME"

# Install needed dependencies
brew install autoconf enet inih cubeb fmt automake boost ccache ffmpeg glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@5 sdl2 speexdsp zlib zstd molten-vk vulkan-loader
brew install autoconf enet inih cubeb fmt automake boost ccache ffmpeg glslang hidapi libtool libusb lz4 ninja nlohmann-json openssl pkg-config qt@6 sdl2 speexdsp zlib zstd molten-vk vulkan-loader

echo -e "${PURPLE}Cloning or updating Yuzu repository...${NC}"

Expand All @@ -48,7 +48,6 @@ fi
echo -e "${PURPLE}Exporting necessary environment variables...${NC}"

# Export necessary environment variables
export Qt5_DIR=$(brew --prefix)/opt/qt@5/lib/cmake
export LLVM_DIR=$(brew --prefix)/opt/llvm@16
export FFMPEG_DIR=$(brew --prefix)/opt/ffmpeg
export cubeb_DIR=$(brew --prefix)/opt/cubeb
Expand All @@ -62,7 +61,7 @@ mkdir -p build && cd build
echo -e "${PURPLE}Running CMake...${NC}"

# Run CMake with specified options
cmake .. -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF -DSDL_ARMNEON=ON
cmake .. -GNinja -DCMAKE_BUILD_TYPE=RELEASE -DYUZU_USE_BUNDLED_VCPKG=OFF -DYUZU_TESTS=OFF -DENABLE_WEB_SERVICE=OFF -DENABLE_LIBUSB=OFF -DSDL_ARMNEON=ON -DENABLE_QT6=ON -DYUZU_USE_EXTERNAL_VULKAN_HEADERS=OFF

echo -e "${PURPLE}Building Yuzu...${NC}"

Expand Down

0 comments on commit 697515e

Please sign in to comment.