libqt5-qttools/fix-for-opensuse-qmake-qt5.patch

14 lines
790 B
Diff

Index: qttools-everywhere-src-5.13.0-beta1/src/linguist/lprodump/main.cpp
===================================================================
--- qttools-everywhere-src-5.13.0-beta1.orig/src/linguist/lprodump/main.cpp
+++ qttools-everywhere-src-5.13.0-beta1/src/linguist/lprodump/main.cpp
@@ -438,7 +438,7 @@ int main(int argc, char **argv)
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(),