summaryrefslogtreecommitdiff
path: root/gnu/packages/engineering.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-05-29 15:41:06 +0200
committerRicardo Wurmus <rekado@elephly.net>2018-05-29 15:41:06 +0200
commitb347317ae67c80d9ff3baca42aaab45002fc73e6 (patch)
tree0c6e064d340762f0848d0bb70b8b9c8fc16a5247 /gnu/packages/engineering.scm
parent82b695b834f88c5561de40e68f3fe7aa24d3b796 (diff)
parent6cedd611774f91056c70d8d3a175d514b9b9fc76 (diff)
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/engineering.scm')
-rw-r--r--gnu/packages/engineering.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 13d24997ed..0f137dd035 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -110,6 +110,13 @@
(string-append "#include <boost/serialization/array_wrapper.hpp>\n"
line)))
#t))
+ ;; Fix build against Qt 5.11.
+ (add-after 'unpack 'add-missing-headers
+ (lambda _
+ (substitute* "librecad/src/ui/generic/widgetcreator.cpp"
+ (("#include <QPushButton>") "#include <QPushButton>
+#include <QActionGroup>"))
+ #t))
(add-after 'unpack 'patch-paths
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))