diff --git a/src/plugins/genericprojectmanager/filesselectionwizardpage.h b/src/plugins/genericprojectmanager/filesselectionwizardpage.h index 80cd1beceec..0d9c36348a0 100644 --- a/src/plugins/genericprojectmanager/filesselectionwizardpage.h +++ b/src/plugins/genericprojectmanager/filesselectionwizardpage.h @@ -32,10 +32,12 @@ #include +QT_BEGIN_NAMESPACE class QVBoxLayout; class QLabel; class QTreeView; class QLineEdit; +QT_END_NAMESPACE namespace GenericProjectManager { namespace Internal { diff --git a/src/plugins/genericprojectmanager/selectablefilesmodel.h b/src/plugins/genericprojectmanager/selectablefilesmodel.h index b2c37fcb892..fcd09beb5d4 100644 --- a/src/plugins/genericprojectmanager/selectablefilesmodel.h +++ b/src/plugins/genericprojectmanager/selectablefilesmodel.h @@ -38,9 +38,9 @@ #include #include -class QLabel; -class QTreeView; +QT_BEGIN_NAMESPACE class QVBoxLayout; +QT_END_NAMESPACE namespace GenericProjectManager { namespace Internal {