diff options
Diffstat (limited to 'src/designer')
-rw-r--r-- | src/designer/src/designer/assistantclient.cpp | 2 | ||||
-rw-r--r-- | src/designer/src/designer/qdesigner.cpp | 2 | ||||
-rw-r--r-- | src/designer/src/lib/shared/qdesigner_utils.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/designer/src/designer/assistantclient.cpp b/src/designer/src/designer/assistantclient.cpp index fb8bb5dde..45fee4393 100644 --- a/src/designer/src/designer/assistantclient.cpp +++ b/src/designer/src/designer/assistantclient.cpp @@ -96,7 +96,7 @@ bool AssistantClient::isRunning() const QString AssistantClient::binary() { - QString app = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QDir::separator(); + QString app = QLibraryInfo::path(QLibraryInfo::BinariesPath) + QDir::separator(); #if !defined(Q_OS_MACOS) app += QStringLiteral("assistant"); #else diff --git a/src/designer/src/designer/qdesigner.cpp b/src/designer/src/designer/qdesigner.cpp index ea3780af1..bbd1451f0 100644 --- a/src/designer/src/designer/qdesigner.cpp +++ b/src/designer/src/designer/qdesigner.cpp @@ -160,7 +160,7 @@ static void showHelp(QCommandLineParser &parser, const QString &errorMessage = Q struct Options { QStringList files; - QString resourceDir{QLibraryInfo::location(QLibraryInfo::TranslationsPath)}; + QString resourceDir{QLibraryInfo::path(QLibraryInfo::TranslationsPath)}; bool server{false}; quint16 clientPort{0}; bool enableInternalDynamicProperties{false}; diff --git a/src/designer/src/lib/shared/qdesigner_utils.cpp b/src/designer/src/lib/shared/qdesigner_utils.cpp index a16266cae..8ac1c4836 100644 --- a/src/designer/src/lib/shared/qdesigner_utils.cpp +++ b/src/designer/src/lib/shared/qdesigner_utils.cpp @@ -719,7 +719,7 @@ namespace qdesigner_internal { QProcess uic; QStringList arguments; - QString binary = QLibraryInfo::location(QLibraryInfo::BinariesPath) + QStringLiteral("/uic"); + QString binary = QLibraryInfo::path(QLibraryInfo::BinariesPath) + QStringLiteral("/uic"); switch (language) { case UicLanguage::Cpp: break; |