How to solve module “”QtQuick.Controls“ version 2.0 is not installed” on mac

自古美人都是妖i 提交于 2019-12-11 11:03:57

问题


I've been getting the error "module "QtQuick.Controls" version 2.0 is not installed" on Qt Creator 5.6.13, so i upgraded to 5.11.2 and i'm still getting it.

Here's the part causing it:

import QtQuick.Controls 2.0

Thank you for your help.


回答1:


Make sure you activated your Qt kit in Projects > Build & Run as follow:




回答2:


Ok so, I was building with the Qt Creator 5.6.3 compiler.

Projects => Build & Run => change to the corresponding kit.



来源:https://stackoverflow.com/questions/53374106/how-to-solve-module-qtquick-controls-version-2-0-is-not-installed-on-mac

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!