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


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)
  • 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

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.

  • 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

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*
  • 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

protected by Community Feb 22 '13 at 14:53

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?

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