×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Jan 2011
    Posts
    5

    Need help with the .pro file for symbian...

    Ok. So I want to publish my symbian app to the ovi store, but as far as i can tell, i need to add a couple of things to my .pro file first...

    This is what it says currently:

    Code:
    #-------------------------------------------------
    #
    # Project created by QtCreator 2011-01-09T06:49:06
    #
    #-------------------------------------------------
    
    QT       += core gui xml network
    CONFIG += mobility
    MOBILITY += bearer
    
    TARGET = EpisodeNext
    TEMPLATE = app
    ICON = icon.svg
    
    SOURCES += ...lots of sources here
    
    HEADERS  += ...lots of headers here
    
    FORMS    += ...lots of forms here...
    
    symbian {
        TARGET.CAPABILITY += NetworkServices
        TARGET.EPOCSTACKSIZE = 0x14000
        TARGET.EPOCHEAPSIZE = 0x020000 0x800000
    
        packageheader = "$${LITERAL_HASH}{\"Episode Next \"}, (0x20myUid), 1, 0, TYPE=SA"
    
        vendorinfo = \
         "%{\"H2Programming\"}" \
         ":\"H2Programming\""
    
        my_deployment.pkg_prerules = packageheader vendorinfo
        DEPLOYMENT += my_deployment
    }
    Of course, this doesn't compile. If i remove everything from packageheader and down, it compiles, but I have a sneaky feeling i need at least vendor-info, UID and version number in there somewhere... Little help? The diffrent tutorials I could find didn't really make sense to me...

  2. #2
    Registered User
    Join Date
    Dec 2006
    Posts
    2,280

    Re: Need help with the .pro file for symbian...

    I just had a quick look and there do seem to be some misleading and half-finished tutorials on the wiki.

    For the UID, you want to set TARGET.UID3 - if the binary doesn't match the package header then it won't install.

    Which step fails to compile? I'd suggest comparing the standard generated .pkg file with the one that has your pkg_prerules added and see what's going wrong. That's going to be faster than us trying to debug it for you on a discussion board.

    If you don't understand what's going wrong, look up the package file syntax in the Symbian developer library here on Forum Nokia.

    Hope that helps,
    Mark
    Last edited by Sorcery-ltd; 2011-01-20 at 15:36.

  3. #3
    Super Contributor
    Join Date
    Oct 2009
    Posts
    4,326

    Re: Need help with the .pro file for symbian...

    I believe there are three numbers before TYPE and pre_rules lines must be separated with new line feed.

    Code:
        
    my_deployment.pkg_prerules = "&EN" \
      "$${LITERAL_HASH}{\"DummyName\"},(0x0010D003),1,01,12,TYPE=SISAPP" \
      "%{\"H2Programming\"} :\"H2Programming\""
    DEPLOYMENT += my_deployment

  4. #4
    Registered User
    Join Date
    Jan 2011
    Posts
    5

    Re: Need help with the .pro file for symbian...

    Thanks divanov, that did it

Similar Threads

  1. Windows 2000 Pro , Win XP Pro and NCF 1.2
    By jimgilmour1 in forum Bluetooth Technology
    Replies: 1
    Last Post: 2006-09-06, 16:54

Posting Permissions

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