Merge pull request #69 from LibrePCB/qt52_compatibility
Fix compile error when using Qt5.2
This commit is contained in:
+1
-1
@@ -1109,7 +1109,7 @@ bool deployQmlImports(const QString &appDirPath, DeploymentInfo deploymentInfo,
|
|||||||
QString path = import["path"].toString();
|
QString path = import["path"].toString();
|
||||||
QString type = import["type"].toString();
|
QString type = import["type"].toString();
|
||||||
|
|
||||||
if (import["name"] == "QtQuick.Controls")
|
if (import["name"].toString() == "QtQuick.Controls")
|
||||||
qtQuickContolsInUse = true;
|
qtQuickContolsInUse = true;
|
||||||
|
|
||||||
LogNormal() << "Deploying QML import" << name;
|
LogNormal() << "Deploying QML import" << name;
|
||||||
|
|||||||
Reference in New Issue
Block a user