diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index c591a165d..327889da2 100644 --- a/Modules/FindQt4.cmake +++ b/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