September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

[Solved] how can i install Qt-mobility on meego n950.

Page  
1

I want to install mobility on meego m950 device
i found following guide to install
http://developer.qt.nokia.com/wiki/How_to_Install_Qt_Mobility_on_MeeGo
it but when i am running following command
sudo zypper addrepo http://download.meego.com/live/devel:/qt-mtf:/qt-mobility:/1.2tp1/testing/ mobility-1.2-tp1
it shows me sudo not found and when i replace sudo with su then it shows
unknown user zypper.

please tell me the easiest way to install Qt mobility on N950.

[Alicemirror: set to solved this thread because it is evident. Should be done by the owners of the thread]

23 replies

September 14, 2011

leon.anavi leon.anavi
Mad Scientist
1046 posts

Please note that this wiki article [developer.qt.nokia.com] was written before the launch of MeeGo Harmattan and it is valid only for devices with pure MeeGo OS. I have updated the article to avoid any confusion in future.

Nokia N950 and N9 should have Qt Mobility installed out of the box and I believe you don’t have to install anything.

 Signature 

http://anavi.org/

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

Hi,

I have read the page and it seems not so clear to me too. I have added a little integration with the link to the Qt Labs : http://labs.qt.nokia.com/2011/05/12/qt-mobility-1-2-0-released/ where there are more details about the last Qt Mobility release and the installation instruction on Meego. Hope this can help you.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

@leon.anavi thanks bro, but i don’t think QtMobility installed on N950.

@Alicemirror thanks bro, I am very new for linux based devices so plz define how can i install it to my n950 devices because i said before following errors is occuring while i am running sudo commands.
sudo not found
unknown user zypper.

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

Hi,

As I know, you should ignore the wiki page, that as Leon has explained refers to the Meego OS (=another kind of devices).

Regarding Qt Mobility, your N950 is the target device, so if you install Qt Mobility on your development platform (i.e. Harmattan or Symbian) the application is packaged with the needed libraries on the device.

As I know, you should do nothing on Harmattan then compile to application from your pc and deploy it on the device.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

FYI: Leon has gently updated the wiki page with the following note:

Qt Mobility is compatible with MeeGo OS. Please note that this tutorial affects devices (netbooks and tablets) with MeeGo and it is not appropriate for MeeGo Harmattan devices (Nokia N9 and Nokia N950).

Hope this will clear your question. If any don’t esistate to ask.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

@Alicemirror it is not appropriate for MeeGo Harmattan devices (Nokia N9 and Nokia N950)
What does it means? Is QtMobility already installed on N950? or will it install through other way?
Becuase I am developing project for Nokia N950.

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

The libraries that you install are on your development device i.e. windows or linux or Mac machine. Then the compilation creates a package including all the components needed to your application.

it seemed very strange to me the need to install something on the N950 enabling the application to run :)

There is only a slight difference on symbian devices where you can decide to install the package only and the libraries and components as a separate package or all together controlled by the smartinstaller package.

I think that to use Qt Mobility on N950 you should update your Qt SDK with the Mobility components and compile + package + deploy your application on the device.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

leon.anavi leon.anavi
Mad Scientist
1046 posts
DanSiddiqui wrote:
@leon.anavi thanks bro, but i don’t think QtMobility installed on N950.

Qt Mobility is installed on N9 and N950 you can check the official information about Nokia N9 [developer.nokia.com]:

Qt Mobility 1.2.0 — adding support for Bluetooth and NFC technology.

Btw as a proof that Qt Mobility is present on N950/N9 – I have already developed and published at Ovi location2sms an app using Qt Mobility that is running on MeeGo Harmattan devices and I did not have to install anything additionally.

 Signature 

http://anavi.org/

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

@leon: I thought this but I was unsure. I have not found the link. BTW for him I think that nothing changes. He should install all the components on his development environment for compilation and linking then all goes right. Is it true ?

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

Ok its great if Qt will installed automatically Qt libararies or API.but i am sure about it.
One more Question I have lots of project which i developed for Symbian^3 devices, when i opened it for Harmattan device it is not getting the includes files.
with error message= No such File or Directory
#include <QMessageBox> //No such File or Directory
#include <QSqlDatabase>//No such File or Directory

September 14, 2011

leon.anavi leon.anavi
Mad Scientist
1046 posts
Alicemirror wrote:
He should install all the components on his development environment for compilation and linking then all goes right. Is it true ?

Yes, absolutely.

@DanSiddiqui please follow Alicemirror’s advice about the development environment. If you do everything fine you should be able to port your pure Qt applications for Symbian^3 to MeeGo Harmattan easily.

 Signature 

http://anavi.org/

September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

Thanks leon.anavi , Plz tell me the source code project or any example project
for harmattan device(N950).so i will check it on my N950 device which includes mobility API.
if you url plz tell me i will download it on my PC.

September 14, 2011

DanSiddiqui DanSiddiqui
Lab Rat
90 posts

so why error displaying on my .cpp files:
error message= No such File or Directory
#include <QMessageBox> //No such File or Directory
#include <QSqlDatabase>//No such File or Directory

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts

@DanSiddiqui: please tell us what development platform you are using.

From Windows you should go in the program manager / Qt sdk / and launch the Qt mainteiner or updater. See if you have installed the Qt Mobility library or if your library should be updated. Please note that it is possible that some components (following the indications in the labs blog about releases) with Qt 4.7.4 part of the development environment will be found in the experimental section. Then see what is your actual development environment configuration, what components you have installed. It is possible that something goes wrong just because you have not all what you need.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

September 14, 2011

Alicemirror Alicemirror
Lab Rat
825 posts
DanSiddiqui wrote:
so why error displaying on my .cpp files: error message= No such File or Directory #include <QMessageBox> //No such File or Directory #include <QSqlDatabase>//No such File or Directory

You see this error just because the related libraries and components your need in your SDK are not installed. This is NOT a problem on your device, it is a problem of your development environment on your PC.

 Signature 

Enrico Miglino (aka Alicemirror)
Tech Consulting
Islas Baleares, Ibiza (Spain)
http://www.contesti.eu

Page  
1

  ‹‹ Qt Keypad Navigation      Scheduled reload of data feeds from Web Services ››

You must log in to post a reply. Not a member yet? Register here!