qtbase-tell-truth-about-private-api.patch 887 B

1234567891011121314151617
  1. diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
  2. index 3cacc8df..469e6f50 100644
  3. --- a/mkspecs/features/qt_module.prf
  4. +++ b/mkspecs/features/qt_module.prf
  5. @@ -218,9 +218,9 @@ android: CONFIG += qt_android_deps no_linker_version_script
  6. QMAKE_LFLAGS += $${QMAKE_LFLAGS_VERSION_SCRIPT}$$verscript
  7. internal_module {
  8. - verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API { *; };"
  9. + verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API { *; };"
  10. } else {
  11. - verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \
  12. + verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API {" \
  13. " qt_private_api_tag*;"
  14. private_api_headers = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.QPA_HEADER_FILES