![]() |
2010-01-18
, 00:46
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#12
|
![]() |
2010-01-18
, 01:26
|
|
Posts: 85 |
Thanked: 65 times |
Joined on Jan 2010
@ Ireland
|
#13
|
shep: i transfered it with usb and installed with dpkg -i with root access.
TARGET = wwcalc TEMPLATE = app SOURCES += qtmain.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui PREFIX = ../debian/wwcalc/usr unix { BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop icon64 service target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += wwcalc.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += wwcalc.png service.path = $$DATADIR/usr/share/dbus-1/services service.files += wwcalc.service }
mad dh_make --createorig --single -e s.l@gmail.com -c gpl mad qmake mad dpkg-buildpackage mad remote -r wwcalc send ../wwcalc_0.3-1_armel.deb mad remote -r wwcalc install wwcalc_0.3-1_armel.deb mad remote -r wwcalc run dpkg -L wwcalc
The Following 2 Users Say Thank You to shep For This Useful Post: | ||
![]() |
2010-01-18
, 03:23
|
Posts: 51 |
Thanked: 15 times |
Joined on Apr 2009
@ ChengDu, SiChuan, P.R.C
|
#14
|
![]() |
2010-01-18
, 08:26
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#15
|
I tried both and I still have the blue square![]()
I guess it's a problem with the package still.
Shep
/usr/share/applications/hildon/<software>.desktop /usr/share/dbus-1/services/<software>.service /usr/share/icons/hicolor/64x64/apps/<software>.png
gtk-update-icon-cache -f /usr/share/icons/hicolor
The Following User Says Thank You to too For This Useful Post: | ||
![]() |
2010-01-18
, 08:34
|
|
Posts: 122 |
Thanked: 135 times |
Joined on Dec 2009
@ Helsinki
|
#16
|
I tried both and I still have the blue square![]()
I guess it's a problem with the package still.
Shep
/usr/share/applications/hildon/<sw>.desktop /usr/share/dbus-1/services/<sw>.service /usr/share/icons/hicolor/64x64/apps/<sw>.png
gtk-update-icon-cache -f /usr/share/icons/hicolor
![]() |
2010-01-18
, 10:33
|
|
Posts: 85 |
Thanked: 65 times |
Joined on Jan 2010
@ Ireland
|
#17
|
maybe you should see this post at http://wiki.forum.nokia.com/index.ph...plication_menu
![]() |
2010-01-18
, 14:15
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#18
|
![]() |
2010-01-18
, 14:54
|
|
Posts: 85 |
Thanked: 65 times |
Joined on Jan 2010
@ Ireland
|
#19
|
3.1 ensure there is no "debian" folder at the same level as "src"4. Copy the "src" folder from the tested Qt project into the "<projectname-0.x" folder
3.2 ensure there is no folder structure called "<projectname>-0.x-orig" left over from a failed compile
3.3 remove old compiles from the Madde\home\user (e.g. C:\Madde\0.5\home\Shep) folder.
[Desktop Entry] Encoding=UTF-8 Version=0.x Type=Application Name=<Long Descriptive Project Name> Exec=/usr/bin/<projectname> Icon=<projectname> X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable
[D-BUS Service] Name=org.maemo.<projectname> Exec=/usr/bin/<projectname>
TARGET = wwcalc TEMPLATE = app SOURCES += qtmain.cpp \ mainwindow.cpp HEADERS += mainwindow.h FORMS += mainwindow.ui PREFIX = ../debian/wwcalc/usr unix { BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop icon64 service target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += wwcalc.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += wwcalc.png service.path = $$DATADIR/usr/share/dbus-1/services service.files += wwcalc.service }
TEMPLATE = subdirs SUBDIRS = src
mad dh_make --createorig --single -e foo.bar@gmail.com -c gpl mad qmake mad dpkg-buildpackage mad remote -r org.maemo.wwcalc send ../wwcalc_0.2-1_armel.deb mad remote -r org.maemo.wwcalc install wwcalc_0.2-1_armel.deb mad remote -r org.maemo.wwcalc run dpkg -L wwcalc
Firstly, the icon cache is not automatically updated yet.
(According to Too) The following command needs to be added to the end of debian/postinst
Code:gtk-update-icon-cache -f /usr/share/icons/hicolor
Secondly, there is no option to uninstall the app. I have no idea how to uninstall an application installed this way. it does not appear in the app manager. Any hints appreciated.I hope this helps/works!
The Following User Says Thank You to shep For This Useful Post: | ||
![]() |
2010-01-18
, 16:18
|
Posts: 60 |
Thanked: 23 times |
Joined on Jan 2010
|
#20
|
[Desktop Entry] Encoding=UTF-8 Version=0.1 Type=Application Name=qth Exec=/usr/bin/qth Icon=qth X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable
[D-BUS Service] Name=org.maemo.qth Exec=/usr/bin/qth
TARGET = qth TEMPLATE = app SOURCES += qtmain.cpp HEADERS += FORMS += PREFIX = ../debian/qth/usr unix { BINDIR = $$PREFIX/bin DATADIR =$$PREFIX/share DEFINES += DATADIR=\"$$DATADIR\" PKGDATADIR=\"$$PKGDATADIR\" #MAKE INSTALL INSTALLS += target desktop icon64 service target.path =$$BINDIR desktop.path = $$DATADIR/applications/hildon desktop.files += qth.desktop icon64.path = $$DATADIR/icons/hicolor/64x64/apps icon64.files += qth.png service.path = $$DATADIR/usr/share/dbus-1/services service.files += qth.service }
TEMPLATE = subdirs SUBDIRS = src
cd qth-0.1 mad dh_make --createorig --single -e foo.bar@gmail.com -c gpl mad qmake mad dpkg-buildpackage
The Following User Says Thank You to tmsha For This Useful Post: | ||
I manually copied my icon png file to
I guess I need to revisit the "Makefile"!
I also created a "wwcalc.service" with the following contents: