cl -c -nologo -Zm200 -Zc:wchar_t -Zi -MDd -GR -W3 -w34100 -w34189 -EHsc /Fddebug\sample.pdb -DUNICODE -DWIN32 -DWIN64 -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_CORE_LIB -I"..\..\..\..\..\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include" -I"..\..\..\..\..\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore" -I"debug" -I"." -I"..\..\..\..\..\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\mkspecs\win32-msvc2012" -Fodebug\ @C:\Users\Alex\AppData\Local\Temp\main.obj.932.0.jom main.cpp C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(325) : error C3555: incorrect argument to 'decltype' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(289) : see reference to function template instantiation 'QMetaObject::Connection QObject::connect(const QObject *,Func1,const QObject *,Func2,Qt::ConnectionType)' being compiled with [ Func1=void (__cdecl QObject::* )(const QString &,QObject::QPrivateSignal), Func2=std::reference_wrapper ] ..\sample\main.cpp(19) : see reference to function template instantiation 'QMetaObject::Connection QObject::connect>(const QObject *,Func1,Func2)' being compiled with [ _Ty=ObjectNameSlot, Func1=void (__cdecl QObject::* )(const QString &,QObject::QPrivateSignal), Func2=std::reference_wrapper ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(328) : error C2039: 'ReturnType' : is not a member of 'QtPrivate::FunctionPointer' with [ Func=int ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(328) : error C2146: syntax error : missing ';' before identifier 'SlotReturnType' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(328) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(328) : error C2065: 'SlotReturnType' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(333) : error C2039: 'Arguments' : is not a member of 'QtPrivate::FunctionPointer' with [ Func=int ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(333) : error C2146: syntax error : missing ',' before identifier 'Arguments' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(333) : error C2065: 'Arguments' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(333) : error C2955: 'QtPrivate::CheckCompatibleArguments' : use of class template requires template argument list C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(583) : see declaration of 'QtPrivate::CheckCompatibleArguments' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(337) : error C2065: 'SlotReturnType' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(337) : error C2923: 'QtPrivate::AreArgumentsCompatible' : 'SlotReturnType' is not a valid template type argument for parameter 'A1' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(337) : error C2955: 'QtPrivate::AreArgumentsCompatible' : use of class template requires template argument list C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(569) : see declaration of 'QtPrivate::AreArgumentsCompatible' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2825: 'L': must be a class or namespace when followed by '::' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : see reference to class template instantiation 'QtPrivate::List_Left' being compiled with [ L=void, N=-3 ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : see reference to class template instantiation 'QtPrivate::List_Left' being compiled with [ L=QtPrivate::List, N=-2 ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(349) : see reference to class template instantiation 'QtPrivate::List_Left' being compiled with [ L=QtPrivate::List>, N=-1 ] C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2039: 'Car' : is not a member of '`global namespace'' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2146: syntax error : missing ',' before identifier 'Car' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2065: 'Car' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2039: 'Cdr' : is not a member of '`global namespace'' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2146: syntax error : missing ',' before identifier 'Cdr' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2065: 'Cdr' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2146: syntax error : missing ',' before identifier 'Value' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2065: 'Value' : undeclared identifier C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C3203: 'List' : unspecialized class template can't be used as a template argument for template parameter 'Tail', expected a real type C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(71) : error C2955: 'QtPrivate::List' : use of class template requires template argument list C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(70) : see declaration of 'QtPrivate::List' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(70) : see declaration of 'QtPrivate::List' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(350) : error C3203: 'List' : unspecialized class template can't be used as a template argument for template parameter 'Args', expected a real type C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(350) : error C2955: 'QtPrivate::List' : use of class template requires template argument list C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobjectdefs_impl.h(70) : see declaration of 'QtPrivate::List' C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject.h(350) : error C2514: 'QtPrivate::QFunctorSlotObject' : class has no constructors C:\Qt\Qt5.2.1\5.2.1\msvc2012_64_opengl\include\QtCore/qobject_impl.h(187) : see declaration of 'QtPrivate::QFunctorSlotObject'