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 just downloaded the Ubuntu phone SDK and QT creator according to the instructions.

When I fire up QTCreator, I get a screen as shown

http://i.imgur.com/HrgO1su.png?1

If I ignore this message and hit continue, there are no templates to create the Mobile application as indicated in the tutorial I'm following.


I tried installing qt5-default and qtchooser - problem still persists. Here is the error message

Cannot load plugin because dependency failed to load: RemoteLinux(2.6.82) 
Reason: Cannot load plugin because dependency failed to load: QtSupport(2.6.82) 
Reason: Cannot load plugin because dependency failed to load: ProjectExplorer(2.6.82) 
Reason: /usr/lib/i386-linux-gnu/qtcreator/plugins/QtProject/libProjectExplorer.so: 
Cannot load library /usr/lib/i386-linux-gnu/qtcreator/plugins/QtProject/libProjectExplorer.so: 
(libQt5Declarative.so.5: cannot open shared object file: No such file or directory)
share|improve this question
    
what happens if you try to install qt5-default and qtchooser? could you also paste Full error somewhere I can not read the last couple of lines –  Joseph Mills Feb 22 '13 at 4:04
1  
Have you really installed Gt5 from the canonical-qt5-edgers/qt5-proper PPA as described here? What QtCreator version do you have? –  Octavian Damiean Feb 22 '13 at 15:49
    
Try installing libbotan-1.10-0, it seems they forgot to add this as a dependency in the package.. –  Cantormath Feb 22 '13 at 18:05
    
@Cantormath How would that package change anything? –  Octavian Damiean Feb 24 '13 at 21:39
    
I followed Octavian's reply ... Followed the instruction on the PPA link. Terminal showed a message : 0 installed, 0 updated...then software centre showed some 28 updates .. I went ahead and updated - restarted the computer and BAM ! it worked ! thank you to everybody for contributing ... –  Mohit Athwani Mar 5 '13 at 13:39
add comment

2 Answers

As David mentioned rerunning this command seemed to help:

sudo apt-get install ubuntu-sdk notepad-qml

The only other thing for me was I had to remove the previous install first and run another update before reinstalling would work.

To uninstall run the following command.

sudo apt-get purge ubuntu-sdk notepad-qml

Then update the sources and reinstall the packages.

sudo apt-get update && sudo apt-get install ubuntu-sdk notepad-qml

I am running 12.10 so I don't know if this is the same for each release.

share|improve this answer
    
Hey, I'm new with all this ... how can I uninstall the neccessary tools ? –  Mohit Athwani Feb 22 '13 at 10:06
    
You can either remove packages from the software centre or run the command in the terminal sudo apt-get remove {package-name} –  CMDann Feb 22 '13 at 20:45
add comment

I ran into the same problem earlier today when I updated my system and opened QT Creator. I found that the the ubuntu-sdk package didn't update itself properly. Try running this command to fix the problem:

sudo apt-get install ubuntu-sdk notepad-qml

I am sure you already ran this to initially install QT Creator, but running this again helped me. I cannot guarantee this will fix the issue, it worked for me.

Hope this helps!


Plus run this as well:

sudo apt-get install libbotan*
share|improve this answer
    
nope, this did not work for me :(... I'm going to try CMDann's method now ... –  Mohit Athwani Feb 22 '13 at 10:05
    
did not work for me... –  Cantormath Feb 22 '13 at 17:16
add comment

protected by Community Feb 22 '13 at 14:53

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

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