Hi Folks,
I am sorry but I have to bug you yet again with something which is probably very small.
I want to set the launcher icon and the display name of my app. Can I do this in Qt creator, to target the N900?
All the best
Tam Hanna
Hi Folks,
I am sorry but I have to bug you yet again with something which is probably very small.
I want to set the launcher icon and the display name of my app. Can I do this in Qt creator, to target the N900?
All the best
Tam Hanna
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
Icon and name are in .desktop file, which is part of Debian package.
Here you can find sample Debian package
http://wiki.forum.nokia.com/index.ph...mple-0.0.1.zip
Beware of DBus.
Last edited by divanov; 2010-06-21 at 22:43.
Hi divanov,
thank you so much!
What is the issue with DBus?
Tam
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
Hi Daniil,
thank you so much for your help!
I have now looked at the downloaded package - but it looks like the Nokia Qt SDK has already created the /debian/ folder for me.
I now wonder about the following:
a) how can I change the templates for version, etc which the Qt Creator uses for the files in the /debian/ folder
b) how can I add a .desktop file in this configuration
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
Debianization made by MADDE is pretty much similar to sample application. You can copy relevant parts of the files. The only significant difference is that sample package is using template "subdirs" instead of "app". You can copy data directory from sample application to your working directory and make necessary changes.
Hi divanov,
thank you so much for all the help so far - if we ever meet, I owe you a can of red bull.
I have now tried to apply your changes by copyi8ng the data folder of the sample app to the same folder as the src folder, and also by changing the .pro file to look like this:
I can then proceed to build a package, but if I install it, the N900 whines aboutr how this nis not a Nokia app and how it can cause damage. I click OK. It then states:Code:TEMPLATE = app TARGET = BallZ QT += core \ gui \ phonon HEADERS += s60sound/CMixerThread.h \ s60sound/CSndMixer.h \ s60sound/CWavLoader.h \ s60sound/MyActive.h \ s60sound/SoundMixerContainer.h \ s60sound/TAudioShared.h \ s60sound/TSample.h \ highscoreform.h \ settingsform.h \ engine/ApplicationPrefs.h \ engine/fixedpoint.h \ engine/BallZEngine.h \ hal/HalConstants.h \ QtBallZ.h \ QMyApplication.h SOURCES += s60sound/CMixerThread.cpp \ s60sound/CSndMixer.cpp \ s60sound/CWavLoader.cpp \ s60sound/MyActive.cpp \ s60sound/SoundMixerContainer.cpp \ highscoreform.cpp \ settingsform.cpp \ engine/ApplicationPrefs.cpp \ engine/BallZDrawStbar.cpp \ engine/BallZDraw.cpp \ engine/BallZMenu.cpp \ engine/BallZState.cpp \ engine/BallZPhys.cpp \ engine/BallZLevels.cpp \ engine/BallZGlobals.cpp \ main.cpp \ QtBallZ.cpp \ QMyApplication.cpp FORMS += highscoreform.ui \ settingsform.ui \ QtBallZ.ui RESOURCES += leveldata.qrc symbian: { TARGET.UID3 = 0x2002CAC7 RESOURCES+=symbian.qrc LIBS += -lcone \ -leikcore \ -lefsrv \ -lavkon \ -lmediaclientaudio \ -lmediaclientaudiostream \ -lcentralrepository \ -lws32 myFiles.sources = rsc\music\*.wav DEPLOYMENT += myFiles moreFiles.pkg_postrules = "\"$(EPOCROOT)epoc32\\data\\z\\resource\\apps\\QtBallZ_icons.mbm\" -\"!:\\resource\\apps\\QtBallZ_icons.mbm\"" DEPLOYMENT += moreFiles MMP_RULES += "START BITMAP QtBallZ_icons.mbm" \ "HEADER" \ "SOURCEPATH .\gfx" \ "SOURCE c24,1 midicon.bmp midicon_mask.bmp smlicon.bmp smlicon_mask.bmp bigicon.bmp bigicon_mask.bmp" \ "TARGETPATH \resource\apps" \ "END" } maemo5 { HEADERS+=maemosound/CSoundMixerContainer.h \ maemosound/BallZPhononEngine.h SOURCES+=maemosound/CSoundMixerContainer.cpp \ maemosound/BallZPhononEngine.cpp RESOURCES+=maemo.qrc } # Maemo specific unix { CONFIG += qdbus #VARIABLES isEmpty(PREFIX) { PREFIX = /usr } BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\"$$DATADIR\" \ PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop service icon26 icon40 icon64 target.path =$$BINDIR service.path = $$DATADIR/dbus-1/services service.files += ../data/org.indt.sample.service desktop.path = $$DATADIR/applications/hildon desktop.files += ../data/$${TARGET}.desktop icon26.path = $$DATADIR/icons/hicolor/26x26/apps icon26.files += ../data/26x26/$${TARGET}.png icon40.path = $$DATADIR/icons/hicolor/40x40/apps icon40.files += ../data/40x40/$${TARGET}.png icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += ../data/64x64/$${TARGET}.png }
unable to Update 'qtballz'
Incompatible apoplication package
Please help - what is going on here?
P.S. The project sources, data folder from sample app and so on are in folder workspace/QtBallZ
the build is in
´workspace/QtBallZ-build
and I have not copied the toplevel .pro file.
Last edited by tamhanna; 2010-06-27 at 05:00. Reason: caught wrong pro file - sorry
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
You install packages in XTerminal with
Code:sudo gainroot dpkg -i package_name_version_armel.deb
Hi divanov,
so they can not be clicked from the file manager?
All the best
Tam Hanna
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
Application manager installs applications from the Debian repositories configured for the manager.
Hi,
so if I just move a deb file to the N900 using PC suite and click it from File Manager, it will not install?
Sorry for the dumb questions, but I am not a Linux head.
All the best
Tam Hanna
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
You should place the packahe to /home/user/ directory, open XTerminal and execute
BTW, Nokia Qt SDK allows you deploying packages without necessity to use PC Suite and XTerminal.Code:sudo gainroot dpkg -i package_name_version_armel.deb
Last edited by divanov; 2010-07-08 at 08:53.
Hi divanow,
thank you so much for talking back.
I am able to run the app on my n900 via WiFi - the issue is that I want it to be in the launcher and be able to run on other n900s via the Ovi...
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog
Hi Divanov,
thanks for your help.
They may not be the simplest, but they are the way to make money...
The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
http://www.tamoggemon.com - Symbian blog - Windows Phone blog
My other blogs:
webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog