Results 1 to 3 of 3

Thread: Problem with libmng on static link

  1. #1
    Join Date
    Jan 2006
    Posts
    156
    Thanked 12 Times in 12 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Problem with libmng on static link

    Hello,
    I want to use Qt with static link on Linux. For this if I use :
    ./configure -static -qt-libmng -qt-libpng
    or .configure -static

    mng format is not supported. QMovie::supportedFormats() return none and drawPixmap with MNG don't work.

    How to make static link with MNG support ?

    Thanks

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Problem with libmng on static link

    Do you have a static version of libmng installed on your system? Do you compile mng support directly into Qt library? It won't work as a plugin in a statically compiled lib.

  3. #3
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Problem with libmng on static link

    A static libmng library is not exactly required, except you'll need to ship the shared libmng library with your program.

    Which program outputs "mng format is not supported"? Your program? You need to link it statically with the libmng plugin. Use Q_IMPORT_PLUGIN.

Similar Threads

  1. Problem with Qt embedded 4.4.0 static & directfb
    By anselmolsm in forum Qt for Embedded and Mobile
    Replies: 4
    Last Post: 3rd February 2012, 10:20
  2. problem with static building
    By mismael85 in forum Qt Programming
    Replies: 11
    Last Post: 28th March 2008, 20:43
  3. Problem emitting signal from a static function
    By Valheru in forum Qt Programming
    Replies: 21
    Last Post: 12th June 2007, 14:48
  4. problem after Qt 4.2.2 static build
    By npc in forum Newbie
    Replies: 2
    Last Post: 23rd February 2007, 12:28
  5. Problem regarding DLL
    By vermarajeev in forum General Programming
    Replies: 3
    Last Post: 5th October 2006, 03:57

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.