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. [Moved] Installation Problems on Mac
Forum Updated to NodeBB v4.3 + New Features

[Moved] Installation Problems on Mac

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

    Hello, I'm trying to install Qt on a Mac running OSX 10.6.2

    First I tried the online installer, and when I started the installation and opened a project, I got a compiler error as follows:

    Error while building project test (target: Desktop)
    When executing build step ''

    and I have no idea what build step """ is.

    After this, I tried to build it from source by first uninstalling this and then building it as per the instructions on this website.
    However, then it would not start at all from the command line.

    I then tried the "Qt SDK Installer" but I get the same compiler errors as I did before. So I'm lost as to what is going wrong, and also the include paths are not correctly linked.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      goetz
      wrote on last edited by
      #2

      I may sound a bit strange, but have you installed XCode beforehand?

      http://www.catb.org/~esr/faqs/smart-questions.html

      1 Reply Last reply
      0
      • C Offline
        C Offline
        Chris H
        wrote on last edited by
        #3

        I've personally had the best luck installing Qt and its SDK using MacPorts, rather than using the official distribution.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mythbusterma
          wrote on last edited by
          #4

          Yes, I've had XCode for about a year and a half now, so that's not it.

          And Chris, can you explain more in depth how one would go about doing this in MacPorts?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Chris H
            wrote on last edited by
            #5

            Sure: first off you start by installing "Macports":http://www.macports.org/ following their normal instructions. Once you've got that, you simply run (on the command line):
            @sudo port install qt4-mac@ and then probably also @sudo port install qt4-creator-mac@ The apps themselves will wind up installed in /Applications/MacPorts/Qt4/* and the libraries in /opt/local/.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mythbusterma
              wrote on last edited by
              #6

              Well I tried it with MacPorts, and It couldn't find QMake, and I tried again with the command line build from source and I get this error:

              @
              ld: in .obj/debug-shared/AccessibilityListBoxOption.o, file too small
              collect2: ld returned 1 exit status
              make[2]: *** [../../../../lib/QtWebKit.framework/QtWebKit_debug] Error 1
              make[1]: *** [debug-install] Error 2
              make: *** [sub-webkit-install_subtargets-ordered] Error 2
              bash-3.2$

              @

              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