8b9e88c08a
The Time Has Come to Shoot You Down... What a Sound OBS-URL: https://build.opensuse.org/request/show/431274 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtbase?expand=0&rev=56
32 lines
1.6 KiB
Diff
32 lines
1.6 KiB
Diff
diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
|
|
index aefd3ae..53a3f60 100644
|
|
--- a/mkspecs/features/qt_module.prf
|
|
+++ b/mkspecs/features/qt_module.prf
|
|
@@ -195,12 +195,14 @@ android: CONFIG += qt_android_deps no_li
|
|
verscript = $${TARGET}.version
|
|
QMAKE_LFLAGS += $${QMAKE_LFLAGS_VERSION_SCRIPT}$$verscript
|
|
|
|
+ private_api_headers = $$SYNCQT.PRIVATE_HEADER_FILES $$SYNCQT.QPA_HEADER_FILES
|
|
+
|
|
internal_module {
|
|
- verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API { *; };"
|
|
+ verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API { *; };"
|
|
} else {
|
|
- verscript_content = "Qt_$${QT_MAJOR_VERSION}_PRIVATE_API {" \
|
|
+ verscript_content = "Qt_$${QT_MAJOR_VERSION}.$${QT_MINOR_VERSION}.$${QT_PATCH_VERSION}_PRIVATE_API {" \
|
|
" qt_private_api_tag*;"
|
|
- for(header, SYNCQT.PRIVATE_HEADER_FILES): \
|
|
+ for(header, private_api_headers): \
|
|
verscript_content += " @FILE:$${_PRO_FILE_PWD_}/$$header@"
|
|
verscript_content += "};"
|
|
|
|
@@ -221,7 +223,7 @@ android: CONFIG += qt_android_deps no_li
|
|
verscriptprocess.name = linker version script ${QMAKE_FILE_BASE}
|
|
verscriptprocess.input = verscript_in
|
|
verscriptprocess.CONFIG += no_link target_predeps
|
|
- for(header, SYNCQT.PRIVATE_HEADER_FILES): \
|
|
+ for(header, private_api_headers)): \
|
|
verscriptprocess.depends += $${_PRO_FILE_PWD_}/$$header
|
|
verscriptprocess.output = $$verscript
|
|
verscriptprocess.commands = perl $${PWD}/data/unix/findclasslist.pl < ${QMAKE_FILE_IN} > $@
|