2018-06-02 11:51:50 +02:00
|
|
|
diff -ru a/src/linguist/lrelease/main.cpp b/src/linguist/lrelease/main.cpp
|
|
|
|
--- a/src/linguist/lrelease/main.cpp 2014-12-06 00:24:59.000000000 +0800
|
|
|
|
+++ b/src/linguist/lrelease/main.cpp 2015-01-12 10:50:16.717756760 +0800
|
2017-12-23 12:14:14 +01:00
|
|
|
@@ -310,9 +310,9 @@
|
2015-01-21 21:52:56 +01:00
|
|
|
option.qmake_abslocation = QString::fromLocal8Bit(qgetenv("QMAKE"));
|
|
|
|
if (option.qmake_abslocation.isEmpty())
|
|
|
|
#ifdef QT_BOOTSTRAPPED
|
|
|
|
- option.qmake_abslocation = binDir + QLatin1String("/qmake");
|
|
|
|
+ option.qmake_abslocation = binDir + QLatin1String("/qmake-qt5");
|
|
|
|
#else
|
|
|
|
- option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake");
|
|
|
|
+ option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake-qt5");
|
|
|
|
#endif
|
|
|
|
option.initProperties();
|
|
|
|
QMakeVfs vfs;
|
2018-06-02 11:51:50 +02:00
|
|
|
diff -ru a/src/linguist/lupdate/main.cpp b/src/linguist/lupdate/main.cpp
|
|
|
|
--- a/src/linguist/lupdate/main.cpp 2014-12-06 00:24:59.000000000 +0800
|
|
|
|
+++ b/src/linguist/lupdate/main.cpp 2015-01-12 10:50:16.718756760 +0800
|
2017-12-23 12:14:14 +01:00
|
|
|
@@ -1048,7 +1048,7 @@
|
2015-01-21 21:52:56 +01:00
|
|
|
ProFileGlobals option;
|
|
|
|
option.qmake_abslocation = QString::fromLocal8Bit(qgetenv("QMAKE"));
|
|
|
|
if (option.qmake_abslocation.isEmpty())
|
|
|
|
- option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake");
|
|
|
|
+ option.qmake_abslocation = app.applicationDirPath() + QLatin1String("/qmake-qt5");
|
|
|
|
option.debugLevel = proDebug;
|
|
|
|
option.initProperties();
|
|
|
|
option.setCommandLineArguments(QDir::currentPath(),
|