deploy_tool qt.conf for MacOS fix
This commit is contained in:
@@ -739,10 +739,12 @@ int main(int argc, char * argv[]) {
|
||||
if (!ldd.isEmpty() || !readelf.isEmpty()) { // qt.conf for Linux
|
||||
PIFile qtc(qt_conf_dir + "qt.conf", PIIODevice::ReadWrite);
|
||||
qtc.clear();
|
||||
PIString pp = PIDir(qt_conf_dir).relative(qt_plugins_dir);
|
||||
PIString pp = PIDir(qt_conf_dir).relative(qt_plugins_dir), lp = "lang/";
|
||||
if (!pp.isEmpty() && !pp.endsWith('/')) pp.append('/');
|
||||
//piCout << pp;
|
||||
qtc << "[Paths]\n\tPlugins = " << pp << "\n\tTranslations = lang/\n";
|
||||
if (!otool.isEmpty())
|
||||
lp.prepend("../Resources");
|
||||
qtc << "[Paths]\n\tPlugins = " << pp << "\n\tTranslations = " << lp << "\n";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user