Hello, Thiago. >I want to see the command-line to the compiler Here is compile command and its output (till next compile file)
cl -c -FIQtQuickDepends -YuQtQuickDepends -Fp.pch\release\Qt5Quick_pch.pch -nologo -Zc:wchar_t -FS -O2 -MD -Zc:strictStrings -D_HAS_EXCEPTIONS=0 -W3 -w34100 -w34189 -w44996 -DUNICODE -DWIN32 -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_INTEGER_EVENT_COORDINATES -D_CRT_SECURE_NO_WARNINGS -DQT_BUILD_QUICK_LIB -DQT_BUILDING_QT -D_USE_MATH_DEFINES -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_QML_LIB -DQT_NO_QML_DEBUGGER -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_DYNAMIC_CAST -DNDEBUG -D_WINDLL -IA:\qtt\__\580\qtdeclarative\src\quick -I. -IA:\qtt\__\580\qtdeclarative\src\quick -IA:\qtt\__\580\qtdeclarative\include -IA:\qtt\__\580\qtdeclarative\include\QtQuick -I..\..\include -I..\..\include\QtQuick -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8. 0\QtQuick -I..\..\include\QtQuick\5.8.0 -I..\..\include\QtQuick\5.8.0\QtQuick -Itmp -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0 -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0\QtGui -IA:\qt\qtbase\include\QtGui\5.8.0 -IA:\qt\qtbase\include\QtGui\5.8.0\QtGui -IA:\qtt\__\580\qtdeclarative\include\QtQml\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQml\5.8.0\QtQml -I..\..\include\QtQml\5.8.0 -I..\..\include\QtQml\5.8.0\QtQml -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0 -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0\QtCore -IA:\qt\qtbase\include\QtCore\5.8.0 -IA:\qt\qtbase\include\QtCore\5.8.0\QtCore -IA:\qtt\__\580\qtbase\include -IA:\qtt\__\580\qtbase\include\QtGui -IA:\qt\qtbase\include -IA:\qt\qtbase\include\QtGui -IA:\qtt\__\580\qtdeclarative\include\QtQml -I..\..\include\QtQml -IA:\qtt\__\580\qtbase\include\QtNetwork -IA:\qt\qtbase\include\QtNetwork -IA:\qtt\__\580\qtbase\include\QtCore -IA:\qt\qtbase\include\QtCore -I.moc\release -IA:\qtt\__\580\qtbase\mkspecs\win32-msvc2013 -Fo.ob j\release\ @C:\Temp\qsgsoftwarecontext.obj.6564.26031.jom qsgsoftwarecontext.cpp qsgabstractsoftwarerenderer.cpp a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error C2825: 'T': must be a class or namespace when followed by '::' A:\qtt\__\580\qtdeclarative\src\quick\scenegraph\adaptations\software\qsgsoftwarepublicnodes.cpp(101) : see reference to function template instantiation 'T qt_dynamic_cast_check<QSGSoftwarePixmapTexture*,QSGTexture*>(X,T *)' being compiled with [ T=QSGSoftwarePixmapTexture * , X=QSGTexture * ] a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error C2039: 'dynamic_cast_will_always_fail_because_rtti_is_disabled' : is not a member of '`global namespace'' a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error C2146: syntax error : missing ';' before identifier 'dynamic_cast_will_always_fail_because_rtti_is_disabled' a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error C2275: 'T' : illegal use of this type as an expression A:\qtt\__\580\qtdeclarative\src\quick\scenegraph\adaptations\software\qsgsoftwarepublicnodes.cpp(101) : see declaration of 'T' a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/global/qglobal.h(1009) : error C2065: 'dynamic_cast_will_always_fail_because_rtti_is_disabled' : undeclared identifier A:\qtt\__\580\qtdeclarative\src\quick\scenegraph\adaptations\software\qsgsoftwarepublicnodes.cpp(104) : see declaration of 'T' > Why is RTTI disabled? All previous versions of Qt I build successfully without RTTI (I did not need it and I was glad that Qt did not need it too). This is not the case any more starting from Qt 5.8.0? Or its more complex ... like some modules needs RTTI and some not? But OK. Let's assume that RTTI is necessary for qtdeclarative. If I remove -no-rtti flag from config I get another error message ( Qt 5.8.0 building seems not an easy job :) ) First error is in : qtdeclarative\src\plugins\scenegraph\d3d12\Makefile.Debug [.obj\debug\qsgd3d12shadereffectnode.obj] Error 2 and it is : cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -D_HAS_EXCEPTIONS=0 -GR -W3 -w34100 -w34189 -w44996 /Fd.obj\debug\qsgd3d12backendd.vc.pdb -DUNICODE -DWIN32 -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NO_QML_DEBUGGER -DQT_NETWORK_LIB -DQT_CORE_LIB -D_WINDLL -IA:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12 -I. -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8.0\QtQuick -I..\..\..\..\include\QtQuick\5.8.0 -I..\..\..\..\include\QtQuick\5.8.0\QtQuick -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0 -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0\QtGui -IA:\qt\qtbase\include\QtGui\5.8.0 -IA:\qt\qtbase\include\QtGui\5.8.0\QtGui -IA:\qtt\__\580\qtdeclarative\include -IA:\qtt\__\580\qtdeclarative\include\QtQuick -I..\..\..\..\include -I..\..\..\..\include\QtQuick -IA:\qtt\__\580\qtbase\include -IA:\qtt\__\580\qtbase\include\QtGui -IA:\qt\qtbase\include -IA:\qt\qtbase\include\QtGui -IA:\qtt\__\580\qtdecl arative\include\QtQml\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQml\5.8.0\QtQml -I..\..\..\..\include\QtQml\5.8.0 -I..\..\..\..\include\QtQml\5.8.0\QtQml -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0 -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0\QtCore -IA:\qt\qtbase\include\QtCore\5.8.0 -IA:\qt\qtbase\include\QtCore\5.8.0\QtCore -IA:\qtt\__\580\qtdeclarative\include\QtQml -I..\..\..\..\include\QtQml -IA:\qtt\__\580\qtbase\include\QtNetwork -IA:\qt\qtbase\include\QtNetwork -IA:\qtt\__\580\qtbase\include\QtCore -IA:\qt\qtbase\include\QtCore -I.moc\debug -IA:\qtt\__\580\qtbase\mkspecs\win32-msvc2013 -Fo.obj\debug\ @A:\Temp\qsgd3d12shadereffectnode.obj.6140.21313.jom qsgd3d12shadereffectnode.cpp A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(544) : error C2061: syntax error : identifier 'textureProviders' A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(545) : error C2446: '!=' : no conversion from 'QSGTextureProvider *&(__cdecl *)(void)' to 'QSGTextureProvider *' There is no context in which this conversion is possible A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(545) : error C2040: '!=' : 'QSGTextureProvider *' differs in levels of indirection from 'QSGTextureProvider *&(__cdecl *)(void)' A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(546) : warning C4551: function call missing argument list A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(548) : error C2665: 'QObject::disconnect' : none of the 5 overloads could convert all the argument types a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(333): could be 'bool QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)' a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(331): or 'bool QObject::disconnect(const QObject *,const char *,const QObject *,const char *)' while trying to match the argument list '(QSGTextureProvider *&(__cdecl *)(void), const char *, QSGD3D12ShaderEffectNode *, const char *)' A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(550) : error C2665: 'QObject::disconnect' : none of the 5 overloads could convert all the argument types a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(333): could be 'bool QObject::disconnect(const QObject *,const QMetaMethod &,const QObject *,const QMetaMethod &)' a:\qtt\__\580\qtbase\include\qtcore\../../src/corelib/kernel/qobject.h(331): or 'bool QObject::disconnect(const QObject *,const char *,const QObject *,const char *)' while trying to match the argument list '(QSGTextureProvider *&(__cdecl *)(void), const char *, QSGD3D12ShaderEffectNode *, const char *)' A:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12\qsgd3d12shadereffectnode.cpp(564) : error C2659: '=' : function as left operand cl -c -nologo -Zc:wchar_t -FS -Zi -MDd -D_HAS_EXCEPTIONS=0 -GR -W3 -w34100 -w34189 -w44996 /Fd.obj\debug\qsgd3d12backendd.vc.pdb -DUNICODE -DWIN32 -DQT_NO_EXCEPTIONS -DQT_PLUGIN -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NO_QML_DEBUGGER -DQT_NETWORK_LIB -DQT_CORE_LIB -D_WINDLL -IA:\qtt\__\580\qtdeclarative\src\plugins\scenegraph\d3d12 -I. -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQuick\5.8.0\QtQuick -I..\..\..\..\include\QtQuick\5.8.0 -I..\..\..\..\include\QtQuick\5.8.0\QtQuick -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0 -IA:\qtt\__\580\qtbase\include\QtGui\5.8.0\QtGui -IA:\qt\qtbase\include\QtGui\5.8.0 -IA:\qt\qtbase\include\QtGui\5.8.0\QtGui -IA:\qtt\__\580\qtdeclarative\include -IA:\qtt\__\580\qtdeclarative\include\QtQuick -I..\..\..\..\include -I..\..\..\..\include\QtQuick -IA:\qtt\__\580\qtbase\include -IA:\qtt\__\580\qtbase\include\QtGui -IA:\qt\qtbase\include -IA:\qt\qtbase\include\QtGui -IA:\qtt\__\580\qtdecl arative\include\QtQml\5.8.0 -IA:\qtt\__\580\qtdeclarative\include\QtQml\5.8.0\QtQml -I..\..\..\..\include\QtQml\5.8.0 -I..\..\..\..\include\QtQml\5.8.0\QtQml -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0 -IA:\qtt\__\580\qtbase\include\QtCore\5.8.0\QtCore -IA:\qt\qtbase\include\QtCore\5.8.0 -IA:\qt\qtbase\include\QtCore\5.8.0\QtCore -IA:\qtt\__\580\qtdeclarative\include\QtQml -I..\..\..\..\include\QtQml -IA:\qtt\__\580\qtbase\include\QtNetwork -IA:\qt\qtbase\include\QtNetwork -IA:\qtt\__\580\qtbase\include\QtCore -IA:\qt\qtbase\include\QtCore -I.moc\debug -IA:\qtt\__\580\qtbase\mkspecs\win32-msvc2013 -Fo.obj\debug\ @A:\Temp\qsgd3d12spritenode.obj.6140.22688.jom qsgd3d12spritenode.cpp Thanks for helping Thiago! PS What about Win10 SDK question? It is required now or it is bug in build system? PS2 Full config string is following (if it matters): configure -make-tool jom -shared -debug-and-release -platform win32-msvc2013 -opensource -confirm-license -prefix A:\qt\_ -optimized-tools -opengl desktop -no-angle -no-directwrite -no-avx2 -avx -sse4.2 -sse4.1 -ssse3 -sse3 -sse2 -no-icu -no-ltcg -no-incredibuild-xge -no-compile-examples -no-openssl -no-system-proxies -no-ssl -no-gif -no-libjpeg -qt-libpng -no-dbus -no-sql-sqlite -no-sql-mysql -no-sql-sqlite2 -no-sql-psql -no-sql-oci -no-sql-odbc -no-sql-tds -no-sql-db2 -no-sql-ibase -no-qml-debug -no-inotify -no-evdev -no-mtdev -no-eventfd -nomake tools -nomake examples -nomake tests _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest