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. Trouble with Mac OS X and Qt 4.7 x86_64 support
QtWS25 Last Chance

Trouble with Mac OS X and Qt 4.7 x86_64 support

Scheduled Pinned Locked Moved Installation and Deployment
7 Posts 3 Posters 4.7k 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.
  • J Offline
    J Offline
    jrandom
    wrote on last edited by
    #1

    From what I've read, I have to build Qt from source to support 64-bit development and I've not yet been able to make it work.

    If I build Qt using '-arch "x86_64"' and then build Qt Creator, the IDE will run but won't build anything (complains about various missing frameworks).

    If I add the '-developer-build' flag to ./configure then nothing seems to get installed anywhere (libs, qmake, etc..)

    Has anyone put together a definitive set of instructions for Mac OS X on how to build Qt and Creator from source successfully?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      So what exactly does not work when building Qt Creator?

      For now Qt Creator relies on having access to private headers in Qt. This is unfortunate, but we can not change that at this time (but we are working on improving the situation). For this access to be possible you need either a in-source build of Qt 4.7 (beta or rc for now, earlier version do not work!) or you need to run syncqt to copy over the headers.

      I hope this helps... Please provide the error messages you see if you need more detailed help.

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jrandom
        wrote on last edited by
        #3

        Qt Creator builds fine, it just won't actually compile programs, saying it can't find the Qt frameworks or some such thing.

        Right now I'm trying to build Qt 4.7 RC1. Do I need to use the "-developer-build" flag? If so, how do I get the files to their final "install" location? When using "-developer-build" it prints a message saying that files will be put in their correct locations and that "make install" is not necessary, but that doesn't seem to work (eg. the built files never get installed anywhere).

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jrandom
          wrote on last edited by
          #4

          I re-built Qt 4.7 (w/out "-developer-build"), ran syncqt this time, built Qt-Creator, created a simple project, added "CONFIG += x86_64", and it worked! Full 64-bit executable! Woo!

          Thank you!

          1 Reply Last reply
          0
          • B Offline
            B Offline
            bahonurn
            wrote on last edited by
            #5

            Hey Guys i am new to Qt and trying to learn it and so i have installed the sdk 4.7.0 successfully but i just gave a shot to try a simple Hello World from the Book "GUI programming with C++" but it cant build the program it gives me this message:

            :: warning: directory '/tmp/qt-stuff-6474/source/qt-everywhere-opensource-src-4.7.0/lib' following -L not found

            I tried to set the PATH even re-installed but alas failed still have the same problem...

            Please Help me Folks...

            1 Reply Last reply
            0
            • B Offline
              B Offline
              bahonurn
              wrote on last edited by
              #6

              By the way i forgot to tell about my OS. I use Mac os x Snow Leopard and besides the examples are running but if i check the compiling messages still there is the same message :(

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tobias.hunger
                wrote on last edited by
                #7

                bahonurn: Please create your own thread about your issue.

                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