Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. 32-bit build -embedded generic on 64-bit Linux host?

32-bit build -embedded generic on 64-bit Linux host?

Scheduled Pinned Locked Moved Mobile and Embedded
3 Posts 2 Posters 2.0k Views
  • 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.
  • E Offline
    E Offline
    elemings
    wrote on 20 Mar 2013, 21:01 last edited by
    #1

    Apologies if this is already answered in a FAQ somewhere. If that's the case, just point me to it.

    Normally, I configure a 32-bit Qt Embedded build in a 32-bit Ubuntu 12 VM with a command such as this:

    @./configure -opensource -embedded generic -make "libs tools translations" -prefix /usr/local/qt/4.7.3-embedded -no-nis -no-audio-backend -no-multimedia -no-webkit -svg -qvfb@

    I was wondering if it is possible to build the same configuration (i.e. 32-bit Qt Embedded) on a 64-bit host (e.g. 64-bit Ubuntu 12)? If so, how?

    Much appreciated.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on 21 Mar 2013, 08:20 last edited by
      #2

      Adding "-platform linux-g++-32" should get you rolling.

      Of course you will need to have all the dependencies in a 32bit version installed for this to succeed.

      1 Reply Last reply
      0
      • E Offline
        E Offline
        elemings
        wrote on 21 Mar 2013, 15:50 last edited by
        #3

        Yep. It was pretty easy actually. Just needed to install a few additional Ubuntu packages:

        @sudo apt-get install libc6-i386 libc6-dev-i386 gcc-multilib g++-multilib@

        The configure with the additional option. However, I configured with "-xplatform linux-g++-32".

        1 Reply Last reply
        0

        1/3

        20 Mar 2013, 21:01

        • Login

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