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. Qt 5.2.1 fails to build on OS X
Forum Updated to NodeBB v4.3 + New Features

Qt 5.2.1 fails to build on OS X

Scheduled Pinned Locked Moved Installation and Deployment
13 Posts 4 Posters 4.3k 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
    steno
    wrote on last edited by
    #4

    One thing that i notice is the use of the -arch switch. In Qt5 that switch is ignored and has been replaced with -platform. That probably isn't the cause of your problem, but I thought I would let you know.

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

      I just built qt 5.2.1 with the following configure. I know its not the same, but this configuration worked.

      @
      /configure -debug-and-release -nomake examples -nomake tests -platform macx-clang-32 -skip qtwebkit -skip qtwebkit-examples
      @

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sandy.martel
        wrote on last edited by
        #6

        Any reason you want '-no-framework' ? I built it on many different machines with similar config, except for that one.

        1 Reply Last reply
        0
        • G Offline
          G Offline
          gvanvoor
          wrote on last edited by
          #7

          I've changed my configure options to

          configure -opensource -debug-and-release -nomake examples -nomake tests -skip qtwebkit-examples -no-framework -confirm-license

          but still no luck. I can't skip qtwebkit as I need webkit. As for the no-framework: it has a reason but I can't remember what it was and removing that option doesn't make a difference; the error still occurs.

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

            Are you running just make or make -j(some number)?

            1 Reply Last reply
            0
            • G Offline
              G Offline
              gvanvoor
              wrote on last edited by
              #9

              [quote author="steno" date="1392824203"]Are you running just make or make -j(some number)?[/quote]

              I've tried both "make -j9" and simply "make" with no difference.

              Is there some way to raise the verbosity of the build process? (I tried "make -d" but that generates output for debugging make)
              Or another way to pinpoint the source of the problem?

              For info: Qt 4.8.4 is installed (built from source and then installed using "make install") in /usr/local/Trolltech/Qt-4.8.4 but that shouldn't make a difference.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sandy.martel
                wrote on last edited by
                #10

                All I can think of is that you have non standard tools in your PATH (macports, fink, etc) or you are not building from a clean source tree (and make confclean does not give you a clean source tree, delete and extract the tar.gz again).

                Like I said, I've build Qt5.2.1, with latest OS and latest Xcode many times.

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  gvanvoor
                  wrote on last edited by
                  #11

                  [quote author="sandy.martel" date="1392893567"]All I can think of is that you have non standard tools in your PATH (macports, fink, etc) or you are not building from a clean source tree (and make confclean does not give you a clean source tree, delete and extract the tar.gz again).

                  Like I said, I've build Qt5.2.1, with latest OS and latest Xcode many times.[/quote]

                  I've deleted my entire source tree several times already, so that can't be the cause.

                  I don't remember installing either fink or macports. How do I check if one of those is installed? Btw wouldn't that generate problems when building other code as well?

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    gvanvoor
                    wrote on last edited by
                    #12

                    I tried to build on a dedicated build machine which has no software installed except OS X 10.8.5, XCode 5.0, cmake 2.8.8, TextWrangler and perforce client tools and the same error occurs.

                    1 Reply Last reply
                    0
                    • G Offline
                      G Offline
                      gvanvoor
                      wrote on last edited by
                      #13

                      It's now building at last (let's hope it finishes successfully).

                      It appears some files were missing after all: the hidden files (like .qmake.conf) didn't make it into my cvs and as such didn't make it to my build folder.

                      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