aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/FindQt4.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/FindQt4.cmake b/modules/FindQt4.cmake
index 00f1a135..ae0f88ab 100644
--- a/modules/FindQt4.cmake
+++ b/modules/FindQt4.cmake
@@ -29,6 +29,11 @@
# QT_USE_QTWEBKIT
# QT_USE_QTXMLPATTERNS
#
+# If you are using Qt4 via UseQt4.cmake instead of FIND_PACKAGE(Qt4), all the
+# libraries required are stored in the variable QT_LIBRARIES.
+# Add this variable to your TARGET_LINK_LIBRARIES. Includes and definitions
+# needed for compiling Qt code are then already set up by including the QT_USE_FILE.
+#
# macro QT4_WRAP_CPP(outfiles inputfile ... OPTIONS ...)
# create moc code from a list of files containing Qt class with
# the Q_OBJECT declaration. Options may be given to moc, such as those found