Check void QCoreApplication::setLibraryPaths(const QStringList & paths), didn't tried it yet so I am not sure.