|
|
@@ -127,17 +127,18 @@ Result Variables
|
|
|
This module defines the following variables:
|
|
|
|
|
|
``Qt4_FOUND``
|
|
|
- Boolean whether Qt4 has been found. If false, don't try to use Qt4.
|
|
|
+ Boolean indicating whether (the requested version of) Qt4 is found.
|
|
|
+
|
|
|
``QT_FOUND``
|
|
|
- Boolean whether Qt4 has been found. If false, don't try to use Qt4. This
|
|
|
- variable is for compatibility with other Qt find modules.
|
|
|
-``QT4_FOUND``
|
|
|
- Boolean whether Qt4 has been found. If false, don't try to use Qt4. This
|
|
|
- variable is for backward compatibility only.
|
|
|
+ Boolean indicating whether (the requested version of) Qt4 has been found.
|
|
|
+ This variable is available for compatibility with other Qt find modules.
|
|
|
+
|
|
|
``QT_VERSION_MAJOR``
|
|
|
The major version of Qt found.
|
|
|
+
|
|
|
``QT_VERSION_MINOR``
|
|
|
The minor version of Qt found.
|
|
|
+
|
|
|
``QT_VERSION_PATCH``
|
|
|
The patch version of Qt found.
|
|
|
|
|
|
@@ -438,6 +439,15 @@ such uses:
|
|
|
the ``QtCore``, ``QtGui`` and ``QtDeclarative`` components on the project
|
|
|
target ``myexe``.
|
|
|
|
|
|
+Deprecated Variables
|
|
|
+^^^^^^^^^^^^^^^^^^^^
|
|
|
+
|
|
|
+The following variables are provided for backward compatibility:
|
|
|
+
|
|
|
+``QT4_FOUND``
|
|
|
+ .. deprecated:: 2.8.11
|
|
|
+ Use ``Qt4_FOUND``, which has the same value.
|
|
|
+
|
|
|
Examples
|
|
|
^^^^^^^^
|
|
|
|