×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    46

    Unhappy Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian builds

    The Makefile that is along the .pro file is not updated when existing files are added to the project.

    Another issue is that the cleaning (all or not) does not remove all the symbian build generated files.

    Am I missing something?

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian bui

    When you add existing file, you have to build the project again.

    Do Clean all OR Close Project options for removing of all symbian build generated.

  3. #3
    Registered User
    Join Date
    Jul 2009
    Posts
    46

    Re: Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian bui

    Hi Rahul,

    These 2 options do not delete the following generated files :

    Makefile
    bld.inf
    project.loc
    project.rss
    project_reg.rss
    Makefile_0xedd41e70.mk
    project_0xedd41e70.mmp
    project_installer.pkg
    project_template.pkg

    So the only solution I found is delete these files with a batch script.

  4. #4
    Registered User
    Join Date
    Jul 2009
    Posts
    46

    Re: Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian bui

    An another solution is to menu Build>Run Qmake since the IDE does not automatically trigger qmake when adding/removing files to/from the project.


    Even if source files are modified and dependencies are changed between files won't be taken in account before qmake is run.

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

    Re: Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian bui

    Sometimes the development platform recognizes that new files have been added and updates the pro and runs qmake, other times not. You should always double-check these things. (Another thing to beware of is changing files incorporated into a resource file. You generally need to "touch" the resource file or delete the generated cpp part to force regeneration of the resource cpp.)

    To remove all generated files from the build you need to do "abld reallyclean" under Carbide. Not sure if the same command works for the Qt SDK.

  6. #6
    Registered User
    Join Date
    Apr 2009
    Posts
    32

    Re: Nokia Qt SDK 1.0 : Added files are not taken in account by subsequent symbian bui

    Qt Creator is calling
    "C:/NokiaQtSDK/Symbian/SDK/epoc32/tools/make.exe" clean -w

    and this is calling
    "ABLD.BAT reallyclean"

    but yes there are still some files.
    You can overwrite the "Clean Steps" "Make arguments" with "distclean" instead of clean.
    Last edited by TimsonC2000; 2010-08-17 at 15:14. Reason: I remembered the solution

Similar Threads

  1. Missing sis files from Nokia Qt SDK linux version
    By mollevp in forum [Archived] Qt SDKs and Tools
    Replies: 7
    Last Post: 2010-07-29, 19:32
  2. "Pure Qt" SDK cannot live next to Symbian OS specific Qt SDK on a single PC
    By svdwal in forum [Archived] Qt SDKs and Tools
    Replies: 1
    Last Post: 2010-07-06, 07:51

Posting Permissions

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