Ticket #46536: always_include_private_headers.diff

File always_include_private_headers.diff, 981 bytes (added by RJVB (René Bertin), 10 years ago)
  • qtbase/mkspecs/features/

    old new  
    2828
    2929split_incpath {
    3030    CMAKE_ADD_SOURCE_INCLUDE_DIRS = true
    31     CMAKE_NO_PRIVATE_INCLUDES = true # Don't add private includes in the build dir which don't exist
     31    #CMAKE_NO_PRIVATE_INCLUDES = true # Don't add private includes in the build dir which don't exist
    3232    CMAKE_SOURCE_INCLUDES = \
    3333        $$cmakeTargetPaths($$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/Qt$${CMAKE_MODULE_NAME})
    3434    CMAKE_SOURCE_PRIVATE_INCLUDES = \
     
    5151    CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True
    5252}
    5353
    54 !exists($$first(QT.$${MODULE}_private.includes)): CMAKE_NO_PRIVATE_INCLUDES = true
     54#!exists($$first(QT.$${MODULE}_private.includes)): CMAKE_NO_PRIVATE_INCLUDES = true
    5555
    5656CMAKE_LIB_DIR = $$cmakeRelativePath($$[QT_INSTALL_LIBS], $$[QT_INSTALL_PREFIX])
    5757contains(CMAKE_LIB_DIR,"^\\.\\./.*") {