deploy_tool qt.conf for MacOS fix

This commit is contained in:
2021-05-06 14:02:18 +03:00
parent acbb0ee84a
commit 413f9cf867

View File

@@ -741,9 +741,11 @@ int main(int argc, char * argv[]) {
qtc.clear();
PIString pp = PIDir(qt_conf_dir).relative(qt_plugins_dir), lp = "lang/";
if (!pp.isEmpty() && !pp.endsWith('/')) pp.append('/');
if (!otool.isEmpty()) {
pp = "PlugIns";
lp = "Resources/lang";
}
//piCout << pp;
if (!otool.isEmpty())
lp.prepend("../Resources");
qtc << "[Paths]\n\tPlugins = " << pp << "\n\tTranslations = " << lp << "\n";
}
}