You can check what caba are needed for dll, but can't remember what that magic command was. I think these should do in most cases UserEnvironment WriteDeviceData ReadDeviceData.
There was a bug in installer at some point. somewhere near 1.0.1 and 1.0.2 could be that. make sure that your qt and sdk has correct dependencies. check for example qt\mkspecs\features\mobility.prf (this is installed under qt at some point after compile). -antti ________________________________ From: Anders Kjærgaard Hansen [mailto:[email protected]] Sent: Tuesday, September 14, 2010 2:04 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? Are there anywhere I can see what capabilities the packs require. E.g. if I include the Camera api in my product, where can I see what capabilities my product should have as minimum? I still have the problem with the QtMobility.sis / sisx I have generated. Is that due to Capabilities as well? I have looked in the .pkg files, and the all state the prerequisite to ; Default dependency to QtMobility libraries (0x2002AC89), 1, 1, 0, {"QtMobility"} And in the QtMobility_template.pkg I have this ; SIS header: name, uid, version #{"QtMobility"},(0x2002AC89),1,1,0 I generate the QtMobility.sisx from the QtMobility_template.pkg, and it installs fine on my phone. But when I try to install one of the programs which have the dependency stated above, the all say during install that the component QtMobility is missing. If that is right, then I can surely understand why the programs fail to run - but everywhere I look in the phone it tells QtMobile sis file is installed. Am I doing something wrong here as well, do I need to change capabalities away from all -tcb, even though it installs fine? Best regards /Anders From: Luoma Antti [mailto:[email protected]] Sent: 14. september 2010 11:38 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? 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
