×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Eindhoven, the Netherlands
    Posts
    187

    Carbide & Qt .pro file: how to add extra files?

    Hi,


    I've been working with Carbide to create some modules for PyS60, and am now in the process of creating a Qt based application for the N97. For the graphics I use several SVG files that i'd like copied into the area where the app resides (!:/private/xxx), as well as some datefiles that i'd like to be copied to a public area (!:/data/<app>/...). I know how to do this by modifying the .pkg files, but with Qt, the .pkg files are generated from the .pro file...

    I mean lines like the one i added on the bottom here:
    Code:
    ; Executable and default resource files
    "/S60/devices/Nokia_N97_SDK_v1.0/epoc32/release/gcce/urel/app.exe"    - "!:\sys\bin\app.exe"
    "/workspace/app/data/readme.txt"    - "!:\data\app\readme.txt"
    Can anyone tell me how I can setup the .pro file to add the extra files to the .pkg?


    Regards,
    Mark.

  2. #2
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Carbide & Qt .pro file: how to add extra files?

    Use DEPLOYMENT variable in .pro file to add files in .mmp file.

    For example.

    Code:
    symbian: {                           
        addFiles.sources = abc.txt
        addFiles.path = .
        DEPLOYMENT += addFiles
    }
    Above code generates following lines in .mmp files.

    Code:
    ; DEPLOYMENT
    "..\Symbian\Carbide\Workspace\appname\abc.txt"    - "!:\private\<UID>\abc.txt"

  3. #3
    Regular Contributor
    Join Date
    Jul 2007
    Location
    Eindhoven, the Netherlands
    Posts
    187

    Re: Carbide & Qt .pro file: how to add extra files?

    Quote Originally Posted by savaj View Post
    Use DEPLOYMENT variable in .pro file to add files in .mmp file.
    Great, that did the trick! Thanks!
    By the way, is this documented somewhere?
    (just in case i have other similar questions)


    Mark.

  4. #4
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: Carbide & Qt .pro file: how to add extra files?


Similar Threads

  1. Error 1 file I/O fault when i upgraded to carbide express 1.1
    By seamus_rooney in forum Symbian Tools & SDKs
    Replies: 8
    Last Post: 2008-07-01, 22:16
  2. Importing mmp files in carbide 1.1 Pro
    By pgane in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-06-22, 07:28
  3. Replies: 0
    Last Post: 2006-08-09, 11:27
  4. Replies: 1
    Last Post: 2005-05-26, 14:22
  5. Replies: 0
    Last Post: 2002-06-10, 12:24

Posting Permissions

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