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 building Qt on Mac

Trouble building Qt on Mac

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 1.1k 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.
  • B Offline
    B Offline
    Bill MacDonald
    wrote on last edited by
    #1

    I need to produce both a 5.6.2 compile of Qt (for short term bugfix of our product from 5.6.0) and a compile of 5.8.0 (for testing purposes before we move the product forward). I need Windows and Mac builds. I have already succeeded with windows. On mac, I'm getting a strange behaviors that has not happened to me before.

    With 5.6.2, configure will complete without error, but running 'make' will simply output:

    /Users/wmacdonald/QtSrc/qtbase/bin/qmake -o Makefile qt.pro
    /Users/wmacdonald/QtSrc/qtbase/bin/qmake -o Makefile qt.pro
    make: Nothing to be done for `first'.

    A -Wall run outputs this:

    /Users/wmacdonald/QtSrc/Makefile:74: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:75: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:118: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:127: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:132: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:132: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:132: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:135: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:135: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:135: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:158: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:160: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:164: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:165: Opening parenthesis without prior test name.
    /Users/wmacdonald/QtSrc/Makefile:165: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:165: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:165: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:165: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:168: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:168: Extra characters after test expression.
    /Users/wmacdonald/QtSrc/Makefile:169: Extra characters after test expression.
    Error processing project file: Makefile
    make: *** [Makefile] Error 3

    With 5.8.0, the result is even more strange. Configure simply pretends not to recognize any command line options. It does not even recognize -prefix, or -nomake. running configure with no options produces the following:

    *Creating qmake...
    ..Done.

    Running configuration tests...
    Done running configuration tests.

    Configure summary:

    Qt is now configured for building. Just run 'make'.
    Once everything is built, you must run 'make install'.
    Qt will be installed into /usr/local/Qt-5.8.0

    Prior to reconfiguration, make sure you remove any leftovers from
    the previous build.*

    Running 'make' outputs

    */Users/wmacdonald/QtSrc2/qtbase/bin/qmake -o Makefile qt.pro -qtconf /Users/wmacdonald/QtSrc2/qtbase/bin/qt.conf --

    Running configuration tests...
    Done running configuration tests.

    Configure summary:*

    Anyone seen either of these before?

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

      Hi and welcome to devnet,

      Where did you download your sources from ?

      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
      • B Offline
        B Offline
        Bill MacDonald
        wrote on last edited by
        #3

        directly from qt.io. I downloaded the Qt 5.6.2 source package with UNIX line endings.

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

          Which one exactly ? There are several possibilities for Unix.

          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
          • B Offline
            B Offline
            Bill MacDonald
            wrote on last edited by
            #5

            It's the .tar.gz UNIX Line endings from the developer accounts download page

            log in -> downloads -> "Qt" and "5.6.2" from the drop downs -> Qt Source Package, UNIX Line endings.

            I get the filename qt-everywhere-enterprise-src-5.6.2.tar.gz

            The open source package from here http://download.qt.io/archive/qt/5.6/5.6.2/single/qt-everywhere-opensource-src-5.6.2.tar.gz gives me the same trouble.

            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