diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-07-04 08:00:27 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-07-14 08:05:04 (GMT) |
commit | cb7f32f5b861fe115fa71f64500a5cbb0b643f1b (patch) | |
tree | 4decc25017cca2777f4f3356d3a355354bec451a /Modules/FindQt4.cmake | |
parent | c64326bc0b2df30060a475e147c136ae5e7234ae (diff) | |
download | CMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.zip CMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.tar.gz CMake-cb7f32f5b861fe115fa71f64500a5cbb0b643f1b.tar.bz2 |
Mark qt4_use_modules and qt4_automoc as obsolete.
The QT_QMAKE_EXECUTABLE has to be passed through the cmake calls because
the executable may not be in the PATH.
Diffstat (limited to 'Modules/FindQt4.cmake')
-rw-r--r-- | Modules/FindQt4.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/FindQt4.cmake b/Modules/FindQt4.cmake index 8ce1934..7b37e1e 100644 --- a/Modules/FindQt4.cmake +++ b/Modules/FindQt4.cmake @@ -100,6 +100,7 @@ # because you need a custom filename for the moc file or something similar. # # macro QT4_AUTOMOC(sourcefile1 sourcefile2 ... ) +# The qt4_automoc macro is obsolete. Use the CMAKE_AUTOMOC feature instead. # This macro is still experimental. # It can be used to have moc automatically handled. # So if you have the files foo.h and foo.cpp, and in foo.h a @@ -174,6 +175,7 @@ # must exist and are not updated in any way. # # function QT4_USE_MODULES( target [link_type] modules...) +# This function is obsolete. Use target_link_libraries with IMPORTED targets instead. # Make <target> use the <modules> from Qt. Using a Qt module means # to link to the library, add the relevant include directories for the module, # and add the relevant compiler defines for using the module. |