[Development] [Interest] guidelines for modifying Qt's own build system?

Thiago Macieira thiago.macieira at intel.com
Sat Mar 14 20:27:42 CET 2015


On Saturday 14 March 2015 20:09:13 Kevin Kofler wrote:
> QStandardPaths() {
>   init(QT_USE_FHS_PATHS);
> }
> 
> (possibly with something like __attribute__((always_inline)) to ensure the
> inline function will always be used, bypassing the C++ one definition rule),
> where QT_USE_FHS_PATHS would be defined at application compile time.

Explain to me why a regular, non-inline, static function in QStandardPaths 
wouldn't solve the problem.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Development mailing list