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

_______________________________________________
Development mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to