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. Build Qt 5 on OSX Mountain Lion in 32bit

Build Qt 5 on OSX Mountain Lion in 32bit

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 4 Posters 3.2k 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.
  • N Offline
    N Offline
    nite
    wrote on last edited by
    #1

    Hi,

    I would like to build Qt 5.0 on OSX Mountain Lion in 32bit however -arch is now obsolete so the old way of setting "-arch x86" doesn't work. Anyone know how this can be done now?

    Thanks

    -sagen

    1 Reply Last reply
    0
    • L Offline
      L Offline
      leon.anavi
      wrote on last edited by
      #2

      Check the solution posted at "this similar topic":http://qt-project.org/forums/viewthread/15721.

      http://anavi.org/

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

        I have found build errors when trying to compile in 32bit on osx 10.8.2. Would you let me know if you experience the same problem?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gdaino
          wrote on last edited by
          #4

          There are many errors building a 32bit version, apparently because of Qt 5.0 "assumption" of NS and CF types equivalence, that is not true on a 32bit platform. You can build sources using "-DNS_BUILD_32_LIKE_64" on the configure line, i.e. using:

          ./configure -nomake tests -platform macx-clang-32 -DNS_BUILD_32_LIKE_64

          but beware of binary compatibility (see "Building 32-Bit Like 64-Bit":http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/Cocoa64BitGuide/64BitChangesCocoa/64BitChangesCocoa.html#//apple_ref/doc/uid/TP40004247-CH4-SW2), you will not be able to distribute your application (without embedding qt), so that's not a good solution.

          If this is your problem, you can add a vote to "this bug":https://bugreports.qt-project.org/browse/QTBUG-28828...

          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