Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am trying to follow the Mobile app development tutorial found here. When I try to run the currency converter in QT Creator I get this error:

Starting external tool '/usr/bin/qmlviewer' ''
qmlviewer: could not exec '/usr/lib/x86_64-linux-gnu/qt5/bin/qmlviewer': No such file or directory

I'm not sure how to fix this? I can run the program from the command line and it runs fine but it doesn't work in Qt Creator. Has any one else had these issues? Any advice on how to fix it?

share|improve this question
2  
you have to use qmlscene, if you have QtQuick 2.0 like in the tutorial. How do you try to run the app in Qt Creator? –  djfun Feb 24 '13 at 18:23
    
I didn't set the shortcut ctrl+shift+p properly. Everything works now! Thanks everyone for your help. –  Sarah Feb 24 '13 at 21:37
add comment

2 Answers 2

up vote 1 down vote accepted

You must install QML toolkit. run:

sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper
sudo add-apt-repository ppa:ubuntu-sdk-team/ppa 
sudo apt-get update 
sudo apt-get install ubuntu-sdk notepad-qml
share|improve this answer
    
the QML from this website has nothing to do with the QML from the question –  djfun Feb 24 '13 at 18:28
add comment

Go to Ubuntu Software Centre and find 'Qt4 QML viewer'. Install it. should work now.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.