问题
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