I was following the step-by-step guide on how to develop an Ubuntu Phone application but Qt Creator throughs the error message (module "QtQuick" version 2.0 is not installed) when I run it with QMLscene. Seems to me that Qt Creator utilizes Qt4 instead of Qt5. How can I fix this?
You are using qmlviewer when you should be using qmlscene. Quote from the tutorial:
To start QML applications, either during the prototyping or final stages, you will use QML Scene. QML Scene is a command-line application that interprets and runs QML code.
Here's a tip: although Qt Creator does not yet support qmlscene as QML viewer, you can invoke it from within the IDE. Here’s how:
You can also run QML Scene from the command line:
Hi~ I had the same problem like yours that Qt Creator throughs the error message
(module "QtQuick" version 2.0 is not installed).
And I was also following the step-by-step guide just like you. Finally I have fixed it now. this image shows that you have something wrong in configuration the qmlscene. I also had configured the qmlscene, but it had the same error like you had done.
Finally I found that when I configured the path of qmlscene , I had typed a backspace before the "/opt/qt5/bin/qmlscene" . So it didn't work. I just want to tell you what I've done to cause this error. :)
You will also have to change the default qmlviewer:
protected by Community♦ Jan 12 '13 at 21:02
Thank you for your interest in this question.
Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead?