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?