Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47905

OSX: Qt from Git fails to configure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.5.1
    • Build System
    • None
    • OSX 10.10.4 macosx10.10
    • macOS

    Description

      Trying to build qtbase anew (as I have done before with qt5.4 from gitorious) :

         
      $ git clone git://code.qt.io/qt/qt5.git
      $ cd qt5
      $ git checkout 5.5
      $ perl ./init-repository --module-subset=qtbase
      

      So far so good.

      Running 'configure' however gives me:

      -bash: ../configure: /bin/sh^M: bad interpreter: No such file or directory

      Oook, after googling I convert the line endings, but then:

      You don't seem to have 'make' or 'gmake' in your PATH.

      Then I just downloaded qt-everywhere-opensource-src-5.5.0 to test it out.
      It configures fine, so I tried splicing pieces of it to my git srcs.

      Copping the config.tests from redist src to my git src 'solved' the "no make" issue.

      But then:

      Preparing build tree...
      ", not a developer tool or in PATHty "clang++\
      ", not a developer tool or in PATHty "clang++\
      ", not a developer tool or in PATHty "clang\
      ...

      Copping mkspects from redist src 'solved' that, but:

      env: perl\r: No such file or directory

      This was also solved by converting to unix line ending.

      But then, and finally:

      Preparing build tree...
      <srcbase> = /Users/admin/Qt-src/qt555/qt5/qtbase
      <outbase> = /Users/admin/Qt-src/qt555/qt5/qtbase-build/qtbase
      Creating qmake...
      ./Users/admin/Qt-src/qt555/qt5/qtbase/qmake/generators/mac/pbuilder_pbx.cpp:50:10: fatal error: 'private/qcore_mac_p.h' file not found
      #include <private/qcore_mac_p.h>

      1 error generated.

      Aaaand I am stuck.

      My application depends on patched Qt.
      My only option now is to manually patch the redistributable sources!

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            buddenha Oswald Buddenhagen
            mnaydenov Mihail Naydenov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes