On Saturday 14 March 2015 22:32:20 Kevin Kofler wrote:
> I think the idea was to avoid requiring any changes to the actual code of 
> the application, only to the build setup (which could then be centralized
> in  a common CMake module such as KDECompilerSettings.cmake in
> extra-cmake-modules that all the KDE projects include).

Add this .cpp to the compilation and build it into the binary:

static void useXdgPaths()
{
    QStandardPaths::setUseXdgPaths(true);
}
Q_CONSTRUCTOR_FUNCTION(useXdgPaths);

-- 
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