From 8e36b8de02548310570ea6b45a68801d0f035880 Mon Sep 17 00:00:00 2001 From: Oswald Buddenhagen Date: Tue, 11 Dec 2012 22:08:15 +0100 Subject: [PATCH] mark a bunch of features as internal Change-Id: I5ad28827ff317985414e859263af85ceec31207c Reviewed-by: Stephen Kelly --- mkspecs/features/create_cmake.prf | 10 ++++++++++ mkspecs/features/dbuscommon.pri | 11 +++++++++++ mkspecs/features/qml1_module.prf | 11 +++++++++++ mkspecs/features/qml1_plugin.prf | 11 +++++++++++ mkspecs/features/qml_module.prf | 11 +++++++++++ mkspecs/features/qml_plugin.prf | 11 +++++++++++ mkspecs/features/qt_build_config.prf | 11 +++++++++++ mkspecs/features/qt_build_paths.prf | 11 +++++++++++ mkspecs/features/qt_docs.prf | 11 +++++++++++ mkspecs/features/qt_docs_targets.prf | 11 +++++++++++ mkspecs/features/qt_example_installs.prf | 11 +++++++++++ mkspecs/features/qt_installs.prf | 11 +++++++++++ mkspecs/features/qt_module.prf | 11 +++++++++++ mkspecs/features/qt_module_fwdpri.prf | 11 +++++++++++ mkspecs/features/qt_module_headers.prf | 11 +++++++++++ mkspecs/features/qt_parts.prf | 11 +++++++++++ mkspecs/features/qt_plugin.prf | 11 +++++++++++ mkspecs/features/qt_tool.prf | 11 +++++++++++ mkspecs/features/resolve_target.prf | 11 +++++++++++ mkspecs/features/simd.prf | 11 +++++++++++ 20 files changed, 219 insertions(+) diff --git a/mkspecs/features/create_cmake.prf b/mkspecs/features/create_cmake.prf index 29c8cadfff..8c8079b3bd 100644 --- a/mkspecs/features/create_cmake.prf +++ b/mkspecs/features/create_cmake.prf @@ -1,3 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# defineReplace(cmakeModuleName) { _module = $$1 diff --git a/mkspecs/features/dbuscommon.pri b/mkspecs/features/dbuscommon.pri index fce2d04967..4608fb6ca2 100644 --- a/mkspecs/features/dbuscommon.pri +++ b/mkspecs/features/dbuscommon.pri @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(moc) qtPrepareTool(QMAKE_QDBUSXML2CPP, qdbusxml2cpp) diff --git a/mkspecs/features/qml1_module.prf b/mkspecs/features/qml1_module.prf index 8bacddc549..33c3e44808 100644 --- a/mkspecs/features/qml1_module.prf +++ b/mkspecs/features/qml1_module.prf @@ -1,2 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + CONFIG += qml1_target load(qml_module) diff --git a/mkspecs/features/qml1_plugin.prf b/mkspecs/features/qml1_plugin.prf index 2914c78ea3..cb1f0ce267 100644 --- a/mkspecs/features/qml1_plugin.prf +++ b/mkspecs/features/qml1_plugin.prf @@ -1,2 +1,13 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + CONFIG += qml1_target load(qml_plugin) diff --git a/mkspecs/features/qml_module.prf b/mkspecs/features/qml_module.prf index a452592c9b..e7d0b386b1 100644 --- a/mkspecs/features/qml_module.prf +++ b/mkspecs/features/qml_module.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + equals(TEMPLATE, app): TEMPLATE = aux isEmpty(TARGETPATH): error("Must set TARGETPATH (QML import name)") diff --git a/mkspecs/features/qml_plugin.prf b/mkspecs/features/qml_plugin.prf index c700dda41f..7abd372e49 100644 --- a/mkspecs/features/qml_plugin.prf +++ b/mkspecs/features/qml_plugin.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_config) TEMPLATE = lib diff --git a/mkspecs/features/qt_build_config.prf b/mkspecs/features/qt_build_config.prf index df07630ffa..48d6001aa9 100644 --- a/mkspecs/features/qt_build_config.prf +++ b/mkspecs/features/qt_build_config.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) { QMAKE_QT_MODULE = $$[QT_HOST_DATA/get]/mkspecs/qmodule.pri !exists($$QMAKE_QT_MODULE)|!include($$QMAKE_QT_MODULE, "", true) { diff --git a/mkspecs/features/qt_build_paths.prf b/mkspecs/features/qt_build_paths.prf index 5f6f08c3db..123c87de3b 100644 --- a/mkspecs/features/qt_build_paths.prf +++ b/mkspecs/features/qt_build_paths.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + # Find the module's source root dir. isEmpty(_QMAKE_CONF_): error("Project has no top-level .qmake.conf file.") MODULE_PROFILE_DIR = $$dirname(_QMAKE_CONF_) diff --git a/mkspecs/features/qt_docs.prf b/mkspecs/features/qt_docs.prf index d195004077..99759c6da1 100644 --- a/mkspecs/features/qt_docs.prf +++ b/mkspecs/features/qt_docs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !exists($$QMAKE_DOCS): error("Cannot find documentation specification file $$QMAKE_DOCS") load(qt_build_paths) diff --git a/mkspecs/features/qt_docs_targets.prf b/mkspecs/features/qt_docs_targets.prf index 1af9fd9019..89f080cc5e 100644 --- a/mkspecs/features/qt_docs_targets.prf +++ b/mkspecs/features/qt_docs_targets.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + DOC_TARGETS = \ install_html_docs uninstall_html_docs \ install_qch_docs uninstall_qch_docs \ diff --git a/mkspecs/features/qt_example_installs.prf b/mkspecs/features/qt_example_installs.prf index de1176ef96..5417469909 100644 --- a/mkspecs/features/qt_example_installs.prf +++ b/mkspecs/features/qt_example_installs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + probase = $$relative_path($$_PRO_FILE_PWD_, $$dirname(_QMAKE_CONF_)/examples) !isEmpty(probase):!contains(probase, ^\\..*) { for(ex, EXAMPLE_FILES): \ diff --git a/mkspecs/features/qt_installs.prf b/mkspecs/features/qt_installs.prf index 0e860cccca..cc720ac8c0 100644 --- a/mkspecs/features/qt_installs.prf +++ b/mkspecs/features/qt_installs.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + #library !qt_no_install_library { win32 { diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf index ad8d9aab55..cb799711c9 100644 --- a/mkspecs/features/qt_module.prf +++ b/mkspecs/features/qt_module.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !no_qt_module_warning:!contains(QMAKE_INTERNAL_INCLUDED_FILES, .*qmodule\\.pri) { QMAKE_ACTUAL_PRO_FILE = $$basename(_PRO_FILE_) isEmpty(QMAKE_ACTUAL_PRO_FILE): QMAKE_ACTUAL_PRO_FILE=.pro diff --git a/mkspecs/features/qt_module_fwdpri.prf b/mkspecs/features/qt_module_fwdpri.prf index 0b203b5a90..ce0b09d616 100644 --- a/mkspecs/features/qt_module_fwdpri.prf +++ b/mkspecs/features/qt_module_fwdpri.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + !build_pass { load(qt_build_paths) diff --git a/mkspecs/features/qt_module_headers.prf b/mkspecs/features/qt_module_headers.prf index 6acff23460..10d3fe3c0b 100644 --- a/mkspecs/features/qt_module_headers.prf +++ b/mkspecs/features/qt_module_headers.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_paths) !build_pass { diff --git a/mkspecs/features/qt_parts.prf b/mkspecs/features/qt_parts.prf index 75fa2966bc..12ba312bcd 100644 --- a/mkspecs/features/qt_parts.prf +++ b/mkspecs/features/qt_parts.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_config) TEMPLATE = subdirs diff --git a/mkspecs/features/qt_plugin.prf b/mkspecs/features/qt_plugin.prf index f547e2d1eb..e58a6d2679 100644 --- a/mkspecs/features/qt_plugin.prf +++ b/mkspecs/features/qt_plugin.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + load(qt_build_paths) isEmpty(PLUGIN_TYPE): error("PLUGIN_TYPE (plugins/ subdirectory) needs to be defined.") diff --git a/mkspecs/features/qt_tool.prf b/mkspecs/features/qt_tool.prf index 3510582c8e..f665479795 100644 --- a/mkspecs/features/qt_tool.prf +++ b/mkspecs/features/qt_tool.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + TEMPLATE = app load(qt_build_paths) diff --git a/mkspecs/features/resolve_target.prf b/mkspecs/features/resolve_target.prf index 455dd3b985..c60faf22c0 100644 --- a/mkspecs/features/resolve_target.prf +++ b/mkspecs/features/resolve_target.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + QMAKE_RESOLVED_TARGET = $$absolute_path($$DESTDIR, $$OUT_PWD)/ win32 { diff --git a/mkspecs/features/simd.prf b/mkspecs/features/simd.prf index 6d729a66a7..b430e59ff0 100644 --- a/mkspecs/features/simd.prf +++ b/mkspecs/features/simd.prf @@ -1,3 +1,14 @@ +# +# W A R N I N G +# ------------- +# +# This file is not part of the Qt API. It exists purely as an +# implementation detail. It may change from version to version +# without notice, or even be removed. +# +# We mean it. +# + # Get the SIMD flags load(qt_build_config)