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

Include directories wrong for Qt framework built with -libinfix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.15.1
    • 5.14.2
    • Build System
    • None
    • macOS Catalina, XCode 10.2.1, Qt Creator 4.12.0
    • macOS
    • a6d475d7db23620fc67c23303913beab3bc445e8 (qt/qtbase/dev) 5c0de6ff93a2fbf55b8243bc2a31504ccab9bcba (qt/qtbase/5.15)

    Description

      When building Qt on mac with a custom libinfix, and then setting it up in Qt Creator, Qt Creator can't find any Qt includes.

      Repro steps:

      First build Qt with a custom libinfix:

      ./configure -qtnamespace TestNameSpace -qtlibinfix TestSuffix -opensource -confirm-license -nomake examples -nomake tests
      make module-qtbase module-qttools
      sudo make module-qtbase-install_subtargets module-qttools-install_subtargets
      

      Then in Qt Creator (4.12.0) create a new Qt Version pointing to the newly built Qt framework (/usr/local/Qt-5.14.2/bin/) and a Kit using that Qt Version.

      Then create a new "Qt Widgets Application". You'll see the following issue: https://i.imgur.com/8JiQZVy.png

      If I don't use the libinfix option, the test app has no problem finding the includes: https://i.imgur.com/RR7MYsR.png

      This is related to https://bugreports.qt.io/browse/QTBUG-83912

      Attachments

        Issue Links

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

          Activity

            People

              jbornema Joerg Bornemann
              divide Robin Lobel
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes