Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User mail2karthi07's Avatar
    Join Date
    Feb 2010
    Location
    India
    Posts
    281
    How to use the following symbian C++ pkg file code to QT symbian .pro file

    IF EXISTS("z:\system\install\Series60v5.0.sis")
    ;install 5th edition embedded sis.
    ELSE
    ;install 3rd edition embedded sis
    ENDIF

  2. #2
    Registered User mail2karthi07's Avatar
    Join Date
    Feb 2010
    Location
    India
    Posts
    281
    conditional installation not working in symbian QT

    I added the following code in the .pro file but its not working.

    IF NOT EXISTS(\"z:\system\install\Series60v5.2.sis\")
    addSis.pkg_prerules = "@\"callAudioControl_32_0x10207bd2.sisx\",(0x10207bd2)"

    Actually I am using Callaudiocontrol.sis for mute

    Callaudiocontrol is a plugin . so i need to use two different plugin for S605th and symbian^3

    so i need to conditionally install Callaudiocontrol.sis to S605th and symbian^3

    for Symbian^3 i should not install . so Is there any other way to proceed?

  3. #3
    Nokia Developer Champion savaj's Avatar
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034
    .pro file is different from .pkg file, you can not add that code directly to .pro file. You need to add deployment variable in .pro file to change your .pkg file. like..

    Code:
    deployPlatformCheckStart = "IF exists(\"z:\system\install\series60v5.0.sis\")
    	deployPlatformCheckElse = "ELSE"
    	deployPlatformCheckEnd = "ENDIF"
    	deployFiles.pkg_prerules += deployPlatformCheckStart
    	deployFiles.pkg_postrules += deployPlatformCheckElse
    	deployFiles.pkg_postrules += deployPlatformCheckEnd
    	
           DEPLOYMENT += deployFiles

Similar Threads

  1. Conditional installation not working
    By mail2karthi07 in forum Symbian C++
    Replies: 7
    Last Post: 2011-04-19, 11:32
  2. Conditional compiling on Qt Mobility
    By uttumuttu in forum [Archived] Qt Mobility Project
    Replies: 3
    Last Post: 2011-01-25, 13:00
  3. Build target Qt Simulator now includes conditional win32-parts
    By KSchultz in forum [Archived] Qt SDKs and Tools
    Replies: 5
    Last Post: 2010-09-06, 08:30
  4. QT Nokia sdk installation and QT Creator config problem
    By kapiluiet in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-06-02, 13:49
  5. conditional installation
    By swapnil_mahajan in forum Symbian C++
    Replies: 5
    Last Post: 2009-08-27, 08:25

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