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

Qt build fails on Mac OS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.10.0, 5.9.4, 5.9.5, 5.10.1, 5.11.0 Beta 3
    • Fix Version/s: 5.9.6, 5.11.0 RC 1
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Mac OS 10.13.4, LLVM version 9.1.0 (clang-902.0.39.1)
    • Platform/s:
      macOS
    • Commits:
      dbdd5f0ffbce52c8b789ed09f1aa3f1da6c02e23

      Description

      ./configure -static -release -ltcg -optimize-size -no-pch -prefix "/path/to/qt/5.10.1-static" -skip webengine -nomake tools -nomake tests -nomake examples
      

      Build (make) fails with the following error:

      mac/qfontengine_coretext.mm:833:20: error: qualified reference to 'QFixed' is a constructor name rather than a type in this context
          return QFixed::QFixed(int(CTFontGetUnitsPerEm(ctfont)));
                         ^
      1 error generated.
      make[4]: *** [.obj/qfontengine_coretext.o] Error 1
      make[3]: *** [sub-fontdatabases-make_first] Error 2
      make[2]: *** [sub-platformsupport-make_first] Error 2
      make[1]: *** [sub-src-make_first] Error 2
      make: *** [module-qtbase-make_first] Error 2
      

      Weird thing that I had built Qt 5.10.0 statically before with no problems, but then after I installed Qt 5.10.1 I deleted that static build, and now after 5.10.1 static build failed, I get the same error trying to build 5.10.0 too.

        Attachments

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

          Activity

            People

            • Assignee:
              esabraha Eskil Abrahamsen Blomfeldt
              Reporter:
              artemsyd Artem Sidyakin
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes