qt-interest@trolltech.com
[Top] [All Lists]

Re: Antwort: Re: Cross compile QT for XScale

Subject: Re: Antwort: Re: Cross compile QT for XScale
From:
Date: Thu, 18 May 2006 17:16:59 +0530 IST
hi ,

Thanks for your response..

Still i am getting error while doing make in qt source.
Following are the details.....

We installed cross-compiler toolchain (xscale-tools), and its configured
correctly. We checked using simple hello world program.

As u said, we gets xscale-elf-gcc,
xscale-elf-g++ etc. tools from crosscompiler path
(/root/crosscompiler/bin/xscale-elf-gcc)

In qmake.conf(/root/qt-x11-free-3.1.1/mkspecs/xscale-elf/qmake.conf)
replaced xscale-elf-gcc and xscale-elf-g++ by
/root/crosscompiler/bin/xscale-elf-gcc and
/root/crosscompiler/bin/xscale-elf-g++ respectively.

and done configuration using,
./configure -xplatform xscale-elf

output is:::


WARNING: /usr/X11R6/lib/libGL.so is threaded!
The Qt OpenGL module requires Qt to be configured with -thread.

This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
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 either license?

This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
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 either license? yes
Creating qmake. Please wait...
gmake -f Makefile qmake
gmake[1]: Entering directory `/usr/local/qt-x11-free-3.1.1/qmake'
gmake[1]: `qmake' is up to date.
gmake[1]: Leaving directory `/usr/local/qt-x11-free-3.1.1/qmake'

        This target is using the GNU C++ compiler (linux-g++).

        Recent versions of this compiler automatically include code for
        exceptions, which increase both the size of the Qt library and the
        amount of memory taken by your applications.

        You may elect to re-run configure with the -no-exceptions
        option to compile Qt without exceptions.  This is completely binary
        compatible, and existing applications should continue to work.


Building on:   linux-g++
Building for:  xscale-elf

Configuration .......  minimal-config small-config medium-config
large-config full-config styles tools kernel widgets dialogs iconview
workspace network canvas table xml sql release dll largefile stl png
no-gif zlib cups bigcodecs x11sm xinerama xrender xftfreetype xkb
STL support ......... yes
Thread support ...... no
NIS support ......... no
CUPS support ........ yes
Large File support .. partial
GIF support ......... no
MNG support ......... plugin (qt)
JPEG support ........ plugin (qt)
PNG support ......... yes (qt)
zlib support ........ yes
OpenGL support ...... no
NAS sound support ... no
Session management .. yes
Xinerama support .... yes
Tablet support ...... no
XRender support ..... yes
Xft support ......... yes
XKB Support ......... yes

Finding project files. Please wait...
  233 projects found.

Creating makefiles. Please wait...
  for /usr/local/qt-x11-free-3.1.1/src/moc/moc.pro
  for /usr/local/qt-x11-free-3.1.1/src/qt.pro
  for /usr/local/qt-x11-free-3.1.1/tools/tools.pro
  for /usr/local/qt-x11-free-3.1.1/tools/assistant/lib/lib.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/uilib/uilib.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/editor/editor.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/designer.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/designer/designer.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/plugins.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/linguist.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/tutorial.pro
  for /usr/local/qt-x11-free-3.1.1/extensions/motif/src/src.pro
Project MESSAGE: QMotif requires a Qt/Enterprise edition.
  for /usr/local/qt-x11-free-3.1.1/extensions/motif/motif.pro
Project MESSAGE: QMotif requires a Qt/Enterprise license.
  for /usr/local/qt-x11-free-3.1.1/extensions/motif/examples/examples.pro
  for /usr/local/qt-x11-free-3.1.1/extensions/extensions.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/sql.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/overview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/fonts/fonts.pro
  for /usr/local/qt-x11-free-3.1.1/examples/examples.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/imageformats/imageformats.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/sqldrivers/sqldrivers.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/src.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/codecs.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/accessible/accessible.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/accessible/widgets/widgets.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/styles.pro
  for /usr/local/qt-x11-free-3.1.1/tools/qvfb/qvfb.pro
  for /usr/local/qt-x11-free-3.1.1/tools/makeqpf/makeqpf.pro
  for /usr/local/qt-x11-free-3.1.1/tools/assistant/assistant.pro
  for /usr/local/qt-x11-free-3.1.1/tools/mergetr/mergetr.pro
  for /usr/local/qt-x11-free-3.1.1/tools/qtconfig/qtconfig.pro
  for /usr/local/qt-x11-free-3.1.1/tools/msg2qm/msg2qm.pro
  for /usr/local/qt-x11-free-3.1.1/tools/qembed/qembed.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/app/app.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/uic/uic.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/tools/conv2ui/conv2ui.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/tools/createcw/createcw.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/uilib/test/test.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/examples/vcr/vcr.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book1/book1.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book2/book2.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book3/book3.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book4/book4.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book5/book5.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book6/book6.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book7/book7.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/book/book8/book8.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/colortool/colortool.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/receiver1/receiver.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/receiver2/receiver.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/examples/credit/credit.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/multiclip/multiclip.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/richedit/richedit.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/sizeaware/sizeaware.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/examples/metric/metric.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/addressbook/addressbook.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/filechooser/plugin/plugin.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/examples/filechooser/widget/filechooser.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/rc/rc.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/dlg/dlg.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/kdevdlg/kdevdlg.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/glade/glade.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/plugins/cppeditor/cppeditor.pro
  for
/usr/local/qt-x11-free-3.1.1/tools/designer/plugins/qglwidget/qglwidget.pro
  for /usr/local/qt-x11-free-3.1.1/tools/designer/plugins/wizards/wizards.pro
  for /usr/local/qt-x11-free-3.1.1/tools/qconfig/qconfig.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/qm2ts/qm2ts.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/lrelease/lrelease.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/lupdate/lupdate.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/tutorial/tt1/tt1.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/tutorial/tt2/tt2.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/tutorial/tt3/tt3.pro
  for /usr/local/qt-x11-free-3.1.1/tools/linguist/linguist/linguist.pro
  for /usr/local/qt-x11-free-3.1.1/config.tests/x11/notype/notypetest.pro
  for /usr/local/qt-x11-free-3.1.1/config.tests/unix/stl/stltest.pro
  for
/usr/local/qt-x11-free-3.1.1/config.tests/unix/largefile/largefiletest.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t1/t1.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t2/t2.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t3/t3.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t4/t4.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t5/t5.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t6/t6.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t7/t7.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t8/t8.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t9/t9.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t10/t10.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t11/t11.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t12/t12.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t13/t13.pro
  for /usr/local/qt-x11-free-3.1.1/tutorial/t14/t14.pro
  for
/usr/local/qt-x11-free-3.1.1/extensions/motif/examples/customwidget/customwidget.pro
  for
/usr/local/qt-x11-free-3.1.1/extensions/motif/examples/dialog/dialog.pro
  for /usr/local/qt-x11-free-3.1.1/examples/mdi/mdi.pro
  for /usr/local/qt-x11-free-3.1.1/examples/qfd/qfd.pro
  for /usr/local/qt-x11-free-3.1.1/examples/qtl/qtl.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/blob/blob.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/sqltable/sqltable.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/basicbrowsing/basicbrowsing.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/basicdatamanip/basicdatamanip.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/custom1/custom1.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/form1/form1.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/form2/form2.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/subclass1/subclass1.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/subclass2/subclass2.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/subclass3/subclass3.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/subclass4/subclass4.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/subclass5/subclass5.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/delete/delete.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/extract/extract.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/connect1/connect1.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/navigating/navigating.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/insert/insert.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/order1/order1.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/order2/order2.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/table1/table1.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/table2/table2.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/table3/table3.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/table4/table4.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/update/update.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/basicbrowsing2/basicbrowsing2.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/create_connections/create_connections.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sql/overview/insert2/insert2.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/retrieve1/retrieve1.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/sql/overview/retrieve2/retrieve2.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tux/tux.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/xml/tagreader-with-features/tagreader-with-features.pro
  for /usr/local/qt-x11-free-3.1.1/examples/xml/outliner/outliner.pro
  for /usr/local/qt-x11-free-3.1.1/examples/xml/tagreader/tagreader.pro
  for /usr/local/qt-x11-free-3.1.1/examples/biff/biff.pro
  for /usr/local/qt-x11-free-3.1.1/examples/i18n/i18n.pro
  for /usr/local/qt-x11-free-3.1.1/examples/demo/demo.pro
  for /usr/local/qt-x11-free-3.1.1/examples/life/life.pro
  for /usr/local/qt-x11-free-3.1.1/examples/menu/menu.pro
  for /usr/local/qt-x11-free-3.1.1/examples/qdir/qdir.pro
  for /usr/local/qt-x11-free-3.1.1/examples/qmag/qmag.pro
  for /usr/local/qt-x11-free-3.1.1/examples/drawlines/drawlines.pro
  for /usr/local/qt-x11-free-3.1.1/examples/desktop/desktop.pro
  for /usr/local/qt-x11-free-3.1.1/examples/dirview/dirview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/chart/chart.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/fonts/simple-qfont-demo/simple-qfont-demo.pro
  for /usr/local/qt-x11-free-3.1.1/examples/hello/hello.pro
  for /usr/local/qt-x11-free-3.1.1/examples/popup/popup.pro
  for /usr/local/qt-x11-free-3.1.1/examples/rot13/rot13.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/table/small-table-demo/small-table-demo.pro
  for /usr/local/qt-x11-free-3.1.1/examples/table/statistics/statistics.pro
  for /usr/local/qt-x11-free-3.1.1/examples/table/bigtable/bigtable.pro
  for /usr/local/qt-x11-free-3.1.1/examples/sound/sound.pro
  for /usr/local/qt-x11-free-3.1.1/examples/xform/xform.pro
  for /usr/local/qt-x11-free-3.1.1/examples/rangecontrols/rangecontrols.pro
  for /usr/local/qt-x11-free-3.1.1/examples/gridview/gridview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/application/application.pro
  for /usr/local/qt-x11-free-3.1.1/examples/splitter/splitter.pro
  for /usr/local/qt-x11-free-3.1.1/examples/listbox/listbox.pro
  for /usr/local/qt-x11-free-3.1.1/examples/showimg/showimg.pro
  for /usr/local/qt-x11-free-3.1.1/examples/customlayout/customlayout.pro
  for /usr/local/qt-x11-free-3.1.1/examples/listboxcombo/listboxcombo.pro
  for /usr/local/qt-x11-free-3.1.1/examples/iconview/simple_dd/simple_dd.pro
  for /usr/local/qt-x11-free-3.1.1/examples/iconview/iconview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/dragdrop/dragdrop.pro
  for /usr/local/qt-x11-free-3.1.1/examples/drawdemo/drawdemo.pro
  for /usr/local/qt-x11-free-3.1.1/examples/progressbar/progressbar.pro
  for /usr/local/qt-x11-free-3.1.1/examples/aclock/aclock.pro
  for /usr/local/qt-x11-free-3.1.1/examples/action/action.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/action/toggleaction/toggleaction.pro
  for /usr/local/qt-x11-free-3.1.1/examples/textedit/textedit.pro
  for /usr/local/qt-x11-free-3.1.1/examples/helpviewer/helpviewer.pro
  for /usr/local/qt-x11-free-3.1.1/examples/canvas/canvas.pro
  for /usr/local/qt-x11-free-3.1.1/examples/scribble/scribble.pro
  for /usr/local/qt-x11-free-3.1.1/examples/dclock/dclock.pro
  for /usr/local/qt-x11-free-3.1.1/examples/cursor/cursor.pro
  for /usr/local/qt-x11-free-3.1.1/examples/forever/forever.pro
  for /usr/local/qt-x11-free-3.1.1/examples/fileiconview/fileiconview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/scrollview/scrollview.pro
  for /usr/local/qt-x11-free-3.1.1/examples/network/mail/mail.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/clientserver/client/client.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/clientserver/server/server.pro
  for /usr/local/qt-x11-free-3.1.1/examples/network/httpd/httpd.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/infoprotocol/infoserver/infoserver.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/infoprotocol/infourlclient/infourlclient.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/infoprotocol/infoclient/infoclient.pro
  for /usr/local/qt-x11-free-3.1.1/examples/network/ftpclient/ftpclient.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/networkprotocol/networkprotocol.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/network/remotecontrol/remotecontrol.pro
  for /usr/local/qt-x11-free-3.1.1/examples/richtext/richtext.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tooltip/tooltip.pro
  for /usr/local/qt-x11-free-3.1.1/examples/buttongroups/buttongroups.pro
  for /usr/local/qt-x11-free-3.1.1/examples/layout/layout.pro
  for /usr/local/qt-x11-free-3.1.1/examples/movies/movies.pro
  for /usr/local/qt-x11-free-3.1.1/examples/addressbook/addressbook.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/box/box.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/gear/gear.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/texture/texture.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/glpixmap/glpixmap.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/sharedbox/sharedbox.pro
  for
/usr/local/qt-x11-free-3.1.1/examples/opengl/overlay_x11/overlayrubber.pro
  for /usr/local/qt-x11-free-3.1.1/examples/opengl/overlay/overlay.pro
  for /usr/local/qt-x11-free-3.1.1/examples/qwerty/qwerty.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tablet/tablet.pro
  for /usr/local/qt-x11-free-3.1.1/examples/checklists/checklists.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tetrix/tetrix.pro
  for /usr/local/qt-x11-free-3.1.1/examples/themes/themes.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tictac/tictac.pro
  for /usr/local/qt-x11-free-3.1.1/examples/thread/semaphores/semaphores.pro
  for /usr/local/qt-x11-free-3.1.1/examples/thread/prodcons/prodcons.pro
  for /usr/local/qt-x11-free-3.1.1/examples/listviews/listviews.pro
  for /usr/local/qt-x11-free-3.1.1/examples/extension/extension.pro
  for /usr/local/qt-x11-free-3.1.1/examples/wizard/wizard.pro
  for /usr/local/qt-x11-free-3.1.1/examples/lineedits/lineedits.pro
  for /usr/local/qt-x11-free-3.1.1/examples/progress/progress.pro
  for /usr/local/qt-x11-free-3.1.1/examples/tabdialog/tabdialog.pro
  for /usr/local/qt-x11-free-3.1.1/examples/picture/picture.pro
  for /usr/local/qt-x11-free-3.1.1/examples/widgets/widgets.pro
  for /usr/local/qt-x11-free-3.1.1/examples/process/process.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/imageformats/mng/mng.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/imageformats/png/png.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/imageformats/jpeg/jpeg.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/sqldrivers/odbc/odbc.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/sqldrivers/psql/psql.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/sqldrivers/mysql/mysql.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/ar/ar.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/cn/cn.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/jp/jp.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/kr/kr.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/codecs/tw/tw.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/cde/cde.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/sgi/sgi.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/compact/compact.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/windowsxp/windowsxp.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/motif/motif.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/platinum/platinum.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/motifplus/motifplus.pro
  for /usr/local/qt-x11-free-3.1.1/plugins/src/styles/windows/windows.pro

Qt is now configured for building. Just run gmake.
To reconfigure, run gmake confclean and configure.


_________________________________

but when we do gmake , output is as follows


/usr/local/qt-x11-free-3.1.1/bin/qmake -o Makefile examples/aclock/aclock.pro
( cd /usr/local/qt-x11-free-3.1.1/src/moc ; gmake )
gmake[1]: Entering directory `/usr/local/qt-x11-free-3.1.1/src/moc'
xscale-elf-g++ -c -pipe -O2  -DQT_MOC -DQT_NO_CODECS -DQT_LITE_UNICODE
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS
-I/usr/local/qt-x11-free-3.1.1/mkspecs/linux-g++ -I.
-I../../../../include/freetype2 -I../../include -I../tools -I. -o
./qbuffer.o ../tools/qbuffer.cpp
In file included from ../tools/qiodevice.h:42,
                 from ../tools/qbuffer.h:42,
                 from ../tools/qbuffer.cpp:38:
../tools/qglobal.h:153:4: #error "Qt has not been ported to this OS - talk
to qt-bugs@xxxxxxxxxxxxx"
gmake[1]: *** [qbuffer.o] Error 1
gmake[1]: Leaving directory `/usr/local/qt-x11-free-3.1.1/src/moc'
gmake: *** [/usr/local/qt-x11-free-3.1.1/bin/moc] Error 2




Thanks in advance..

Regards,
Niranjan.




> Hi!
>
> Dimitri <dimitri@xxxxxxxxxxxxx> wrote on 18.05.2006 11:45:55:
>
>> Hi,
>>
>> > Can u tell me, what are neccssary steps to cross-compile qt for ARM
> XScale.
>> > [..]
>> > I downloaded qt-x11-free-3.1.1 from qt source. and done the following,
>> >
>> > ./configure -xplatform=xscale-elf
>> > [...]
>> > Can u tell me what's the problem??? and how to resolve it...
>>
>>
> http://lists.trolltech.com/qt-embedded-interest/2006-05/thread00014-0.html
>>
>> What the problem is I have already told you:
>>    Option -xplatform is for Qt/Embedded, it won't work
>>    with Qt/X11 (at least not out-of-the-box).
>>
>> What the solution is, I don't know. I just gave a few hints:
>>    You need to modify the Qt build system. Changing the
>>    configure script and adding a linux-arm-g++ entry in
>>    the mkspecs directory might be enough, but I don't
>>    have experience with that.
>
> This works for qtopia-core 4.1.x
>
> first you have to install a cross-compiler toolchain. let´s say, you
> isntalled in /opt/toolchain/
> Normaly you would find a folder bin, which contains your
> cross-compiler-tools e.g.:
> /opt/toolchain/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/
> arm-linux-gnu-g++
>
> Then you have to edit your qmake.conf for your architecture:
> qtopia-core-opensource-src-4.1.2/mkspecs/qws/linux-arm-g++/qmake.conf
> the easiest way is to replace ALL occurences of
> arm-linux-
> with the path to your files
> /opt/toolchain/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-linux-gnu-
> so
> arm-linux-g++
> would become
> /opt/toolchain/gcc-4.0.2-glibc-2.3.6/arm-softfloat-linux-gnu/bin/arm-linux-gnu-g++
> and so on.
> After that, you have to tell your sources, that you want to compile on
> linux for arm. Do this by adding
> -embedded arm to your configuration
> ./configure -embedded arm
> have a look at the other possibilities of configure with ./configure
> --help
> If everything is okay, then run make. You should see outputs like
> building on linux-g++
> target linux-arm-g++
>
> if this is done, run make install as root and your finished...
>
> hth,
> Andy
>


--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with 
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>