summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-12-17 11:00:10 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-12-17 10:51:10 +0000
commit141d5e24126ef919ad624b04e8c959c664e9e410 (patch)
treefb6ac42c14b85e358b9f2811827e2f20883d2801
parent166afd652166b42cc50ca0bee0aa0524201a9d28 (diff)
downloadqt-creator-141d5e24126ef919ad624b04e8c959c664e9e410.tar.gz
Fix build with namespaced Qt
Fixes: QTCREATORBUG-23368 Change-Id: I3887b08587becd46bc203bb0bc4069521247498f Reviewed-by: hjk <hjk@qt.io>
-rw-r--r--src/plugins/clangpchmanager/clangindexingprojectsettingswidget.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/plugins/clangpchmanager/clangindexingprojectsettingswidget.h b/src/plugins/clangpchmanager/clangindexingprojectsettingswidget.h
index 2a3b4293b5..846e8bde23 100644
--- a/src/plugins/clangpchmanager/clangindexingprojectsettingswidget.h
+++ b/src/plugins/clangpchmanager/clangindexingprojectsettingswidget.h
@@ -27,13 +27,11 @@
#include <QWidget>
-namespace ProjectExplorer {
-class Project;
-}
+namespace ProjectExplorer { class Project; }
-namespace Ui {
-class ClangIndexingProjectSettingsWidget;
-}
+QT_BEGIN_NAMESPACE
+namespace Ui { class ClangIndexingProjectSettingsWidget; }
+QT_END_NAMESPACE
namespace ClangPchManager {