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

[macOS]: When using -qtlibinfix with a prefix build then it will fail to build anything outside of Qt itself

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 5.6.1, 5.6.2
    • Build System
    • macOS 10.11
    • macOS

    Description

      [macOS]: When using -qtlibinfix with a prefix build then it will fail to build anything outside of Qt itself. For example doing:

      ./configure -qtlibinfix testinfix -prefix /usr/local/qt5.6.1
      make 
      sudo make install
      

      will build fine, but when you try to build any application it will fail as it does not find the include files with something like:

      In file included from main.cpp:1:
      ./mainwindow.h:4:10: fatal error: 'QMainWindow' file not found
      #include <QMainWindow>
               ^
      1 error generated.
      make: *** [main.o] Error 1
      

      whereas it will work if configured as an in-source build.

      Attachments

        Issue Links

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

          Activity

            People

              buddenha Oswald Buddenhagen
              andysh Andy Shaw
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes