Allow a KDE-using project to define its own Qt requirement

Alexander Neundorf neundorf at kde.org
Sun Sep 13 19:16:07 CEST 2009


On Sunday 13 September 2009, Ingo Klöcker wrote:
> On Sunday 13 September 2009, Andreas Pakulat wrote:
> > 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?
>
> I guess it doesn't really matter in practice, but shouldn't
> QT_MIN_VERSION be set to the maximum of the already set value and the
> value hardcoded into FindKDE4Internal?

Good catch. It probably should do something with if( ... VERSION_GREATER ...) 
or so.
No objections from my side beside this.

Alex


More information about the Kde-buildsystem mailing list