diff --git a/src/plugins/debugger/commonoptionspage.h b/src/plugins/debugger/commonoptionspage.h index b018c2b94a101ed6bceb4f52866e9569e586910d..5f25bb3ffef698173a8d880418ed2e54003647b7 100644 --- a/src/plugins/debugger/commonoptionspage.h +++ b/src/plugins/debugger/commonoptionspage.h @@ -55,6 +55,7 @@ class GlobalDebuggerOptions; class CommonOptionsPageWidget : public QWidget { + Q_OBJECT public: explicit CommonOptionsPageWidget(const QSharedPointer<Utils::SavedActionSet> &group, QWidget *parent = 0); diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp index 37dc520b120c5d62c6ae35c901947d69678aecd3..cc13b97895a093d5e0ce182e6c31ca97928dd274 100644 --- a/src/plugins/projectexplorer/customtoolchain.cpp +++ b/src/plugins/projectexplorer/customtoolchain.cpp @@ -365,6 +365,7 @@ CustomToolChain *CustomToolChainFactory::createToolChain(bool autoDetect) class TextEditDetailsWidget : public DetailsWidget { + Q_DECLARE_TR_FUNCTIONS(ProjectExplorer::Internal::TextEditDetailsWidget) public: TextEditDetailsWidget(QPlainTextEdit *textEdit) {