QML for Ubuntu Touch

on February 26th, 2013 by Wade Shull in Development - QML - Qt
| Share

There have been some very neat releases as of late in the mobile world.  Jolla is trying to keep the momentum that Nokia built with Meego by releasing a UI named Sailfish.  Mozilla has put forth a plan for its Firefox OS.  The one that I have chosen to follow though is the release of Ubuntu Touch.  This wasn’t always the case.  I was first going to stick with Jolla and Sailfish.  I did this because the reason I got into mobile devices in the first place was QML.  Well Nokia threw away the whole Qt developer base it had built to bed down with Microsoft.  Jolla was offering a way to keep coding in QML, but to be honest it has been hard for me to follow what they are doing.  I don’t even know if I would even be able to get a phone here in the USA that runs Sailfish.  Once I saw Ubuntu Touch in action and that they are promoting coding QML with QtCreator I knew I had found my new home.

With my new home found it was time to get the SDK going.  Now normally I am a Windows guy.  Ouch, easy on the insults.  I have 2 PCs running at home.  My main computer runs Windows 7 and my old one runs Windows 8.  Yeah the old one is running the newer OS.  Anyway.  I decided to run Ubuntu in a VM on my 7 machine.  Don’t try this, it didn’t go so well with running Qt Creator.  Next move was to dual boot my 8 machine.  So I go and grab the iso for Ubuntu 12.04 because it is the latest LTS.  The install goes just fine and the machine is dual booting with the greatest of ease.  Problem solved?  Nah.  That was too easy.  For some reason the Qt-Ubuntu-Components and the latest QtCreator with Qt5 don’t like 12.04.  I got a slew of errors trying to get QtCreator to install and run.  Well with that in mind I tried doing an updated to 12.10.  That didn’t go well at all.  So I installed 12.10 from the iso.  Once 12.10 I did these commands.

sudo add-apt-repository ppa:canonical-qt5-edgers/qt5-proper

Next is 

sudo add-apt-repository ppa:ubuntu-sdk-team/ppa && sudo apt-get update && sudo apt-get install ubuntu-sdk notepad-qml

Once that was done I install QtCreator.  I thought I was done and ready at that point.  When I fired up QtCreator though I received a bunch of errors about plugins not loading correctly.  I was lucky enough to stumble upon this post showing me to run

sudo apt-get install libbotan*

This has fixed my last problem.  I am happy to report it is all up and running.  I ready to start diving into QML again after a too long of break.  In the coming posts I will hopefully show what great things have changed since I last coded in it.  I already seem some drastic improvements from  before.

Here are a couple of pages with just about the same instructions on how to get QtCreator with the Ubuntu SDK on your machine.




Comments: 0 Tags:

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>