0

I have updated my Qt version to

  • Qt Creator 2.7.1
  • Based on Qt 5.0.2 (32 bit)
  • Built on Sep 6 2013 at 08:23:22

Still I am not able to use Qt Quick controls and Qt Quick 2.0. I get this error

module "QtQuick" version 2.0 is not installed
import QtQuick 2.0

I have imported QtQuick 2.0 still it's not working.

Simon Warta
  • 10,850
  • 5
  • 40
  • 78
Jino
  • 345
  • 1
  • 2
  • 16
  • Whoch operation system are you using? From which source did you install Qt? – Simon Warta Feb 19 '14 at 20:47
  • @SimonWarta OS is Ubuntu 13.10. Installed Qt by downloading from . Downloaded version:- qt-linux-opensource-5.2.0-x86-offline.run. Please let me know if you need additional info. – Jino Feb 20 '14 at 04:46

1 Answers1

0

The solution might be adding:

QT += quick

in your .pro file. If it doesn't help please install this.

user2087932
  • 128
  • 2
  • 9
  • I am actually working on QML file and there is no .pro file in that. All I have is one .qmlproject file. – Jino Feb 21 '14 at 04:32