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

Configuring Qt with release mode on MAC doesnt install the headers

    XMLWordPrintable

Details

    • macOS
    • d0e82ede558b4c7b0f1a89b28a224cf77a3fc068

    Description

      The configure command is,

      ./configure -fast -no-dbus -release -commercial -force-debug-info -openssl -cups -nis -v -harfbuzz -nomake demos -nomake examples -optimized-qmake -prefix /usr/local/qt/5.0.0rpath

      It doesnt seem to install the headers for MAC.

      After commenting out the line "CONFIG -= qt_install_headers" from,
      QtCommercial5.0.0/qt-everywhere-commercial-src-5.0.0/qtbase/mkspecs/features/qt_module.prf

      ,as shown below,

      #mac frameworks
      mac:!static:contains(QT_CONFIG, qt_framework) {
      #QMAKE_FRAMEWORK_VERSION = 4.0
      CONFIG += lib_bundle qt_no_framework_direct_includes qt_framework
      CONFIG(release, debug|release) {
      !debug_and_release|build_pass {
      # CONFIG -= qt_install_headers #no need to install these as well
      FRAMEWORK_HEADERS.version = Versions
      FRAMEWORK_HEADERS.files = $$SYNCQT.HEADER_FILES $$SYNCQT.HEADER_CLASSES
      FRAMEWORK_HEADERS.path = Headers
      }
      QMAKE_BUNDLE_DATA += FRAMEWORK_HEADERS
      }
      }
      
      

      and then a make install seemed to install the QtCore libraries.

      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
              tapadar Indrajit Tapadar (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes