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 32-bit 4.8.x on Mavericks
Forum Updated to NodeBB v4.3 + New Features

Building 32-bit 4.8.x on Mavericks

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 1 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.
  • ? This user is from outside of this forum
    ? This user is from outside of this forum
    Guest
    wrote on last edited by
    #1

    I'm having a hard time building 32-bit Qt 4.8.x on Mavericks.

    I understand that I should just march forward with 64-bit but I'd rather not abandon some paying customers.

    Using the MacOSX10.6.sdk (arch x86), the compiler complains about a missing -lstdc++ .. Is there some way that I can use the 10.6 SDK to build Qt 4.8.4 on Mavericks?

    Using the MacOSX10.9.sdk (arch x86), I hit a brick wall with this:

    bq. clang: error: invalid Xarch argument: '-Xarch_i386 -framework', options requiring arguments are unsupported

    I have tried to uninstall XCode and install Command Line Tools for previous versions of Mac on Mavericks but the installer always complains that I must install on that specific OS!

    Is it possible to build 32-bit Qt 4.8 on Mavericks with clang? Is it possible to install gcc 4.2 on Mavericks for my older projects and also have the modern compiler(s) installed for future development? Doing this on Windows is quite easy but I don't know how to do it on OS X.

    Right now my only viable solution is to keep my old Mac box around but I'd rather have everything in one place.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      IIRC, it's a clang VS gcc problem, but I'm not sure if it was solved for 4.8.6

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • ? This user is from outside of this forum
        ? This user is from outside of this forum
        Guest
        wrote on last edited by
        #3

        I'm currently attempting to rip llvm-gcc-4.2, include and lib directories from my old 10.6 Mac and transplanting them to a separate folder on my new 10.9 Mac .. and crossing fingers.

        1 Reply Last reply
        0
        • ? This user is from outside of this forum
          ? This user is from outside of this forum
          Guest
          wrote on last edited by
          #4

          Turns out it has nothing to do with 32-bit builds. It's -impossible- possible to build Qt 4.6.8 on Mavericks.

          I just built 32-bit Qt 4.8.6 and Qt Creator 2.8.1 on Mavericks!

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            You can safely run the latest Qt Creator with an older Qt version they are not tied together. The only thing is that you need Qt Creator 3 at least since Qt 5.2

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • ? This user is from outside of this forum
              ? This user is from outside of this forum
              Guest
              wrote on last edited by
              #6

              bq. You can safely run the latest Qt Creator

              Newer isn't always better. In fact, I think it's the exception.

              Of course, I love Qt and look forward to playing with Qt 5 and Qt Creator 3 in time but for now I need to stick to that which is not broken.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                Do you have problems running 4.8 with Qt Creator >= 3 ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on last edited by
                  #8

                  No. I briefly tested Qt Creator 3 just now and had no problems. What I mean by "that which is not broken" is "if it's not broke, don't fix it". Sorry about that!

                  I built Qt Creator 2.8.1 to test the Qt 4.8 framework I just compiled. I also prefer compiling everything from source and since I'm not ready to jump to Qt 5 yet, I think I'm stuck with Qt Creator 2.8.

                  When the time comes, I'll build both Qt 5.x and Qt Creator X from sources for all platforms and use Qt4 for legacy maintenance and Qt5 for the new stuff.

                  Isn't Qt 5 supposed to support Android development? I didn't see any Android templates in Qt Creator 3.

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #9

                    IIRC, you can Qt Creator at least up to 3.1 with Qt 4

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      I forgot, yes it does support Android. However AFAIK, Qt Creator won't show you templates for platforms you don't have kits for.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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