Qt5.7/mingw/windows8.1 qmake. 新規インストール。プロジェクト ファイルで qmake を実行すると、上記のエラー メッセージが表示されますが、makefile は生成され、ビルドされ、プロジェクトは機能します (そのように見えます)。
コマンドラインから qmake を実行します。PATHに追加したパスは次のとおりです。
I:\Qtmg\Qt5.7.0\5.7\mingw53_32\bin;i:\Qtmg\Qt5.7.0\Tools\mingw530_32\bin;I:\Qtmg\Qt5.7.0\Tools\QtCreator\bin
これは構成ファイルまたはキャッシュと関係がありますか? もしそうなら、これらはどこにあるでしょうか。また、qmake が必要とする他の外部状態はありますか。
ありがとう。
EDIT#1プロジェクトファイルは次のとおりです。
TEMPLATE = app
QT += qml quick quickcontrols2
CONFIG += console
SOURCES += main.cpp
RESOURCES += qml.qrc
編集 #2: QtCreator 4.0.2 からの出力
一般メッセージ タブ:
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
出力タブをコンパイルし、qmake を実行します。
14:49:57: Running steps for project Q1...
14:49:57: Starting: "I:\Qtmg\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe" I:\larry\qt\q9edit\Q1.pro -r -spec win32-g++ "CONFIG+=debug" "CONFIG+=qml_debug"
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
14:49:57: The process "I:\Qtmg\Qt5.7.0\5.7\mingw53_32\bin\qmake.exe" exited normally.
14:49:57: Elapsed time: 00:00.
出力をコンパイルし、再構築します。
14:51:32: Running steps for project Q1...
14:51:32: Starting: "I:\Qtmg\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" clean
I:/Qtmg/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug clean
mingw32-make[1]: Entering directory 'I:/larry/qt/q9edit'
rm -f debug/qrc_qml.cpp
rm -f debug/main.o debug/qrc_qml.o
mingw32-make[1]: Leaving directory 'I:/larry/qt/q9edit'
I:/Qtmg/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Release clean
mingw32-make[1]: Entering directory 'I:/larry/qt/q9edit'
rm -f release/qrc_qml.cpp
rm -f release/main.o release/qrc_qml.o
mingw32-make[1]: Leaving directory 'I:/larry/qt/q9edit'
14:51:33: The process "I:\Qtmg\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
14:51:33: Configuration unchanged, skipping qmake step.
14:51:33: Starting: "I:\Qtmg\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe"
I:/Qtmg/Qt5.7.0/Tools/mingw530_32/bin/mingw32-make -f Makefile.Debug
mingw32-make[1]: Entering directory 'I:/larry/qt/q9edit'
g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQuickControls2 -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQuick -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtGui -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtANGLE -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQml -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtNetwork -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtCore -Idebug -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/mkspecs/win32-g++ -o debug/main.o main.cpp
'I:\Qtmg\Qt5.7.0\5.7\mingw53_32\bin\rcc.exe' -name qml qml.qrc -o debug/qrc_qml.cpp
g++ -c -pipe -fno-keep-inline-dllexport -g -std=gnu++11 -frtti -Wall -Wextra -fexceptions -mthreads -DUNICODE -DQT_QML_DEBUG -DQT_QUICKCONTROLS2_LIB -DQT_QUICK_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQuickControls2 -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQuick -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtGui -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtANGLE -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtQml -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtNetwork -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/include/QtCore -Idebug -I../../../Qtmg/Qt5.7.0/5.7/mingw53_32/mkspecs/win32-g++ -o debug/qrc_qml.o debug/qrc_qml.cpp
g++ -Wl,-subsystem,console -mthreads -o debug/Q1.exe debug/main.o debug/qrc_qml.o -LI:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5QuickControls2d.a I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5Quickd.a I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5Guid.a I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5Qmld.a I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5Networkd.a I:/Qtmg/Qt5.7.0/5.7/mingw53_32/lib/libQt5Cored.a
mingw32-make[1]: Leaving directory 'I:/larry/qt/q9edit'
14:51:34: The process "I:\Qtmg\Qt5.7.0\Tools\mingw530_32\bin\mingw32-make.exe" exited normally.
14:51:34: Elapsed time: 00:02.