On Wednesday 11 September 2013 23:43:40 Jan Kundrát wrote: > Or just don't bother with this nonsesne and just use the > following: > > a) if the BINDIR as defined at build time matches the current > app's dir -> load from the compile-time-specified PLUGINDIR > (typically app being located at /usr/bin/ and plugins at > /usr/lib/trojita/) > > b) otherwise load from the app dir (path to binary, *not* pwd) > > But I've laready had my tonight's beer, so perhaps I'm again > missing something completely obvious. Comments welcome. > > Cheers, > Jan
What about only changing order of applicationDirPath and PLUGIN_DIR in QCoreApplication::libraryPaths()? So we will have also env QT_PLUGIN_PATH in list? -- Pali Rohár [email protected]
signature.asc
Description: This is a digitally signed message part.
