forked from qt-creator/qt-creator
Work around lupdate issue and get rid of "Tr" context
For some reason lupdate doesn't find the right context and adds a "Tr" context. Fully qualifying the call helps. Change-Id: Ib993ad2d742a88352c9c2021184100eaa659b9b6 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -123,7 +123,7 @@ static std::unique_ptr<QbsProductNode> buildProductNodeTree(const QJsonObject &p
|
||||
// Add "Generated Files" Node:
|
||||
auto genFiles = std::make_unique<VirtualFolderNode>(
|
||||
FilePath::fromString(prd.value("build-directory").toString()));
|
||||
genFiles->setDisplayName(Tr::tr("Generated files"));
|
||||
genFiles->setDisplayName(::QbsProjectManager::Tr::tr("Generated files"));
|
||||
setupGeneratedArtifacts(genFiles.get(), prd);
|
||||
result->addNode(std::move(genFiles));
|
||||
return result;
|
||||
|
@@ -1735,7 +1735,7 @@ bool QtVersionPrivate::queryQMakeVariables(const FilePath &binary, const Environ
|
||||
error = &tmp;
|
||||
|
||||
if (!binary.isExecutableFile()) {
|
||||
*error = Tr::tr("qmake \"%1\" is not an executable.").arg(binary.displayName());
|
||||
*error = ::QtSupport::Tr::tr("qmake \"%1\" is not an executable.").arg(binary.displayName());
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user