From 81d9aa7ad86c5b778dd1a03a79348b7f15d08e85 Mon Sep 17 00:00:00 2001 From: Yohei Yukawa Date: Tue, 24 Dec 2024 17:50:59 +1030 Subject: [PATCH] Fix misused `glob` in `BUILD.qt_win.bazel` (#1151) This follows up to my previous commit [1], which aimed to enable us to use Bazel to build executables with Qt6 dependencies. Thanks to '--incompatible_disallow_empty_glob', which is going to be enabled by default from Bazel 8.0, it is clear that an empty list was set to 'hdrs' despite my intention. Let's fix it (#1150). There must be no change in the final artifacts. [1]: 019911b19d430ed5e111f7766613a5b2c56a16cc PiperOrigin-RevId: 709014821 --- src/bazel/BUILD.qt_win.bazel | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/bazel/BUILD.qt_win.bazel b/src/bazel/BUILD.qt_win.bazel index c988a091f..1dcb85a15 100644 --- a/src/bazel/BUILD.qt_win.bazel +++ b/src/bazel/BUILD.qt_win.bazel @@ -25,7 +25,9 @@ cc_library( ], }), hdrs = glob([ - "include", + "include/QtCore/*", + "include/QtGui/*", + "include/QtWidgets/*", ]), includes = [ "include",