Error /usr/bin/sh: C:\Qt\Qt5.14.1\5.14.1\mingw73_64\bin\moc.exe: command not found
-
Hi
on Qt 5.14 under Win10 im getting following Error when trying to compile (executing g++):
/usr/bin/sh: C:\Qt\Qt5.14.1\5.14.1\mingw73_64\bin\moc.exe: command not found
Now /usr/bin/sh does not work on widows obviously, but i cant find were the wrong configuration is stored.
I have another project that compiles fine, but if i copy the project folder I get the same error again. So I guess the problem is not in the project folder.
I did look in the environment variables of windows but found nothing wrong.
Pleas help, thx. -
@VRonin Thanks for the hint, but unfortunately thats not it.
While compiling i get
.
08:50:16: Starte: "C:\Qt\Qt5.14.1\Tools\mingw730_64\bin\mingw32-make.exe" -j8
.
.
.
g++ -fno-keep-inline-dllexport -g -std=gnu++11 -Wall -Wextra -Wextra -dM -E -o moc_predefs.h C:/Qt/Qt5.14.1/5.14.1/mingw73_64/mkspecs/features/data/dummy.cpp
'C:\Qt\Qt5.14.1\5.14.1\mingw73_64\bin\moc.exe' -DUNICODE -D_UNICODE -DWIN32 -DMINGW_HAS_SECURE_API=1 -DQT_DEPRECATED_WARNINGS -DQT_QML_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_NEEDS_QMAIN --include C:/Users/Andi/Documents/qt/build-e-wiz-Desktop_Qt_5_14_1_MinGW_64_bit-Debug/moc_predefs.h -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/mkspecs/win32-g++ -I'C:/Users/Andi/Documents/qt/e-wiz-2 - Kopie' -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/include -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/include/QtWidgets -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/include/QtGui -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/include/QtANGLE -IC:/Qt/Qt5.14.1/5.14.1/mingw73_64/include/QtCore -I. -IC:/Qt/Qt5.14.1/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++ -IC:/Qt/Qt5.14.1/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/x86_64-w64-mingw32 -IC:/Qt/Qt5.14.1/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include/c++/backward -IC:/Qt/Qt5.14.1/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include -IC:/Qt/Qt5.14.1/Tools/mingw730_64/lib/gcc/x86_64-w64-mingw32/7.3.0/include-fixed -IC:/Qt/Qt5.14.1/Tools/mingw730_64/x86_64-w64-mingw32/include "../e-wiz-2 - Kopie/e-wiz-gui.h" -o moc_e-wiz-gui.cpp
/usr/bin/sh: C:\Qt\Qt5.14.1\5.14.1\mingw73_64\bin\moc.exe: command not found
mingw32-make: *** [Makefile:681: moc_e-wiz-gui.cpp] Error 127So its apparently mingw that tries starting bin/sh
Were does it get that idea from? Were are the configuration files?
And why do they depend on which folder my project is in???thx