From b23fb2f07fa9b8aac3524507aa6748bf9ccac08b Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Wed, 22 Jul 2015 12:03:02 +0200 Subject: [PATCH] qmake: Mark MakefileGenerator::Compiler as Q_MOVABLE_TYPE Change-Id: I6469ffe3027c8519e80b71f5014f7bd9474e836b Reviewed-by: Oswald Buddenhagen --- qmake/generators/makefile.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/qmake/generators/makefile.h b/qmake/generators/makefile.h index a67a0ec0fc0..86fec748ebe 100644 --- a/qmake/generators/makefile.h +++ b/qmake/generators/makefile.h @@ -155,6 +155,8 @@ protected: }; uint flags, type; }; + friend class QTypeInfo; + void initCompiler(const Compiler &comp); enum VPATHFlag { VPATH_NoFlag = 0x00, @@ -264,6 +266,7 @@ public: bool isWindowsShell() const { return Option::dir_sep == QLatin1String("\\"); } QString shellQuote(const QString &str); }; +Q_DECLARE_TYPEINFO(MakefileGenerator::Compiler, Q_MOVABLE_TYPE); Q_DECLARE_OPERATORS_FOR_FLAGS(MakefileGenerator::FileFixifyTypes) inline void MakefileGenerator::setNoIO(bool o)