summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Cercueil <paul.cercueil@analog.com>2015-10-12 12:19:42 +0200
committerPaul Cercueil <paul.cercueil@analog.com>2015-10-12 12:20:11 +0200
commit1c2c2b8e799d2f69b9776c66f201316ba1465cd5 (patch)
tree0551fea107ecfda78426aaa05e15922da8f3077a
parent585e7fbe857a9df6cc2030392334219d2659db50 (diff)
gr-qtgui: Add a workaround for an upstream bug of 'uic'
The Qt5 version of the 'uic' compiler generates incorrect code right now. The bug has been reported (https://bugreports.qt.io/browse/QTBUG-48492) and is pending review. Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
-rw-r--r--gr-qtgui/include/QtWidgets/QRegExpValidator9
1 files changed, 9 insertions, 0 deletions
diff --git a/gr-qtgui/include/QtWidgets/QRegExpValidator b/gr-qtgui/include/QtWidgets/QRegExpValidator
new file mode 100644
index 0000000000..17f6ce8333
--- /dev/null
+++ b/gr-qtgui/include/QtWidgets/QRegExpValidator
@@ -0,0 +1,9 @@
+/*
+ * The Qt5 version of the 'uic' compiler generates incorrect code right now.
+ * The bug has been reported (https://bugreports.qt.io/browse/QTBUG-48492) and
+ * is pending review.
+ *
+ * This file will make sure that the build of gr-qtgui will succeed with the
+ * broken version of 'uic'.
+ */
+#include <QtGui/QRegExpValidator>