PIPluginLoader::pluginsDirectories()

This commit is contained in:
2021-04-18 17:40:40 +03:00
parent dd080ed5e0
commit fd7eae14c6
4 changed files with 18 additions and 2 deletions

View File

@@ -682,7 +682,8 @@ int main(int argc, char * argv[]) {
PIFile qtc(qt_conf_dir + "qt.conf", PIIODevice::ReadWrite);
qtc.clear();
PIString pp = PIDir(qt_conf_dir).relative(qt_plugins_dir);
piCout << pp;
if (!pp.isEmpty() && !pp.endsWith('/')) pp.append('/');
//piCout << pp;
qtc << "[Paths]\n\tPlugins = " << pp << "\n\tTranslations = lang/\n";
}
}