首先:
export QTDIR=$PWD
export QTEDIR=$QTDIR
export PATH=$QTDIR/bin:$PATH
export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
配置:
[root@hd-linux qt-embedded-free-3.1.1]# ./configure -embedded mips -debug -shared -thread
This is the Qt/Embedded Free Edition.
You are licensed to use this software under the terms of
the GNU General Public License (GPL).
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.
Do you accept the terms of the license? yes
Creating qmake. Please wait...
gmake: Nothing to be done for `all'.
Choose pixel-depths to support:
   4. 4bpp grayscale - also enables 8bpp
   8. 8bpp
  16. 16bpp
  24. 24bpp - also enables 32bpp
  32. 32bpp
Each depth adds around 100Kb on 80386.
Your choices (default 8,16,32):
32
Building on:   qws/linux-x86-g++
Building for:  qws/linux-mips-g++
Configuration .......  minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace network canvas table xml sql debug dll thread embedded png no-gif zlib cups bigcodecs ft
STL support ......... no
Thread support ...... yes
NIS support ......... no
CUPS support ........ yes
Large File support .. no
GIF support ......... no
MNG support ......... plugin (qt)
JPEG support ........ plugin (qt)
PNG support ......... yes (qt)
zlib support ........ yes
Embedded support .... mips
Finding project files. Please wait...
  238 projects found.
Creating makefiles. Please wait...
  for /home/testuser/qt-embedded-free-3.1.1/src/moc/moc.pro
  for /home/testuser/qt-embedded-free-3.1.1/src/qt.pro
WARNING: Failure to find: .moc/debug-shared-mt-emb-mips/allmoc.cpp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  for /home/testuser/qt-embedded-free-3.1.1/tools/tools.pro
看allmoc文件在哪里:
[root@hd-linux debug-shared-mt-emb-mips]# pwd
/home/testuser/qt-embedded-free-3.1.1/src/.moc/debug-shared-mt-emb-mips
[root@hd-linux debug-shared-mt-emb-mips]# ls
qcolordialog.moc     qeffects.moc     qkbdtty_qws.moc   qmovie.moc         qsplitter.moc  qwhatsthis.moc
qcopchannel_qws.moc  qfiledialog.moc  qmainwindow.moc   qprocess_unix.moc  qtable.moc     qworkspace.moc
qdatetimeedit.moc    qftp.moc         qmessagebox.moc   qscrollview.moc    qtoolbar.moc
qdockwindow.moc      qkbd_qws.moc     qmousepc_qws.moc  qsoundqss_qws.moc  qtooltip.moc
这个目录下果然没有?
怎么回事呢?
是不是需要到哪里去下一个?
[ 此贴被XChinux在2005-11-25 22:31重新编辑 ]