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

Qt No Longer Installs Include Files Needed By CMake

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.1.0
    • 5.1.0 RC2
    • Build System
    • None
    • Mac OS X 10.8.4
    • 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

            thiago Thiago Macieira
            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