Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Building Qt-Mobility 1.2.0 for the ARM processor
Forum Updated to NodeBB v4.3 + New Features

Building Qt-Mobility 1.2.0 for the ARM processor

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 4 Posters 3.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    StevieRG
    wrote on last edited by
    #1

    I'd like to get Qt-Mobilty 1.2.0 compiled for the Freescale i.MX ARM processor. I've successfully compiled Qt-4.7.4 for this processor and it runs fine.

    For Qt-4.7.4 I have a unique mkspec containing absolute paths to the ARM compiler plus other ARM specific libs/includes/flags, and I invoke configure as:
    "./configure -embedded arm -xplatform qws/linux-arm-g++-mx5x"
    ... then the make uses the ARM compiler etc.

    For Qt-Mobility by default of course it wants to build for the PC Ubuntu target, but I'm not sure what I need to do to configure or cross-compile build for the ARM, if maybe someone could help with this please. Many thanks.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zhxt
      wrote on last edited by
      #2

      Use this option
      -qmake-exec <name> Sets custom binary name for qmake binary
      (default: qmake)
      to set the arm version qmake .

      Use this option

      -modules <list> ... Restrict list of modules to build (default all supported)
      Choose from: bearer contacts gallery location publishsubscribe
      messaging multimedia systeminfo serviceframework
      sensors versit organizer feedback connectivity
      Modules should be separated by a space and surrounded
      by double quotation. If a selected module depends on other modules

      select the modules you want to use.

      Qt Developer

      1 Reply Last reply
      0
      • S Offline
        S Offline
        StevieRG
        wrote on last edited by
        #3

        Thank you for your useful advice, it was the -qmake-exec option that I needed. From the description of the option, I hadn't realised that this exec name could also contain a path.

        For other members with a similar question, the command line I used is:

        ./configure -release -qmake-exec ~/ltib/rootfs/usr/local/Trolltech/Qt-4.7.4-mx5x-x11/bin/qmake -prefix /tftpboot/ltib/usr/local/Trolltech/Qtmobile-1.2.0-mx5x -examples -demos

        ... you'd change these paths to those of your own build and output directories.

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zanes
          wrote on last edited by
          #4

          Hi All,

          I compiled qt,mobility for arm and when i try to use video element in a qml file with the multimediakit, I get the following error...
          @
          [root@FriendlyARM myprj]# ./myTestProject -qws&
          [root@FriendlyARM myprj]#
          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion `GST_IS_ELEMENT (dest)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion `GST_IS_ELEMENT (dest)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_unlink: assertion `GST_IS_ELEMENT (dest)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_bin_remove: assertion `GST_IS_ELEMENT (element)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_object_ref: assertion `object != NULL' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_link_pads_full: assertion `GST_IS_ELEMENT (dest)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_set_state: assertion `GST_IS_ELEMENT (element)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_element_unlink: assertion `GST_IS_ELEMENT (dest)' failed

          (<unknown>:175): GStreamer-CRITICAL **: gst_bin_remove: assertion `GST_IS_ELEMENT (element)' failed
          @

          Any help or ideas...

          Thanks

          1 Reply Last reply
          0
          • K Offline
            K Offline
            kid9591
            wrote on last edited by
            #5

            Dear StevieRG,
            I just simply run ./configure , and get the following errors:

            ./configure: 1: ./configure: /home/kid/Desktop/Project/MAPs: not found
            Configuring Qt Mobility
            Checking available Qt ... 4.8.1
            ./configure: 1: ./configure: /home/kid/Desktop/Project/MAPs: not found
            Cannot find 'make' or 'gmake' in your PATH
            Aborting.

            Can you help me resolve this problem?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved