Trouble with moc when compiling with Qt Creator on Windows
I get following error when trying to compile Librecad on Windows with Qt Creator:
/usr/bin/sh: C:\Qt\5.11.2\mingw53_32\bin\moc.exe: command not found
However moc.exe can be found under this path. I think that issue may be linked to calling /usr/bin/sh to run moc.exe. I searched for references to this in Librecad project to fix this but cannot find any. Any ideas what I can try to solve this?
Re: Trouble with moc when compiling with Qt Creator on Windows
Nope, not yet.
This sounds like a Qt setup issue. Moc, the meta object compiler, is part of Qt and should work out of the box.
Is this the first time using Qt?
Have you other projects to test with Qt or tried to build a Qt example project?
Which windows version?
Which Qt 5.11 package, MinGW or VS?
investing less than half an hour into Search function can save hours or days of waiting for a solution
/usr/bin/sh wouldn't be a valid command on Windows unless you're in a cygwin shell or something.
You try it without that?
By the way, I've made several changes that were just merged today, which address many issues with the windows build process. Try starting from scratch now and follow the build instructions carefully. By "from scratch" I mean uninstall everything including Qt. I agree with Armin's assessment, you probably made a wrong turn somewhere with your Qt install.