cxx11-cmake-modules in kdereview

Martin Graesslin mgraesslin at kde.org
Sat Mar 2 15:23:00 GMT 2013


On Saturday 02 March 2013 00:37:25 Ivan Čukić wrote:
> > gcc -std=c++11 -fPIE -E -dM -I$QTDIR/include -include QtCore/qglobal.h
> > -xc++ /dev/null | grep Q_COMPILER
> > 
> > That will give you the full listing of detected features, matching exactly
> > what will be available at compile-time.
> 
> This does provide an alternative to the feature detection cmake module that
> would be satisfactory to me.
> 
> Interested to hear what the others think about it (mainly aiming at Martin
> G.)
as long as we can use it without having to depend on Qt 5 in Qt 4 code I'm all 
for using the Qt experience :-) So for Qt 4 it's probably copy the code?

Cheers
Martin




More information about the kde-core-devel mailing list