×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jun 2009
    Posts
    31

    add an icon to MeeGo app

    Hi,
    I have already a symbian application (QT)
    I want to migrate this application on N900 .
    How shall I add the icon in .pro file like we do in symbian
    symbian {
    ICON = icon.svg
    VERSION = 1.0.0
    LIBS += -lcone \
    -leikcore \
    -lavkon
    }
    i have also a pb of layout , the app seems ok for 5800 but eagly for N900.
    if you have any recommandation
    thanks in advance for your help and time
    best regards
    Sanness

  2. #2
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    67

    Re: add an icon to MeeGo app

    icon64.path = $$DATADIR/icons/hicolor/64x64/apps
    icon64.files += icons/64x64/appname.png

    INSTALLS += icon64

    I think the icon can be 128x128 actually, not sure if it works if you change dir name to 128x128 though haven't tested.
    You should use the debian_harmattan stuff Qtcreator will make for you as well with

    OTHER_FILES += qtc_packaging/debian_harmattan/*

    desktop.path = $$DATADIR/applications
    desktop.files += qtc_packaging/debian_harmattan/$${TARGET}.desktop

  3. #3
    Registered User
    Join Date
    Jun 2009
    Posts
    31

    Re: add an icon to MeeGo app

    thanks magicdave,
    in fact I'm familiar with QTCreator on windows any GUI to do it??
    what do you mean by $$DATADIR
    I test my app using QTcreator installed on windows

  4. #4
    Regular Contributor
    Join Date
    Feb 2006
    Posts
    67

    Re: add an icon to MeeGo app

    DATADIR is a convention, it is set to
    DATADIR = /usr/share for meego

    I think if you run qtcreator and open a pro without a user settings file, then choose harmattan targets, it will ask you if you want to create packaging files. There is probably an easier way too.

Similar Threads

  1. SIP and VPN on MEEGO ?
    By cchaulvet in forum General Development Questions
    Replies: 0
    Last Post: 2011-07-10, 18:30
  2. Web App for MeeGo
    By puploo in forum Nokia Asha Web Apps
    Replies: 2
    Last Post: 2011-06-15, 16:36
  3. Qt for MeeGo?
    By Texrat in forum Qt
    Replies: 3
    Last Post: 2010-12-01, 08:34
  4. Meego
    By stevejanko in forum Mobile Java General
    Replies: 2
    Last Post: 2010-11-14, 09:42
  5. Replies: 2
    Last Post: 2010-10-22, 23:35

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •