Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1085

Features files (*.prf) are not installed when cross-compiling for arm

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • 1.1.0
    • Build System
    • None
    • Intel Core i7 CPU
      Fedora 13 32bits
      gcc-toolchain 4.2.4
      Qt 4.7.1
      QtMobility 1.1.0
      QtWebKit 2.1

      When I tried to build QtMobility 1.1.0 for arm I saw that mobility.prf and mobilityconfig.prf are not installed to the the QT_DIR/mkspecs/features

      So I installed it manually to build QtWebKit2.1. Until I did it I could not build QtWebKit with --geolocation option.
      Because GeoLocation uses QtLocation module.
      I saw error "No such namespace QtMobility" during building file GeolocationServiceQt.cpp

      My configure options for Qt 4.7.1:
      PKG_CONFIG_SYSROOT_DIR=/opt/marvel/sysroot
      PREFIX_DIR=/usr/Qt-4.7
      HOST_PREFIX_DIR=$PKG_CONFIG_SYSROOT_DIR$PREFIX_DIR
      ./configure -embedded arm -xplatform qws/linux-yt-g++ -platform linux-g++-32 \
      -prefix $PREFIX_DIR -hostprefix $HOST_PREFIX_DIR -prefix-install \
      -opensource -confirm-license \
      -openssl-linked \
      -qt-gfx-linuxfb -qt-gfx-vnc -qt-gfx-multiscreen \
      -plugin-kbd-yt_sk -plugin-mouse-yt_sk \
      -javascript-jit \
      -qt-freetype -no-feature-qws_qpf -no-feature-qws-qpf2 \
      -dbus -declarative -script -cups \
      -make tools \
      -no-webkit \
      -no-phonon -no-qt3support \
      -no-libtiff -no-libmng \
      -no-scripttools \
      -nomake examples -nomake demos \
      -verbose -force-pkg-config -release

      Configure options for QtMobility 1.1.0:
      QMAKESPEC=qws/linux-yt-g++ \
      ./configure \
      $PKG_CONFIGURE_OPTS \
      -prefix $QT_PREFIX \
      -tests -examples -demos \
      -modules \
      "bearer contacts gallery location publishsubscribe
      messaging multimedia systeminfo serviceframework
      sensors versit organizer feedback"

      Building QtWebKit2.1
      PATH=/opt/marvel/sysroot/usr/Qt-4.7/bin:$PATH ./WebKitTools/Scripts/build-webkit --qt --geolocation --makeargs "-j8" -spec qws/linux-yt-g++

        1. Makefile.qt-mobility
          140 kB
          Sergey Pozdeev
        2. Makefile.qt
          97 kB
          Sergey Pozdeev
        3. patchqt
          1 kB
          Lincoln Ramsay (closed Nokia identity)
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            alex Alex (closed Nokia identity) (Inactive)
            cepera Sergey Pozdeev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes