On Wednesday 11 September 2013 17:54:40 Jan Kundrát wrote: > On Wednesday, 11 September 2013 17:50:52 CEST, Pali Rohár wrote: > > And PluginManager will use list > > QCoreApplication::libraryPaths() for searching for plugins > > in subdir "/trojitaplugins" - like any other qt plugins > > (style, etc.). This looks like common method for using qt > > plugins. > > You mentioned that the path to the binary is added to the list > as well. What's the priority? I'm asking because the in-tree > builds shall load the within-the-builddir plugins prior to > loading the systemwide ones. > > Cheers, > Jan
Ah, I totally forgot about priority. Function addLibraryPath() adding path to the beginning of the library path list. Now I looked into qt4 source code and default priority is: 1. QLibraryInfo::location(QLibraryInfo::PluginsPath) 2. QCoreApplication::applicationFilePath() 3. QT_PLUGIN_PATH So this is bad :-( About using reverse order? -- Pali Rohár pali.ro...@gmail.com
signature.asc
Description: This is a digitally signed message part.