Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User srf.hidayat's Avatar
    Join Date
    Aug 2009
    Posts
    21
    DearAll,

    I want to ask how to add copy file functionality in *.pkg file, I mean I want the *.sis file doing copy a certain file when application installation process. To do that I add the following line into my *.pkg file of my Qt Application project:

    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/resource/apps/SouniQ.xml" - "E:\data\SouniQ.xml"

    in symbian application project is done successfully, but for Qt application project SouniQ.xml not copied to destination folder when sis file was executed (application installation proccess).

    Is it need to modify qt project (*.pro) ? and how ?

    Thanks Before,

  2. #2
    Nokia Developer Moderator Symbian_Neil's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,148
    Quote Originally Posted by srf.hidayat View Post
    DearAll,

    I want to ask how to add copy file functionality in *.pkg file, I mean I want the *.sis file doing copy a certain file when application installation process. To do that I add the following line into my *.pkg file of my Qt Application project:

    "/S60/devices/S60_5th_Edition_SDK_v1.0/epoc32/data/z/resource/apps/SouniQ.xml" - "E:\data\SouniQ.xml"

    in symbian application project is done successfully, but for Qt application project SouniQ.xml not copied to destination folder when sis file was executed (application installation proccess).

    Is it need to modify qt project (*.pro) ? and how ?

    Thanks Before,
    Maybe this is what you are looking for http://wiki.forum.nokia.com/index.ph...t_package_file
    - Neil R.Bhasme -

    Twitter: @Symbian_Neil

  3. #3
    Registered User srf.hidayat's Avatar
    Join Date
    Aug 2009
    Posts
    21
    Hi Symbian_Neil,

    Thanks, That's what I need.

  4. #4
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    Package files are generated by qmake. That line in the .pkg file would work but would be overwritten by qmake every time it runs. DEPLOYMENT has been wrapped with a (very slightly) simpler mechanism in the latest tech preview SDK.

  5. #5
    Nokia Developer Moderator Symbian_Neil's Avatar
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,148
    Quote Originally Posted by Sorcery-ltd View Post
    Package files are generated by qmake. That line in the .pkg file would work but would be overwritten by qmake every time it runs. DEPLOYMENT has been wrapped with a (very slightly) simpler mechanism in the latest tech preview SDK.
    yes but the suggestion was to edit the .pro fiile, I had used the same a few minutes before answering this query

    dunno about the tech preview sdk that you mention though.
    - Neil R.Bhasme -

    Twitter: @Symbian_Neil

  6. #6
    Registered User Sorcery-ltd's Avatar
    Join Date
    Dec 2006
    Posts
    2,280
    Sorry, I was answering the other part of the original question which was suggesting that the change to the package file didn't work in Qt apps.

    If you write your own package file and use that, rather than use the autogenerated one, then it'll work just fine.

    You can still add a DEPLOYMENT direct to the .pro file in the Nokia Qt SDK 1.1 tech preview but there's a convenience wrapper for cross-platform deployment (using a .pri file).

Similar Threads

  1. how to add new variable in .pkg file
    By pioneer_fei in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 5
    Last Post: 2010-04-16, 11:28
  2. How to add lines manually to .pkg file in Carbide.C++?
    By nikolajkolbe in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 10
    Last Post: 2010-04-01, 18:59
  3. [moved] Add jar file inside the PKG file with another sis file
    By aamitgupta in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2010-01-07, 12:44

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved