×

Discussion Board

Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2009
    Posts
    19

    for qt for symbian project , how to let qmake not generate rss file

    when build qt for symbian projet ,it will generate **.rss and **_reg.rss files by default . and each time i run qmake it will generate these 2 files again which would cover my edits before.

    now what i want is let qmake not generate rss files ,

    Env: qt 4.7.1

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

    Re: for qt for symbian project , how to let qmake not generate rss file

    You are supposed to use RSS_RULES in project file instead of manual editing .rss file.
    http://doc.trolltech.com/latest/qmak...html#rss-rules

  3. #3
    Registered User
    Join Date
    Mar 2009
    Posts
    19

    Re: for qt for symbian project , how to let qmake not generate rss file

    RSS_RULES only have effect in **_reg.rss, but not in **.rss .

  4. #4
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: for qt for symbian project , how to let qmake not generate rss file

    Write-protect the file.

  5. #5
    Registered User
    Join Date
    Mar 2009
    Posts
    19

    Re: for qt for symbian project , how to let qmake not generate rss file

    sorry ,but idon't understand what does write-protect mean , do you mean let rss files to be write-protected so qmake cannot rewrite these rss files. this is a way when there is no way.

  6. #6
    Nokia Developer Moderator
    Join Date
    Sep 2004
    Location
    Tampere, Finland
    Posts
    11,359

    Re: for qt for symbian project , how to let qmake not generate rss file

    This was discussed before and the conclusion was that it is indeed not possible to customize the RSS file through the *.pro file or to otherwise skip it from being regenerated. So the write protect hack may indeed be the last thing to try.

    But, the real problem is: why do you need the RSS file? What API you use which requires a resource and is there no alternative way to implement the desired functionality using Qt specific APIs (thus without RSS files) ? If there is no other way to solve this, create a bug report / suggestion at bugreports.qt.nokia.com and ask either for the RSS rules to be extended or some relevant Qt APIs be created.
    -- Lucian

    If you are not yet a DVLUP member it is time to correct that mistake :) Click here to join: http://www.dvlup.com/lucian/Invite

  7. #7
    Super Contributor
    Join Date
    Nov 2009
    Location
    Minnesota, USA
    Posts
    3,209

    Re: for qt for symbian project , how to let qmake not generate rss file

    This has been a known problem for a long time (ie, over a year) -- if you want to modify certain icon or title details you need to muck with the .rss. And it's been known for a long time that there's no good way to do this in a vanilla Qt development environment.

  8. #8
    Super Contributor
    Join Date
    Jul 2008
    Posts
    2,020

    Re: for qt for symbian project , how to let qmake not generate rss file

    Quote Originally Posted by ltomuta View Post
    This was discussed before and the conclusion was that it is indeed not possible to customize the RSS file through the *.pro file or to otherwise skip it from being regenerated. So the write protect hack may indeed be the last thing to try.

    But, the real problem is: why do you need the RSS file? What API you use which requires a resource and is there no alternative way to implement the desired functionality using Qt specific APIs (thus without RSS files) ? If there is no other way to solve this, create a bug report / suggestion at bugreports.qt.nokia.com and ask either for the RSS rules to be extended or some relevant Qt APIs be created.
    A bitmap icon, my dear Luciano. A bitmap icon

    (am so pissed bc I just had to recompile my app 6 times and reupload 6 times also bc of that....)
    The lines above are the best I have to offer.If anyone of you is of more advanced knowledge, I ask for your patience and understanding! - unknown arab poet
    http://www.tamoggemon.com - Symbian blog - Windows Phone blog
    My other blogs:
    webOS blog iPhone blog BlackBerry blog Samsung bada blog Android blog

Similar Threads

  1. Replies: 1
    Last Post: 2009-09-01, 03:51
  2. Replies: 0
    Last Post: 2006-08-09, 11:27
  3. Generate a VS project file from a example
    By Series80user in forum Symbian
    Replies: 8
    Last Post: 2005-07-28, 08:02
  4. Symbian 6.0 Visual Studio 6.0 can not generate project
    By ffunus in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2004-03-07, 18:55

Posting Permissions

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