[Interest] 转发: [Qt-embedded-interest] A Problem when I cross compile the qt-4.8

Thiago Macieira thiago.macieira at intel.com
Mon Apr 9 14:48:56 CEST 2012


On segunda-feira, 9 de abril de 2012 13.13.09, sxjyx2004 wrote:
> Creating qmake. Please wait...
> g++ -c -o project.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I. -Igenerators
> -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian
> -Igenerators/integrity
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/include
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/include/QtCore
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/src/corelib/global
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/src/corelib/xml
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/tools/shared
> -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT
> -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL
> -DQT_NO_COMPRESS
> -I/home/sxj/work/qt-everywhere-opensource-src-4.8.0-arm/mkspecs/qws/linux-x
> 86-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT
> -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED  project.cpp ^Cmake: *** Deleting
> file `project.o'
> make: *** [project.o] Interrupt
> 
> It is very strange ,I had input the "-xplatform qws/linux-arm-gnueabi-g++
> ",but it seems like that it use the "mkspecs/qws/linux-x86-g++ " and "g++"
> , who has met this similar problems? 

What problems?

The only thing weird above is that you seem to have pressed Ctrl+C. Was that 
the case? If so, does the configuring end successfully if you don't interrupt 
it?

Note that qmake, moc, uic, and rcc are bootstrapped host tools: they are 
always compiled with the host compiler. The libraries will be compiled with 
your cross-compiler.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120409/fc5360fa/attachment.sig>


More information about the Interest mailing list