-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathfetch_qt.bzl
37 lines (32 loc) · 1.3 KB
/
fetch_qt.bzl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
"""qt library fetch"""
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
def fetch_qt6():
"""function which fetch remote prebuild qt libraries or use local qt(in macos)
"""
http_archive(
name = "qt_windows_x86_64",
urls = [
"https://vertexwahn.de/lfs/v1/qt_6.4.0_windows_desktop_win64_msvc2019_64.zip",
],
sha256 = "e3c20b441ddd8bb803e46de32bf2fc5563fda125409d62dcd12b5647ae5a9c7e",
strip_prefix = "6.4.0/msvc2019_64",
build_file = "@rules_qt//:qt_windows_x86_64.BUILD",
)
http_archive(
name = "qt_linux_x86_64",
urls = [
"https://vertexwahn.de/lfs/v1/qt_6.4.0_linux_desktop_gcc_64.tar.xz",
],
sha256 = "809919895e2ac0567df9290676d4ec6cd1ed39c432dc5da0722b3104681fd376",
strip_prefix = "6.4.0/gcc_64",
build_file = "@rules_qt//:qt_linux_x86_64.BUILD",
)
http_archive(
name = "qt_mac_aarch64",
urls = [
"https://dl.dropboxusercontent.com/scl/fi/8io4wc9cx2kd2vfwswjmg/qt_6.8.0_mac_aarch64_gamepad.tar.xz?rlkey=afkk9qrub9i1gmelv7vktgtci&dl=0",
],
sha256 = "07be3436bfb31b3a2e629907ca39a8652febe563046094cdc7373b7ff28228c4",
strip_prefix = "Qt-6.8.0",
build_file = "@rules_qt//:qt_mac_aarch64.BUILD",
)