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

imad kimouche picture imad kimouche · Nov 19, 2018 · Viewed 7.2k times · Source

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.

Answer

Fatemeh Karimi picture Fatemeh Karimi · Jul 24, 2020

use this command to install it on linux

sudo apt install qml-module-qtquick-controls2