Results 1 to 12 of 12

Thread: Implement jpegsrc.v8b.tar.gz LINUX

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Wiki edits
    17

    Default Re: Implement jpegsrc.v8b.tar.gz LINUX

    You have actually built the JPEG library, haven't you?

    Did you run ldconfig after playing with the global system library search path? In any case, for development purposes you are far better off leaving the system path alone and using the LD_LIBRARY_PATH environment variable (or installing Qt into a location that is already searched).

    The configure command for Qt does not need the repeated -l flags you have given it.

    This really is not rocket science:
    Qt Code:
    1. #!/bin/bash
    2. export MYPROJ=/home/ivan/WinXP/Ivan_Maldonado/PeekDocuments/VideoProject
    3. export MYJPEG=${MYPROJ}/jpeg-8blib
    4. export LD_LIBRARY_PATH=${MYJPEG}/lib
    5. cd ${MYPROJ}/QtInstallers/qt-everywhere-opensource-src-4.7.1
    6. ./configure -I${MYJPEG}/include -L${MYJPEG}/lib -prefix ${MYPROJ}/Trolltech/Qt-4.7.1
    7. make
    To copy to clipboard, switch view to plain text mode 

    The Qt source will happily build and run against this version of libjpeg (my system uses it globally). The version bundled inside Qt is version 8, I assume without the a and b patches. This whole exercise only has some value if Ivan wants something in the a or b patches, otherwise using the Qt bundled libjpeg would be a far easier option.
    Last edited by ChrisW67; 8th December 2010 at 22:39.

  2. The following user says thank you to ChrisW67 for this useful post:

    ivanqt (9th December 2010)

Similar Threads

  1. How does Qt implement layers?
    By FinderCheng in forum Qt Programming
    Replies: 1
    Last Post: 16th October 2009, 13:12
  2. Trying to implement QMainWindow...
    By winston2020 in forum Qt Programming
    Replies: 2
    Last Post: 23rd October 2008, 19:12
  3. how to implement this widget
    By pencilren in forum Qt Programming
    Replies: 2
    Last Post: 15th June 2007, 11:10
  4. What's the best way to implement a MainWindow
    By darkadept in forum Qt Programming
    Replies: 5
    Last Post: 5th February 2007, 17:46
  5. how to implement it ?
    By qtopiahooo in forum Qt Programming
    Replies: 3
    Last Post: 25th October 2006, 17:01

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.