diff --git a/src/plugins/projectexplorer/environmentwidget.cpp b/src/plugins/projectexplorer/environmentwidget.cpp index 2ea3f3d0bb6..af0829792cb 100644 --- a/src/plugins/projectexplorer/environmentwidget.cpp +++ b/src/plugins/projectexplorer/environmentwidget.cpp @@ -52,6 +52,7 @@ namespace ProjectExplorer { class EnvironmentValidator : public QValidator { + Q_OBJECT public: EnvironmentValidator(QWidget *parent, Utils::EnvironmentModel *model, QTreeView *view, @@ -409,3 +410,5 @@ void Internal::EnvironmentTreeView::keyPressEvent(QKeyEvent *event) } // namespace ProjectExplorer + +#include "environmentwidget.moc" diff --git a/src/plugins/projectexplorer/waitforstopdialog.h b/src/plugins/projectexplorer/waitforstopdialog.h index 42530caccc7..ed1f04956f9 100644 --- a/src/plugins/projectexplorer/waitforstopdialog.h +++ b/src/plugins/projectexplorer/waitforstopdialog.h @@ -46,6 +46,7 @@ namespace Internal { class WaitForStopDialog : public QDialog { + Q_OBJECT public: WaitForStopDialog(QList runControls); diff --git a/src/plugins/qmlprofiler/qmlprofileroptionspage.h b/src/plugins/qmlprofiler/qmlprofileroptionspage.h index 5698902cd5f..635e3e85039 100644 --- a/src/plugins/qmlprofiler/qmlprofileroptionspage.h +++ b/src/plugins/qmlprofiler/qmlprofileroptionspage.h @@ -39,6 +39,7 @@ namespace Internal { class QmlProfilerOptionsPage : public Core::IOptionsPage { + Q_OBJECT public: QmlProfilerOptionsPage(); diff --git a/src/plugins/qmlprofiler/qmlprofilerrunconfigurationaspect.cpp b/src/plugins/qmlprofiler/qmlprofilerrunconfigurationaspect.cpp index 459ae255e9f..b2721302fc7 100644 --- a/src/plugins/qmlprofiler/qmlprofilerrunconfigurationaspect.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerrunconfigurationaspect.cpp @@ -45,7 +45,7 @@ QmlProfilerRunConfigurationAspect::QmlProfilerRunConfigurationAspect( setProjectSettings(new QmlProfilerSettings()); setGlobalSettings(QmlProfilerPlugin::globalSettings()); setId(Constants::SETTINGS); - setDisplayName(tr("QML Profiler Settings")); + setDisplayName(QCoreApplication::translate("QmlProfilerRunConfiguration", "QML Profiler Settings")); setUsingGlobalSettings(true); resetProjectToGlobalSettings(); }