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

Qt No Longer Installs Include Files Needed By CMake

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.1.0 RC2
    • Fix Version/s: 5.1.0
    • Component/s: Build System
    • Labels:
      None
    • Environment:
      Mac OS X 10.8.4
    • Commits:
      215f137e29ad9176fa1a5d4c446115379f5dbc0d

      Description

      This bug is probably specific to Mac OS X installations where Qt is copied into place with "make install."

      Qt provides files to support using CMake with Qt-based projects. For definiteness, assume that Qt is ultimately to be installed in DESTDIR. These cmake support files in DESTDIR/lib/cmake require that Qt headers be installed in DESTDIR/include, and CMake will object if it finds the cmake files but not the include files in DESTDIR/include.

      It appears that the problem is in a recent change to qt_module.prf caused most headers not to be copied into the include directory upon installation. This change occurred after RC1 and before RC2:

      http://qt.gitorious.org/qt/qtbase/commit/6d61dfdbb74a2055438b999c6962f89cc3388eea

      Removing the line
      CONFIG -= qt_install_headers #no need to install these as well
      seems to fix the problem.

        Attachments

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

          Activity

            People

            • Assignee:
              thiago Thiago Macieira
              Reporter:
              mathpup Marcus Urban
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes