qt-bazel-example
qt-bazel-example copied to clipboard
Build error.
Got the following error using the current BUILD.qt
external/qt/QtWidgets/qwidget.h:45:31: fatal error: QtGui/qwindowdefs.h: No such file or directory #include <QtGui/qwindowdefs.h>
The error seems due to missing header files under QtGUI. Including all header files when building target qt_widgets solves the problem.
hdrs = glob(["QtWidgets/**", "**",]),