Browse Source

STYLE: fix documentation again: QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake

Alex
Alexander Neundorf 18 years ago
parent
commit
ae16aa9679
1 changed files with 4 additions and 2 deletions
  1. 4 2
      Modules/FindQt4.cmake

+ 4 - 2
Modules/FindQt4.cmake

@@ -30,8 +30,10 @@
 #                    QT_USE_QTXMLPATTERNS
 #                    QT_USE_PHONON
 #
-# Includes and definitions
-# needed for compiling Qt code is already set up by including the QT_USE_FILE.
+# 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