cmakeprojectmanager2
cmakeprojectmanager2 copied to clipboard
cannot compile this on Windows
I tried to compile it on windows, so that the windows qt could have a file view when using cmake. But it fails to compile for reporting C1083 qtsupport/qtprojectmorter.h etc. I guess it is because cmakeprojectmanager_dependencies did not add this plugin at first. But it is a wrong shoot.
Any ideas about how to fix it? I'm hoping to use this remarkable QTC plugin on windows.
Hi, thanks for report, but I never deal with Windows and QtC and have no any prepared setups to build/test it.
Also, it is possible that current version of CMakeProjectManager2 can't build with last QtC version due to API changes. I sync sources time-to-time and it is possible to have such situation.
Also, I can't found any reference to the qtsupport/qtprojectmorter.h in my current sources... Could you please provide full error report?
https://github.com/h4tr3d/cmakeprojectmanager2/blob/master/cmakeprojectimporter.h line 28
qtcreator-4.2.2\bin\jom.exe -f Makefile C:\Qt\qtcreator-4.2.2\bin\jom.exe -f Makefile.Release C:\Qt\5.7\msvc2015_64\bin\uic.exe D:\GIT\qtc\src\plugins\debugger\cdb\cdboptionspagewidget.ui -o ui_cdboptionspagewidget.h C:\Qt\5.7\msvc2015_64\bin\uic.exe D:\GIT\qtc\src\plugins\debugger\shared\symbolpathsdialog.ui -o ui_symbolpathsdialog.h qtcreator_gui_pch.h d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectimporter.h(28): fatal error C1083: 无法打开包括文件: “qtsupport/qtprojectimporter.h”: No such file or directory cl -c -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -EHsc -DUNICODE -DWIN32 -DWIN64 -DCMAKEPROJECTMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DNDEBUG -ID:\GIT\qtc\src\plugins\cmakeprojectmanager -I. -I/src/plugins/texteditor -IC:\Qt\5.7\msvc2015_64\include -IC:\Qt\5.7\msvc2015_64\include\QtGui -IC:\Qt\5.7\msvc2015_64\include\QtANGLE -IC:\Qt\5.7\msvc2015_64\include\QtCore -Irelease -IC:\Qt\5.7\msvc2015_64\mkspecs\win32-msvc2015 -Forelease\ @C:\Users\511\AppData\Local\Temp\cmakeproject.obj.48916.265.jom cmakeproject.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectimporter.h(28): fatal error C1083: 无法打开包括文件: “qtsupport/qtprojectimporter.h”: No such file or directory cmakeprojectimporter.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectimporter.h(28): fatal error C1083: 无法打开包括文件: “qtsupport/qtprojectimporter.h”: No such file or directory cmakeprojectplugin.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectplugin.h(28): fatal error C1083: 无法打开包括文件: “extensionsystem/iplugin.h”: No such file or directory cmakeprojectmanager.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectmanager.h(28): fatal error C1083: 无法打开包括文件: “projectexplorer/project.h”: No such file or directory 正在生成代码... builddirreader.cpp C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQMLJSTOOLS_LIBRARY -DQMLJSTOOLS_STATIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/qmljstools -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/qmljstools -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\qmljstools\qmljsbundleprovider.h -o release\moc_qmljsbundleprovider.cpp C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/autotoolsprojectmanager -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/autotoolsprojectmanager -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\autotoolsprojectmanager\autotoolsmanager.h -o release\moc_autotoolsmanager.cpp C:\Qt\5.7\msvc2015_64\bin\uic.exe D:\GIT\qtc\src\plugins\qmakeprojectmanager\qmakeprojectconfigwidget.ui -o ui_qmakeprojectconfigwidget.h cl -c -Yc -Fprelease\Debugger_pch.pch -Forelease\Debugger_pch.obj -nologo -Zc:wchar_t -FS -Zc:strictStrings -Zc:throwingNew -O2 -MD -EHsc -GR -W3 -w34100 -w34189 -w44996 -w44456 -w44457 -w44458 -wd4577 -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DDEBUGGER_LIBRARY -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -I......\src -ID:\GIT\qtc\src -ID:\GIT\qtc\src\libs -ID:/GIT/qtc/tools -ID:\GIT\qtc\src\plugins -ID:\GIT\qtc\src\shared -ID:\GIT\qtc\src\libs\3rdparty -I. -ID:\GIT\qtc\src\shared\registryaccess -IC:\Qt\5.7\msvc2015_64\include -IC:\Qt\5.7\msvc2015_64\include\QtWidgets -IC:\Qt\5.7\msvc2015_64\include\QtGui -IC:\Qt\5.7\msvc2015_64\include\QtANGLE -IC:\Qt\5.7\msvc2015_64\include\QtConcurrent -IC:\Qt\5.7\msvc2015_64\include\QtNetwork -IC:\Qt\5.7\msvc2015_64\include\QtCore -Irelease -I. -IC:\Qt\5.7\msvc2015_64\mkspecs\win32-msvc2015 -TP D:\GIT\qtc\src\shared\qtcreator_gui_pch.h qtcreator_gui_pch.h C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DDESIGNER_LIBRARY -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DCPP_ENABLED -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_DESIGNERCOMPONENTS_LIB -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/designer -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/designer -ID:/GIT/qtc/src/shared/designerintegrationv2 -ID:/GIT/qtc/src/shared -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtPrintSupport -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents/5.7.0/QtDesignerComponents -IC:/Qt/5.7/msvc2015_64/include/QtDesigner/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtDesigner/5.7.0/QtDesigner -IC:/Qt/5.7/msvc2015_64/include/QtDesigner -IC:/Qt/5.7/msvc2015_64/include/QtUiPlugin -IC:/Qt/5.7/msvc2015_64/include/QtWidgets/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtWidgets/5.7.0/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtGui/5.7.0/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtXml -IC:/Qt/5.7/msvc2015_64/include/QtCore/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtCore/5.7.0/QtCore -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\shared\designerintegrationv2\widgethost.h -o release\moc_widgethost.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakeprojectimporter.h(28): fatal error C1083: 无法打开包括文件: “qtsupport/qtprojectimporter.h”: No such file or directory cmakebuildstep.cpp d:\git\qtc\src\plugins\cmakeprojectmanager\cmakebuildstep.h(28): fatal error C1083: 无法打开包括文件: “projectexplorer/abstractprocessstep.h”: No such file or directory cmakeconfigitem.cpp C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQMLJSTOOLS_LIBRARY -DQMLJSTOOLS_STATIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/qmljstools -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/qmljstools -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\qmljstools\qmljstoolsplugin.h -o release\moc_qmljstoolsplugin.cpp C:\Qt\5.7\msvc2015_64\bin\rcc.exe -name beautifier D:\GIT\qtc\src\plugins\beautifier\beautifier.qrc -o release\qrc_beautifier.cpp C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/autotoolsprojectmanager -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/autotoolsprojectmanager -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\autotoolsprojectmanager\autotoolsproject.h -o release\moc_autotoolsproject.cpp C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DDESIGNER_LIBRARY -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DCPP_ENABLED -DQT_NO_DEBUG -DQT_PLUGIN -DQT_PRINTSUPPORT_LIB -DQT_DESIGNERCOMPONENTS_LIB -DQT_DESIGNER_LIB -DQT_UIPLUGIN_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_XML_LIB -DQT_CORE_LIB -DQDESIGNER_EXPORT_WIDGETS -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/designer -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/designer -ID:/GIT/qtc/src/shared/designerintegrationv2 -ID:/GIT/qtc/src/shared -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtPrintSupport -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtDesignerComponents/5.7.0/QtDesignerComponents -IC:/Qt/5.7/msvc2015_64/include/QtDesigner/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtDesigner/5.7.0/QtDesigner -IC:/Qt/5.7/msvc2015_64/include/QtDesigner -IC:/Qt/5.7/msvc2015_64/include/QtUiPlugin -IC:/Qt/5.7/msvc2015_64/include/QtWidgets/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtWidgets/5.7.0/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtGui/5.7.0/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtXml -IC:/Qt/5.7/msvc2015_64/include/QtCore/5.7.0 -IC:/Qt/5.7/msvc2015_64/include/QtCore/5.7.0/QtCore -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\shared\designerintegrationv2\sizehandlerect.h -o release\moc_sizehandlerect.cpp C:\Qt\5.7\msvc2015_64\bin\uic.exe D:\GIT\qtc\src\plugins\qmakeprojectmanager\librarydetailswidget.ui -o ui_librarydetailswidget.h D:\GIT\qtc\src\plugins\cmakeprojectmanager\cmakeconfigitem.cpp(28): fatal error C1083: 无法打开包括文件: “projectexplorer/kit.h”: No such file or directory C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQMLJSTOOLS_LIBRARY -DQMLJSTOOLS_STATIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/qmljstools -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/qmljstools -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\qmljstools\qmljstoolssettings.h -o release\moc_qmljstoolssettings.cpp
正在生成代码... jom: D:\GIT\build-qtcreator-Qt5_7MSVC14-Release\src\plugins\cmakeprojectmanager\Makefile.Release [release\builddirmanager.obj] Error 2 C:\Qt\5.7\msvc2015_64\bin\moc.exe -DUNICODE -DWIN32 -DWIN64 -DIDE_LIBRARY_BASENAME="lib" -DQT_CREATOR -DQT_NO_CAST_TO_ASCII -DQT_RESTRICTED_CAST_FROM_ASCII -DQT_DISABLE_DEPRECATED_BEFORE=0x050600 -DQT_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -D_CRT_SECURE_NO_WARNINGS -DQMAKE_AS_LIBRARY -DPROPARSER_THREAD_SAFE -DPROEVALUATOR_THREAD_SAFE -DPROEVALUATOR_CUMULATIVE -DPROEVALUATOR_DUAL_VFS -DPROEVALUATOR_SETENV -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CONCURRENT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DNDEBUG -D_MSC_VER=1900 -D_WIN32 -D_WIN64 -IC:/Qt/5.7/msvc2015_64/mkspecs/win32-msvc2015 -ID:/GIT/qtc/src/plugins/autotoolsprojectmanager -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src -ID:/GIT/qtc/src -ID:/GIT/qtc/src/libs -ID:/GIT/qtc/tools -ID:/GIT/qtc/src/plugins -ID:/GIT/qtc/src/shared -ID:/GIT/qtc/src/libs/3rdparty -ID:/GIT/build-qtcreator-Qt5_7MSVC14-Release/src/plugins/autotoolsprojectmanager -IC:/Qt/5.7/msvc2015_64/include -IC:/Qt/5.7/msvc2015_64/include/QtWidgets -IC:/Qt/5.7/msvc2015_64/include/QtGui -IC:/Qt/5.7/msvc2015_64/include/QtANGLE -IC:/Qt/5.7/msvc2015_64/include/QtConcurrent -IC:/Qt/5.7/msvc2015_64/include/QtNetwork -IC:/Qt/5.7/msvc2015_64/include/QtCore D:\GIT\qtc\src\plugins\autotoolsprojectmanager\autotoolsbuildsettingswidget.h -o release\moc_autotoolsbuildsettingswidget.cpp jom: D:\GIT\build-qtcreator-Qt5_7MSVC14-Release\src\plugins\cmakeprojectmanager\Makefile.Release [release\cmakeproject.obj] Error 2 jom: D:\GIT\build-qtcreator-Qt5_7MSVC14-Release\src\plugins\cmakeprojectmanager\Makefile [release] Error 2 jom: D:\GIT\build-qtcreator-Qt5_7MSVC14-Release\src\plugins\Makefile [sub-cmakeprojectmanager-make_first] Error 2
I think there's few works we could do to fix this issue, so that QTC@windows could use cmake smoothly. that would be a great work.
also I compiled this source code on QTC release V4.2.2
it also fails on MinGW5.3
log here: C:/Qt/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release mingw32-make[4]: Entering directory 'D:/GIT/build-qtcreator-Qt5_7MinGW-Release/src/plugins/cmakeprojectmanager' g++ -c -pipe -fno-keep-inline-dllexport -O2 -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DCMAKEPROJECTMANAGER_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN -ID:\GIT\qtc\src\plugins\cmakeprojectmanager -I. -I/src/plugins/texteditor -IC:\Qt\5.7\mingw53_32\include -IC:\Qt\5.7\mingw53_32\include\QtGui -IC:\Qt\5.7\mingw53_32\include\QtANGLE -IC:\Qt\5.7\mingw53_32\include\QtCore -Irelease -IC:\Qt\5.7\mingw53_32\mkspecs\win32-g++ -o release\builddirmanager.o D:\GIT\qtc\src\plugins\cmakeprojectmanager\builddirmanager.cpp In file included from D:\GIT\qtc\src\plugins\cmakeprojectmanager\cmakeproject.h:29:0, from D:\GIT\qtc\src\plugins\cmakeprojectmanager\builddirreader.h:29, from D:\GIT\qtc\src\plugins\cmakeprojectmanager\builddirmanager.h:28, from D:\GIT\qtc\src\plugins\cmakeprojectmanager\builddirmanager.cpp:26: D:\GIT\qtc\src\plugins\cmakeprojectmanager\cmakeprojectimporter.h:28:41: fatal error: qtsupport/qtprojectimporter.h: No such file or directory compilation terminated. Makefile.Release:1823: recipe for target 'release/builddirmanager.o' failed mingw32-make[4]: Leaving directory 'D:/GIT/build-qtcreator-Qt5_7MinGW-Release/src/plugins/cmakeprojectmanager' mingw32-make[4]: *** [release/builddirmanager.o] Error 1 Makefile:34: recipe for target 'release' failed mingw32-make[3]: Leaving directory 'D:/GIT/build-qtcreator-Qt5_7MinGW-Release/src/plugins/cmakeprojectmanager' mingw32-make[3]: *** [release] Error 2 Makefile:665: recipe for target 'sub-cmakeprojectmanager-make_first' failed mingw32-make[2]: *** [sub-cmakeprojectmanager-make_first] Error 2 mingw32-make[2]: Leaving directory 'D:/GIT/build-qtcreator-Qt5_7MinGW-Release/src/plugins' Makefile:393: recipe for target 'sub-plugins-make_first-ordered' failed mingw32-make[1]: *** [sub-plugins-make_first-ordered] Error 2 mingw32-make[1]: Leaving directory 'D:/GIT/build-qtcreator-Qt5_7MinGW-Release/src' Makefile:39: recipe for target 'sub-src-make_first-ordered' failed mingw32-make: *** [sub-src-make_first-ordered] Error 2 23:18:59: 进程"C:\Qt\Tools\mingw530_32\bin\mingw32-make.exe"退出,退出代码 2 。 Error while building/deploying project qtcreator (kit: Qt5.7MinGW) The kit Qt5.7MinGW has configuration issues which might be the root cause for this problem. When executing step "Make"
I changed .pro file to pass by these errors temperately, but it seems this source cannot compiled @QTC 4.2.2 because #include <cpptools/cpprawprojectpart.h> in builddirreader.h cannot be found in plugin cpptools... any information about how to fix this?