aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/language/moduleloader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/corelib/language/moduleloader.cpp')
-rw-r--r--src/lib/corelib/language/moduleloader.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/corelib/language/moduleloader.cpp b/src/lib/corelib/language/moduleloader.cpp
index 57578ddb0..52381465a 100644
--- a/src/lib/corelib/language/moduleloader.cpp
+++ b/src/lib/corelib/language/moduleloader.cpp
@@ -3228,11 +3228,9 @@ Item::Module ModuleLoader::loadBaseModule(ProductContext *productContext, Item *
void ModuleLoader::setupBaseModulePrototype(Item *prototype)
{
prototype->setProperty(QStringLiteral("hostPlatform"),
- VariantValue::create(QString::fromStdString(
- HostOsInfo::hostOSIdentifier())));
+ VariantValue::create(HostOsInfo::hostOSIdentifier()));
prototype->setProperty(QStringLiteral("hostArchitecture"),
- VariantValue::create(QString::fromStdString(
- HostOsInfo::hostOSArchitecture())));
+ VariantValue::create(HostOsInfo::hostOSArchitecture()));
prototype->setProperty(QStringLiteral("libexecPath"),
VariantValue::create(m_parameters.libexecPath()));