Hi,

attached patch only sets the QT_MIN_VERSION if its not been set already.
The reason for this is that it may be useful for a project to require a
specific Qt bugfix version (for example if a bug makes an app unusable).
In particular I'd like KDevelop4 to require Qt4.5.2 as we need Qt's
raster paintengine for proper performance in the editor, but that
engine still had various crash-bugs in Qt < 4.5.2.

Comments, Objections?

Andreas

-- 
You will inherit millions of dollars.
Index: cmake/modules/FindKDE4Internal.cmake
===================================================================
--- cmake/modules/FindKDE4Internal.cmake	(revision 1015833)
+++ cmake/modules/FindKDE4Internal.cmake	(working copy)
@@ -284,7 +284,9 @@
   set(_REQ_STRING_KDE4_MESSAGE "STATUS")
 endif(KDE4_FIND_REQUIRED  OR  KDE4Internal_FIND_REQUIRED)
 
-set(QT_MIN_VERSION "4.5.0")
+if( NOT QT_MIN_VERSION )
+  set(QT_MIN_VERSION "4.5.0")
+endif( NOT QT_MIN_VERSION )
 #this line includes FindQt4.cmake, which searches the Qt library and headers
 find_package(Qt4 ${_REQ_STRING_KDE4})
 
_______________________________________________
Kde-buildsystem mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-buildsystem

Reply via email to