How to build qt-extended?

Lorn Potter lpotter at trolltech.com
Fri Oct 3 00:18:21 CEST 2008


Nicola Mfb wrote:
> I'm trying to build qt-extended myself, but build process fails, anyone 
> may help?
> 
> This is what i did:
> 
> cd /opt
> wget http://qtextended.org/downloads/neo/arm920t-eabi-ficgta01-toolchain.tgz
> tar xzvfC arm920t-eabi-ficgta01-toolchain.tgz /
> wget 
> http://qtextended.org/downloads/source/qt-extended-opensource-src-4.4.1.tar.gz
> tar xvzf qt-extended-opensource-src-4.4.1.tar.gz
> mkdir build
> cd build
> export QTOPIA_DEPOT_PATH=/opt/qt-extended-4.4.1
> $QTOPIA_DEPOT_PATH/configure -device neo
> 
> it results in:
> 
> 
> *******************************************************************************
> Configuring Qt Extended (expanded commandline):
> -using-device neo -ui-type mobile -dynamic-rotation -ssl -dbus -libamr
> -pictureflow -add-mediaengines cruxus -add-modules bluetooth 
> -add-modules cell
> -add-modules connectivity -add-modules devtools -add-modules essentials
> -add-modules games -add-modules inputmethods -add-modules location 
> -add-modules
> media -add-modules messaging -add-modules pim -add-modules pkgmanagement
> -add-modules telephony -add-modules ui -displaysize 480x640 -font
> dejavu_sans_condensed:10,12,13,16,28:50 -font
> dejavu_sans_condensed:13,14,15,16,20,21,23,32,36:75 -xplatform linux-neo-g++
> -arch arm -languages en_US -prefix /opt/Trolltech/Qtopia
> -extra-qtopiacore-config -qt-mouse-tslib -sound-system alsa -mkconf -make
> /usr/bin/gmake -no-save-options -make /usr/bin/gmake -using-mkconf
> -no-save-options
> *******************************************************************************
> 
> 
> This is the Qt Extended Open Source Edition.
> 
> You are licensed to use this software under the terms of the GPL.
> Please see the file LICENSE.GPL for the licensing terms.
> 
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
> 
> Do you accept this license agreement? yes
> 
> Testing the system Qt: OK
> Qt Extended is using the following locations:
> Qt          PREFIX      = /usr
> Qt          LIBRARIES   = /usr/lib/qt4
> Qt          BINARIES    = /usr/bin
> Qt          HEADERS     = /usr/include/qt4
> Qt Embedded SOURCE tree = /opt/qt-extended-4.4.1/qtopiacore/qt
> Qt Embedded BUILD  tree = /opt/build/qtopiacore/target
> Qt Extended SOURCE tree = /opt/qt-extended-4.4.1
> Qt Extended BUILD  tree = /opt/build
> Qt Extended SDK    tree = /opt/build/sdk
> 
> Checking the compiler (host): OK (GCC 4, Little Endian)
> Checking the compiler (target): OK (GCC 4, Little Endian)
> Bootstrap QBuild: ............................... OK
> Testing QBuild: OK
> Testing for ALSA: OK
> Testing Qt Extended Media Engines: cruxus
> Checking QMAKE_RPATH: -Wl,-rpath-link,
> Testing for OpenSSL: FAIL
> ERROR: You requested -ssl but it was disabled.
> gmake: *** [src/build/mkconf/configure] Error 1
> 
> adding -no-ssl switch to configure line:
> 
> 
> *******************************************************************************
> Configuring Qt Extended (expanded commandline):
> -using-device neo -ui-type mobile -dynamic-rotation -ssl -dbus -libamr
> -pictureflow -add-mediaengines cruxus -add-modules bluetooth 
> -add-modules cell
> -add-modules connectivity -add-modules devtools -add-modules essentials
> -add-modules games -add-modules inputmethods -add-modules location 
> -add-modules
> media -add-modules messaging -add-modules pim -add-modules pkgmanagement
> -add-modules telephony -add-modules ui -displaysize 480x640 -font
> dejavu_sans_condensed:10,12,13,16,28:50 -font
> dejavu_sans_condensed:13,14,15,16,20,21,23,32,36:75 -xplatform linux-neo-g++
> -arch arm -languages en_US -prefix /opt/Trolltech/Qtopia
> -extra-qtopiacore-config -qt-mouse-tslib -sound-system alsa -no-ssl -mkconf
> -make /usr/bin/gmake -no-save-options -make /usr/bin/gmake -using-mkconf
> -no-save-options
> *******************************************************************************
> 
> 
> This is the Qt Extended Open Source Edition.
> 
> You are licensed to use this software under the terms of the GPL.
> Please see the file LICENSE.GPL for the licensing terms.
> 
> Type 'yes' to accept this license offer.
> Type 'no' to decline this license offer.
> 
> Do you accept this license agreement? yes
> 
> Testing the system Qt: OK
> Qt Extended is using the following locations:
> Qt          PREFIX      = /usr
> Qt          LIBRARIES   = /usr/lib/qt4
> Qt          BINARIES    = /usr/bin
> Qt          HEADERS     = /usr/include/qt4
> Qt Embedded SOURCE tree = /opt/qt-extended-4.4.1/qtopiacore/qt
> Qt Embedded BUILD  tree = /opt/build/qtopiacore/target
> Qt Extended SOURCE tree = /opt/qt-extended-4.4.1
> Qt Extended BUILD  tree = /opt/build
> Qt Extended SDK    tree = /opt/build/sdk
> 
> Checking the compiler (host): OK (GCC 4, Little Endian)
> Checking the compiler (target): OK (GCC 4, Little Endian)
> Bootstrap QBuild: ............................... OK
> Testing QBuild: OK
> Testing for ALSA: OK
> Testing Qt Extended Media Engines: cruxus
> Checking QMAKE_RPATH: -Wl,-rpath-link,
> Testing for dynamic rotation: OK
> Testing DBUS: OK
> Checking for PAGE_SIZE and PAGE_MASK: MISSING
> WARNING: QSharedMemoryCache will not throw away unused pages
> Testing for strict warning flags your compiler accepts: -Wall 
> -Woverloaded-virtual
> Testing for V4L2: OK
> Testing for prctl(): OK
> Testing for semtimedop: OK
> Testing for __malloc_hook: OK
> 
> Running configure (qtopiacore)...
> /opt/build/src/build/bin/pkgconfig:/opt/toolchains/arm920t-eabi/bin:/usr/kde/3.5/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.1.2:/usr/qt/3/bin:/usr/games/bin:/opt/vmware/server/bin:/opt/vmware/server/console/bin
> configure -embedded arm -platform linux-g++ -xplatform 
> /opt/qt-extended-4.4.1/devices/neo/mkspecs/qws/linux-neo-g++ -prefix 
> /opt/build/sdk/qtopiacore/target -make src -make tools -no-stl 
> -no-exceptions -no-xmlpatterns -no-qt3support -no-glib -no-cups -no-dbus 
> -no-accessibility -nomake examples -nomake demos -nomake docs 
> -DQT_QWS_DISABLE_FLUSHCLIPPING -confirm-license -depths 8,16,18,24,32 
> -qconfig qpe -DQT_NO_PLUGIN_CHECK -DQT_EXTERNAL_SOUND_SERVER 
> -DQT_QWS_KEYEVENT_SINGLECLIENT -force-pkg-config -no-sql-ibase 
> -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 
> -qt-sql-sqlite -release -no-gfx-qvfb -no-mouse-qvfb -no-kbd-qvfb -qt-gif 
> -DMEDIA_SERVER -no-separate-debug-info -no-openssl 
> -DQT_KEYPAD_NAVIGATION -dbus -qt-gfx-transformed 
> -DQT_QWS_DYNAMIC_TRANSFORMATION -DQT_QWS_CLIENTBLIT -little-endian 
> -qt-mouse-tslib
> 
> 
> Preparing build tree...
> 
> 
> 
> 
> You are licensed to use this software under the terms of
> the GNU General Public License (GPL) versions 2 or 3.
> 
> 
> Creating qmake. Please wait...
> 
> Building on:   linux-g++
> Building for:  /opt/qt-extended-4.4.1/devices/neo/mkspecs/qws/linux-neo-g++
> Architecture:  arm
> Host architecture: i386
> 
> Build ...............  src tools libs
> Configuration .......  cross_compile release shared dll embedded 
> largefile precompile_header exceptions_off  embedded reduce_exports ipv6 
> clock-gettime clock-monotonic mremap getaddrinfo ipv6ifname getifaddrs 
> inotify png gif freetype zlib dbus svg webkit release
> Debug ............... no
> Qt 3 compatibility .. no
> QtDBus module ....... yes (run-time)
> QtXmlPatterns module  no
> Phonon module ....... no
> SVG module .......... yes
> WebKit module ....... yes
> WebKit in Assistant   no
> STL support ......... no
> PCH support ......... yes
> MMX/3DNOW/SSE/SSE2..  no/no/no/no
> iWMMXt support ...... no
> IPv6 support ........ yes
> IPv6 ifname support . yes
> getaddrinfo support . yes
> getifaddrs support .. yes
> Accessibility ....... no
> NIS support ......... no
> CUPS support ........ no
> Iconv support ....... no
> Glib support ........ no
> GStreamer support ... no
> Large File support .. yes
> GIF support ......... yes
> TIFF support ........ plugin (qt)
> JPEG support ........ plugin (qt)
> PNG support ......... yes (qt)
> MNG support ......... plugin (qt)
> zlib support ........ yes
> Embedded support .... arm
> Freetype2 support ... auto (yes)
> Graphics (qt) ....... linuxfb multiscreen transformed
> Graphics (plugin) ...
> Decorations (qt) .... styled windows default
> Decorations (plugin)
> Keyboard driver (qt). tty
> Keyboard driver (plugin)
> Mouse driver (qt) ... pc linuxtp tslib
> Mouse driver (plugin)
> OpenGL support ...... no
> SQLite support ...... qt (qt)
> OpenSSL support ..... no
> 
> Finding project files. Please wait...
>   196 projects found.
> 
> Creating makefiles. Please wait...
> WARNING: Failure to find: ../skin.cpp
> WARNING: Failure to find: ../skin.h
> 
> 
> 
> 
> Testing for Qt Embedded dbus support: OK
> Testing for bluetooth: OK
> 
> Finding Projects...
> Writing 446 Makefiles...
> 
> 
> Qt Extended has been configured. You can build Qt Extended by running
> bin/qbuild.
> 
> If you run bin/qbuild image, this will setup a runnable image in
> /opt/build/image.
> 
> As configured, Qt Extended MUST be run from /opt/Trolltech/Qtopia. If 
> this is
> not where you intend to run Qt Extended from you should set the location by
> running configure -prefix /opt/Qtopia.
> 
> Now i did ./bin/qbuild and got immediately:
> 
> 
> Qtopia has been built.
> 
> You must now install Qtopia by running 'bin/qbuild image'.
> This will put the files required to run Qtopia into the image:
> /opt/build/image
> 
> Nothing to be done for "default
> 
> But it was not compiled!
> 
> what did i miss?

I just need to update the toolchain at qtextended.org. Will try to get this done today or soon.

> 
>         Nicola
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


-- 
Lorn 'ljp' Potter
Software Engineer, Systems Group, Qt Software, Nokia Pty Ltd






More information about the community mailing list