From ae16aa96799ac4f70cf5116c67330a144e4eb0f2 Mon Sep 17 00:00:00 2001 From: Alexander Neundorf Date: Tue, 18 Mar 2008 17:54:40 -0400 Subject: [PATCH] STYLE: fix documentation again: QT_LIBRARIES exists if you use Qt4 via UseQt4.cmake Alex --- Modules/FindQt4.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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