Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor gardiol's Avatar
    Join Date
    Jul 2010
    Posts
    99
    My app has libpng statically embedded into it... The reason is that is required on some of the supported platforms. On MeeGo, it clashes with the system wide dynamic libpng causing all my png's to be broken.

    Can i force m app to use my internal libpng?
    or is there a way to conditionally deselect some files in the .pro file?

    EDIT: the actual problem seems to be the other way around. Qt is using MY libpng (1.5.0) instead of the built-in 1.2.42... Now i am a a loss...

    EDIT2: i am answring myself: i moved SOURCES += with all the libpng files into the symbian specific section of the pro file.
    Last edited by gardiol; 2011-07-20 at 15:27.

  2. #2
    Nokia Developer Moderator achipa's Avatar
    Join Date
    Oct 2009
    Location
    Finland
    Posts
    327
    The recommendation is to provide the library (static or dynamic) only if the platform doesn't provide it, so the solution to move the alternate build into a platform scope is the the way to go.

Similar Threads

  1. static lib VS dynamic lib
    By alex_portu in forum Symbian C++
    Replies: 2
    Last Post: 2010-06-26, 10:55
  2. difference b/w static and dynamic dll
    By karanala in forum Symbian C++
    Replies: 1
    Last Post: 2007-02-15, 12:02
  3. Static sprite on a dynamic background
    By rajatram in forum Mobile Java Games
    Replies: 2
    Last Post: 2006-12-12, 07:46
  4. Static Sprite over a dynamic one
    By rajatram in forum Symbian C++
    Replies: 1
    Last Post: 2006-12-05, 09:49
  5. About DLL static dynamic ECOM
    By xhsoldier in forum Symbian C++
    Replies: 7
    Last Post: 2006-08-28, 02:56

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