qt6-qttools/qttools-run-qttools-with-qt6-suffix.patch

37 lines
1.5 KiB
Diff
Raw Normal View History

2021-01-22 11:12:18 +00:00
diff --git a/src/linguist/lrelease-pro/main.cpp b/src/linguist/lrelease-pro/main.cpp
2021-05-07 11:37:22 +00:00
index bd20eea..6d80738 100644
2021-01-22 11:12:18 +00:00
--- a/src/linguist/lrelease-pro/main.cpp
+++ b/src/linguist/lrelease-pro/main.cpp
@@ -145,6 +145,6 @@ int main(int argc, char **argv)
projectDescription->setAutoRemove(false);
lreleaseOptions << QStringLiteral("-project") << projectDescription->fileName();
- runQtTool(QStringLiteral("lrelease"), lreleaseOptions);
+ runQtTool(QStringLiteral("lrelease-qt6"), lreleaseOptions);
return 0;
}
diff --git a/src/linguist/lupdate-pro/main.cpp b/src/linguist/lupdate-pro/main.cpp
2021-05-07 11:37:22 +00:00
index 1910467..160b421 100644
2021-01-22 11:12:18 +00:00
--- a/src/linguist/lupdate-pro/main.cpp
+++ b/src/linguist/lupdate-pro/main.cpp
@@ -154,6 +154,6 @@ int main(int argc, char **argv)
projectDescription->setAutoRemove(false);
lupdateOptions << QStringLiteral("-project") << projectDescription->fileName();
- runQtTool(QStringLiteral("lupdate"), lupdateOptions);
+ runQtTool(QStringLiteral("lupdate-qt6"), lupdateOptions);
return 0;
}
diff --git a/src/linguist/shared/runqttool.cpp b/src/linguist/shared/runqttool.cpp
2021-05-07 11:37:22 +00:00
index caf1e41..7d854cc 100644
2021-01-22 11:12:18 +00:00
--- a/src/linguist/shared/runqttool.cpp
+++ b/src/linguist/shared/runqttool.cpp
2021-05-07 11:37:22 +00:00
@@ -119,6 +119,6 @@ std::unique_ptr<QTemporaryFile> createProjectDescription(QStringList args)
2021-01-22 11:12:18 +00:00
}
file->close();
args << QStringLiteral("-out") << file->fileName();
2021-05-07 11:37:22 +00:00
- runInternalQtTool(QStringLiteral("lprodump"), args);
+ runInternalQtTool(QStringLiteral("lprodump-qt6"), args);
2021-01-22 11:12:18 +00:00
return file;
}