summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Pastor <dg0yt@darc.de>2015-07-05 18:37:55 +0200
committerKai Pastor <dg0yt@darc.de>2015-07-07 04:29:30 +0000
commit6e815c0226fef61f05d50217c540b7d37808d7f0 (patch)
tree93c10cb907d73b4f12509950889c80199c3d0edb
parent7df6da79e7f7c1fd8bf5d51dc4acba4bc8952a23 (diff)
downloadqtdoc-6e815c0226fef61f05d50217c540b7d37808d7f0.tar.gz
Doc: cmake-manual: Update module variables
Add Qt5<Module>_VERSION. A comment in qtbase/mkspecs/features/data/cmake/Qt5BasicConfig.cmake.in states that Qt5<Module>_VERSION_STRING is for backwards compatibility only, and Qt5<Module>_VERSION should be used instead. Remove extra "for example". Change-Id: Idc6be0b2233592026d8fb679078b44941b93cd5e Reviewed-by: Stephen Kelly <steveire@gmail.com>
-rw-r--r--doc/src/development/cmake-manual.qdoc10
1 files changed, 6 insertions, 4 deletions
diff --git a/doc/src/development/cmake-manual.qdoc b/doc/src/development/cmake-manual.qdoc
index 08e482e0..f2d69509 100644
--- a/doc/src/development/cmake-manual.qdoc
+++ b/doc/src/development/cmake-manual.qdoc
@@ -143,10 +143,12 @@
\c{find_package}(Qt5Widgets) will make the following variables available if successfully found:
\list
- \li Qt5Widgets_VERSION_STRING
- \li Qt5Widgets_LIBRARIES List of libraries for use with the target_link_libraries command, for example.
- \li Qt5Widgets_INCLUDE_DIRS List of libraries for use with the include_directories command, for example.
- \li Qt5Widgets_DEFINITIONS List of definitions for use with add_definitions, for example.
+ \li Qt5Widgets_VERSION String describing the version of the module.
+ \li Qt5Widgets_VERSION_STRING Same as Qt5Widgets_VERSION.
+ Deprecated, use Qt5Widgets_VERSION instead.
+ \li Qt5Widgets_LIBRARIES List of libraries for use with the target_link_libraries command.
+ \li Qt5Widgets_INCLUDE_DIRS List of directories for use with the include_directories command.
+ \li Qt5Widgets_DEFINITIONS List of definitions for use with add_definitions.
\li Qt5Widgets_COMPILE_DEFINITIONS List of definitions for use with the COMPILE_DEFINITIONS target property.
\li Qt5Widgets_FOUND Boolean describing whether the module was found successfully.
\li Qt5Widgets_EXECUTABLE_COMPILE_FLAGS String of flags to be used when building executables.