FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.
C++ ai-agentsalgorithmic-tradingbloomberg-terminalcppfinancefinancial-marketsfintechgood-first-issueinvestmentinvestment-researchmachine-learningopensourcepythonqtquantitative-financestock-markettrading
fix(setup): correct macOS Qt path and add missing dependencies
Kendall Lo86b76cd62287
diff --git a/setup.sh b/setup.shold mode 100644new mode 100755index ad30207ee..8b39b9bb0--- a/setup.sh+++ b/setup.sh@@ -38,7 +38,7 @@ echo ""OS="$(uname -s)"case "$OS" inLinux*) PLATFORM="linux" ; QT_KIT="gcc_64" ; PRESET="linux-release" ;;- Darwin*) PLATFORM="macos" ; QT_KIT="clang_64" ; PRESET="macos-release" ;;+ Darwin*) PLATFORM="macos" ; QT_KIT="macos" ; PRESET="macos-release" ;;*) fail "Unsupported OS: $OS" ;;esacecho "Platform: $OS"@@ -68,7 +68,7 @@ elif [ "$PLATFORM" = "macos" ]; theninfo "Homebrew not found. Installing..."/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"fi- brew install cmake ninja [email protected]+ brew install cmake ninja [email protected] openssl@3 yt-dlpfiok@@ -148,7 +148,12 @@ cd "$APP_DIR"echo "[6/7] Configuring (preset: $PRESET)..."# Override the preset's default CMAKE_PREFIX_PATH with the one we just set,# so the build picks up the aqtinstall location rather than ~/Qt/6.8.3/...-cmake --preset "$PRESET" -DCMAKE_PREFIX_PATH="$QT_PREFIX" \+EXTRA_ARGS=""+if [ "$PLATFORM" = "macos" ] && [ -d "/opt/homebrew/opt/openssl@3" ]; then+ EXTRA_ARGS="-DOPENSSL_ROOT_DIR=/opt/homebrew/opt/openssl@3"+fi++cmake --preset "$PRESET" -DCMAKE_PREFIX_PATH="$QT_PREFIX" $EXTRA_ARGS \|| fail "CMake configure failed. See error above."ok