There are examples app for camera in exampes / tests folder. Please try them 
also.

Also you might need to add some cabs for your application like this :

symbian {
    TARGET.CAPABILITY = UserEnvironment WriteDeviceData ReadDeviceData
}

-antti

________________________________
From: Anders Kjærgaard Hansen [mailto:[email protected]]
Sent: Tuesday, September 14, 2010 12:10 PM
To: Luoma Antti; [email protected]
Subject: RE: [Qt-mobility-feedback] How do I build sis files of 1.1 TP for a 
Symbian S60 device?

Back to this thread then.

I have now managed to build Qt Mobility 1.1 TP, including Messaging and 
Multimedia modules, and can now compile the camera sample for gcce device. (The 
simulator throws some errors though).

I can make sis in the src\s60installs library, and it gets me a selfsigned sis 
file, qtmobility.sis. Tried to sign it with a certificate I had, to produce 
qtMobility.sisx and that seems to work.

I can install it on my device, and it reports installing QtMobilty version 
1.01(0) - which must be right. And it installs without errors.

But, once I try to install the Camera example, or a small hello world app I 
have created the has
CONFIG += mobility
MOBILITY = multimedia

In the .pro file, these reports that QtMobility is not installed.

The camera app fails to start (probably panics over something not there), but 
the Hello World app can start (probably because I don't actually use any libs 
from mobility).

Can anyone figure out what I am missing from this - because I can't.

Once it get on the device, I'm lost in figuring out missing references etc.

Best regards
/Anders

From: Luoma Antti [mailto:[email protected]]
Sent: 31. august 2010 09:31
To: Anders Kjærgaard Hansen; [email protected]
Subject: RE: [Qt-mobility-feedback] How do I build sis files of 1.1 TP for a 
Symbian S60 device?

Hi,

Building sis is easy if your development env is ok. Remember that 1.1 is not 
officially released and it is being developed on so expect some problems.

First get a qt mobility codes, then in root level do:

configure -modules "multimedia location xxx"  #tweak to get all the modules you 
need, leave -modules option out to compile them all
make release-gcce #or make release-armv5 if you have arm compiler.
cd src\s60installs\
make sis # produces qtmobility.sis

But then the sis signing part. All the api module / backend dll:s need some 
cababilitys to work. default for dll in the codes is ALL-TCB which will require 
a special certificate which you don't probably have. So you might need to tweak 
those dll caps to get dll signed and installed on phone.

For example multimedia cabas you have to tweak following pro files BEFORE 
configuring (configure runs qmake which will produces symbian mmp files for the 
project)

modules (api ) dll
src\multimedia\multimedia.pro:
..
symbian {
    load(data_caging_paths)
    QtMediaDeployment.sources = QtMultimediaKit.dll
    QtMediaDeployment.path = /sys/bin
    DEPLOYMENT += QtMediaDeployment
    TARGET.UID3=0x2002AC77
    TARGET.CAPABILITY = ALL -TCB # Edit this for your needs, remember that dll 
cabas need to be equal or greater that the dll/lib it uses internally
    LIBS += -lefsrv
}
...
backend plugin dll,
plugins\multimedia\symbian\mmf\mmf.pro
...

load(data_caging_paths)
TARGET.EPOCALLOWDLLDATA = 1
TARGET.UID3=0x2002AC76
TARGET.CAPABILITY = ALL -TCB # Edit this for your needs, remember that dll 
cabas need to be equal or greater that the dll/lib it uses internally
MMP_RULES += EXPORTUNFROZEN
...


Hope this helps.

-antti


________________________________
From: [email protected] 
[mailto:[email protected]] On Behalf Of Anders 
Kjærgaard Hansen
Sent: Thursday, August 26, 2010 9:22 AM
To: [email protected]
Subject: [Qt-mobility-feedback] How do I build sis files of 1.1 TP for a 
Symbian S60 device?
Hi,

I've asked this question on the forums as well, but all I have received as 
answer are "Welcome in the club".

Are there any way I can build a sis file of 1.1 TP  for a Symbian device, or is 
it still not ready for this?

Best regards
/Anders

_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to