在QT4.7中编译过程如下:
Running build steps for project hello...
Starting: "/usr/bin/make" clean -w
make: Entering directory `/home/linux/wcl/hello-build-desktop'
rm -f moc_mainwindow.cpp
rm -f ui_mainwindow.h
rm -f main.o mainwindow.o moc_mainwindow.o
rm -f *~ core *.core
make: Leaving directory `/home/linux/wcl/hello-build-desktop'
The process "/usr/bin/make" exited normally.
Configuration unchanged, skipping qmake step.
Starting: "/usr/bin/make" -w
make: Entering directory `/home/linux/wcl/hello-build-desktop'
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/bin/uic ../hello/mainwindow.ui -o ui_mainwindow.h
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/mkspecs/qws/linux-arm-g++ -I../hello -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include -I. -I. -I../hello -I. -o main.o ../hello/main.cpp
In file included from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qobject.h:48:0,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qcoreapplication.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/qapplication.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/QApplication:1,
from ../hello/main.cpp:1:
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/mkspecs/qws/linux-arm-g++ -I../hello -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include -I. -I. -I../hello -I. -o mainwindow.o ../hello/mainwindow.cpp
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4
In file included from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qobject.h:48:0,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/qwidget.h:46,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/qmainwindow.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/QMainWindow:1,
from ../hello/mainwindow.h:4,
from ../hello/mainwindow.cpp:1:
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/bin/moc -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/mkspecs/qws/linux-arm-g++ -I../hello -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include -I. -I. -I../hello -I. ../hello/mainwindow.h -o moc_mainwindow.cpp
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++ -c -pipe -g -Wall -W -D_REENTRANT -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/mkspecs/qws/linux-arm-g++ -I../hello -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtNetwork -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui -I/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include -I. -I. -I../hello -I. -o moc_mainwindow.o moc_mainwindow.cpp
In file included from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qobject.h:48:0,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/qwidget.h:46,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/qmainwindow.h:45,
from /usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtGui/QMainWindow:1,
from ../hello/mainwindow.h:4,
from moc_mainwindow.cpp:10:
/opt/FriendlyARM/toolschain/4.5.1/bin/arm-linux-g++ -Wl,-rpath,/usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib -o hello main.o mainwindow.o moc_mainwindow.o -L/usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib -lQtGui -L/usr/local/Trolltech/QtEmbedded-4.7.0-arm/lib -lQtNetwork -lQtCore -lpthread
/usr/local/Trolltech/QtEmbedded-4.7.0-arm/include/QtCore/qstring.h:187:17: note: the mangling of 'va_list' has changed in GCC 4.4
make: Leaving directory `/home/linux/wcl/hello-build-desktop'
The process "/usr/bin/make" exited normally.
不知道标识红体字的是什么意思?我用的交叉编译器是4.5.1