×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Aug 2009
    Posts
    21

    How to add copy file functionality in *.pkg file for Qt Application

    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
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,559

    Re: How to add copy file functionality in *.pkg file for Qt Application

    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

  3. #3
    Registered User
    Join Date
    Aug 2009
    Posts
    21

    Re: How to add copy file functionality in *.pkg file for Qt Application

    Hi Symbian_Neil,

    Thanks, That's what I need.

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

    Re: How to add copy file functionality in *.pkg file for Qt Application

    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
    Join Date
    Oct 2006
    Location
    Finland
    Posts
    4,559

    Re: How to add copy file functionality in *.pkg file for Qt Application

    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.

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

    Re: How to add copy file functionality in *.pkg file for Qt Application

    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
  •  
×