Trouble with moc when compiling with Qt Creator on Windows

Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Trouble with moc when compiling with Qt Creator on Windows

Tiansen
Hello,

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?
Reply | Threaded
Open this post in threaded view
|

Re: Trouble with moc when compiling with Qt Creator on Windows

Tiansen
Nobody encountered this error?
Reply | Threaded
Open this post in threaded view
|

Re: Trouble with moc when compiling with Qt Creator on Windows

LordOfBikes
Administrator
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?

Armin