From 453fbfd163d870fb62aec28b585d14ec787bd03a Mon Sep 17 00:00:00 2001 From: "U. Bruhin" Date: Sun, 12 Feb 2017 23:09:51 +0100 Subject: [PATCH] Fix compile error when using Qt5.2 Error message: 'QJsonValue::QJsonValue(const void*)' is private --- shared/shared.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/shared.cpp b/shared/shared.cpp index a103876..dce817a 100644 --- a/shared/shared.cpp +++ b/shared/shared.cpp @@ -1109,7 +1109,7 @@ bool deployQmlImports(const QString &appDirPath, DeploymentInfo deploymentInfo, QString path = import["path"].toString(); QString type = import["type"].toString(); - if (import["name"] == "QtQuick.Controls") + if (import["name"].toString() == "QtQuick.Controls") qtQuickContolsInUse = true; LogNormal() << "Deploying QML import" << name;