Skip to content

Commit

Permalink
[Qt6Declarative] Version 6.7.1 (host build) (#8798)
Browse files Browse the repository at this point in the history
  • Loading branch information
barche authored May 29, 2024
1 parent bc0554d commit f290fdf
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Q/Qt6Declarative/build_tarballs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
using BinaryBuilder, Pkg

name = "Qt6Declarative"
version = v"6.5.2"
version = v"6.7.1"

# Set this to true first when updating the version. It will build only for the host (linux musl).
# After that JLL is in the registyry, set this to false to build for the other platforms, using
# this same package as host build dependency.
const host_build = false
const host_build = true

# Collection of sources required to build qt6
sources = [
ArchiveSource("https://download.qt.io/official_releases/qt/$(version.major).$(version.minor)/$version/submodules/qtdeclarative-everywhere-src-$version.tar.xz",
"f3a11fe54e9fac77c649e46e39f1cbe161e9efe89bad205115ba2861b1eb8719"),
ArchiveSource("https://github.com/phracker/MacOSX-SDKs/releases/download/11.0-11.1/MacOSX11.1.sdk.tar.xz",
"9b86eab03176c56bb526de30daa50fa819937c54b280364784ce431885341bf6"),
"81135c96ed2f599385b8a68c57f4f438dad193c62f946f5b200a321558fd9f1c"),
ArchiveSource("https://github.com/roblabla/MacOSX-SDKs/releases/download/13.3/MacOSX13.3.sdk.tar.xz",
"e5d0f958a079106234b3a840f93653308a76d3dcea02d3aa8f2841f8df33050c"),
ArchiveSource("https://sourceforge.net/projects/mingw-w64/files/mingw-w64/mingw-w64-release/mingw-w64-v10.0.0.tar.bz2",
"ba6b430aed72c63a3768531f6a3ffc2b0fde2c57a3b251450dcf489a894f0894")
]
Expand Down Expand Up @@ -65,15 +65,15 @@ case "$bb_full_target" in
;;
*apple-darwin*)
apple_sdk_root=$WORKSPACE/srcdir/MacOSX11.1.sdk
apple_sdk_root=$WORKSPACE/srcdir/MacOSX13.3.sdk
sed -i "s!/opt/x86_64-apple-darwin14/x86_64-apple-darwin14/sys-root!$apple_sdk_root!" $CMAKE_TARGET_TOOLCHAIN
cmake -DQT_HOST_PATH=$host_prefix \
-DPython_ROOT_DIR=/usr \
-DCMAKE_INSTALL_PREFIX=${prefix} \
-DCMAKE_PREFIX_PATH=$host_prefix \
-DCMAKE_FIND_ROOT_PATH=$prefix \
-DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} \
-DCMAKE_SYSROOT=$apple_sdk_root -DCMAKE_FRAMEWORK_PATH=$apple_sdk_root/System/Library/Frameworks -DCMAKE_OSX_DEPLOYMENT_TARGET=10.15 \
-DCMAKE_SYSROOT=$apple_sdk_root -DCMAKE_FRAMEWORK_PATH=$apple_sdk_root/System/Library/Frameworks -DCMAKE_OSX_DEPLOYMENT_TARGET=11 \
-DCMAKE_BUILD_TYPE=Release \
$qtsrcdir
;;
Expand Down

0 comments on commit f290fdf

Please sign in to comment.