[Development] CMake for Qt5: Cross Compilation for Windows using MinGW-w64
Stephen Kelly
stephen.kelly at kdab.com
Thu Aug 30 18:33:57 CEST 2012
On Thursday, August 30, 2012 23:53:27 Loaden wrote:
<snip>
> > loaden at qpsoft:~/qpSOFT/Projects/qtdemo/m64$ make
> > Scanning dependencies of target helloworld_automoc
> > [ 20%] Automoc for target helloworld
> > Generating moc_mainwindow.cpp
> > No such file or directory
> > AUTOMOC: error: process for
> > /home/loaden/qpSOFT/Projects/qtdemo/m64/moc_mainwindow.cpp failed:
> > No such file or directory
> > moc failed...
> > make[2]: *** [CMakeFiles/helloworld_automoc] Error 1
> > make[1]: *** [CMakeFiles/helloworld_automoc.dir/all] Error 2
> > make: *** [all] Error 2
Update your qtbase checkout to make sure
5408225286dfdd4cd957c129db0873cbbab05bc0 (cmake: use .exe suffix only on
Windows) is in it.
If you use make VERBOSE=1 you'll see that make is attempting to run moc.exe,
which does not exist.
Thanks,
--
Stephen Kelly <stephen.kelly at kdab.com> | Software Engineer
KDAB (Deutschland) GmbH & Co.KG, a KDAB Group Company
www.kdab.com || Germany +49-30-521325470 || Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-Independent Software Solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120830/d598edd3/attachment.sig>
More information about the Development
mailing list