C++11 support on Frameworks

David Faure faure at kde.org
Mon Jun 24 09:46:16 UTC 2013


Le dimanche 23 juin 2013 02:16:01 Luiz Romário Santana Rios a écrit :
> Will the Frameworks allow C++11? How much of it will be allowed?

The KDE frameworks are extensions to Qt, so same rules as in Qt, to give the 
frameworks the same potential audience as the Qt libraries themselves :

* Can't require C++11 -- neither while compiling the framework neither while 
using it
* Can add optional C++11 features in the headers only, in case apps use C++11.
You can use the Q_COMPILER_* macros to check for available features in the 
compiler.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list