Results 1 to 3 of 3

Thread: How to link against a libqjpeg_debug.dylib?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Oct 2008
    Posts
    20
    Thanks
    1
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default How to link against a libqjpeg_debug.dylib?

    Hello! I have Qt4 installed on MAC OS.

    I need to build a library that uses libJPEG functions. Since I don't have this library installed, I used declarations from Qt4 plugins folder to compile my object files.

    After that I tried to link the library against libqjpeg_debug.dylib (I used g++ -dynamic -dynamiclib -L<path to plugins/imageformats> -lqjpeg_debug <other parameters, frameworks and libraries>).

    As a result I got a set of unresolved symbols such as jpeg_CreateCompress and similar. I did not encounter this problem when linking against Qt3 libs. Maybe, this approach works on Qt 3 because Qt 3 has libJPEG functions embedded in the qt library (but I'm not quite sure about it).

    So, is there a way to link against the dylib.
    Last edited by Alex_123; 23rd May 2009 at 10:54.

Similar Threads

  1. Link errors when linking chained libraries on windows
    By darkadept in forum Qt Programming
    Replies: 5
    Last Post: 26th May 2008, 14:52
  2. QLabel link color
    By dragon in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2007, 07:09
  3. ignore following link in anchorClicked()
    By jh in forum Qt Programming
    Replies: 4
    Last Post: 16th July 2006, 16:33
  4. LINK : fatal error LNK1181: can't open 'delayimp.lib'
    By fcamlar in forum Installation and Deployment
    Replies: 10
    Last Post: 7th July 2006, 13:04
  5. Text Browser Link Question
    By taylor34 in forum Qt Programming
    Replies: 2
    Last Post: 20th June 2006, 19:54

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
  •  
Qt is a trademark of The Qt Company.