diff --git a/utils/deploy_tool/main.cpp b/utils/deploy_tool/main.cpp index fc9c3a2c..5d5153c3 100644 --- a/utils/deploy_tool/main.cpp +++ b/utils/deploy_tool/main.cpp @@ -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"; } } }