From 85e28409955eb984127a5b87583a62a96812605c Mon Sep 17 00:00:00 2001 From: Andreas Schenk <andreas_schenk@hms.harvard.edu> Date: Mon, 13 Feb 2012 18:37:13 -0500 Subject: [PATCH] workaroung for QT bug 22829 --- modules/gui/src/python_shell/python_interpreter_worker.hh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/gui/src/python_shell/python_interpreter_worker.hh b/modules/gui/src/python_shell/python_interpreter_worker.hh index 7d38dd544..4c36b2750 100644 --- a/modules/gui/src/python_shell/python_interpreter_worker.hh +++ b/modules/gui/src/python_shell/python_interpreter_worker.hh @@ -3,8 +3,11 @@ #include <csignal> #include <utility> -#include <boost/python.hpp> -#include <boost/shared_ptr.hpp> +// workaround for QTBUG-22829: https://bugreports.qt-project.org/browse/QTBUG-22829 +#ifndef Q_MOC_RUN + #include <boost/python.hpp> + #include <boost/shared_ptr.hpp> +#endif #include "output_redirector.hh" #include <QObject> #include <QQueue> -- GitLab