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 28 28 29 29 split_incpath { 30 30 CMAKE_ADD_SOURCE_INCLUDE_DIRS = true 31 CMAKE_NO_PRIVATE_INCLUDES = true # Don't add private includes in the build dir which don't exist31 #CMAKE_NO_PRIVATE_INCLUDES = true # Don't add private includes in the build dir which don't exist 32 32 CMAKE_SOURCE_INCLUDES = \ 33 33 $$cmakeTargetPaths($$QT_MODULE_INCLUDE_BASE $$QT_MODULE_INCLUDE_BASE/Qt$${CMAKE_MODULE_NAME}) 34 34 CMAKE_SOURCE_PRIVATE_INCLUDES = \ … … 51 51 CMAKE_INCLUDE_DIR_IS_ABSOLUTE = True 52 52 } 53 53 54 !exists($$first(QT.$${MODULE}_private.includes)): CMAKE_NO_PRIVATE_INCLUDES = true54 #!exists($$first(QT.$${MODULE}_private.includes)): CMAKE_NO_PRIVATE_INCLUDES = true 55 55 56 56 CMAKE_LIB_DIR = $$cmakeRelativePath($$[QT_INSTALL_LIBS], $$[QT_INSTALL_PREFIX]) 57 57 contains(CMAKE_LIB_DIR,"^\\.\\./.*") {