Results 1 to 4 of 4

Thread: Deploying QT applications

  1. #1
    Join Date
    Jun 2007
    Posts
    28
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Deploying QT applications

    Hi all,
    i developed an application with QT4.
    I put the application on a Linux system having QT3.3: of course i receive an error of missing libraries .so.4.
    I put the required libraries in /usr/local/Trolltech/Qt-4.2.3/lib, i changed and exported QTLIB variable but the application doesn't see them.
    I put the libraries on /usr/lib/qt-3.3/lib and again the libraries are not seen!
    Only if i put them on /usr/lib, they are seen!

    Where is the error(s)?

    Thanks!!!!
    SteM

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Deploying QT applications

    you should set LD_LIBRARY_PATH and PATH.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

  3. The following user says thank you to high_flyer for this useful post:

    SteM (6th June 2007)

  4. #3
    Join Date
    Jun 2007
    Posts
    28
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Deploying QT applications

    Thanks a lot

    So, QTLIB is used only on the 'compiling' side ?

    Thanks again !
    SteM

  5. #4
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,716
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Deploying QT applications

    I don't know what QTLIB variable is, I don't use it, as far as I know, its nothing that Qt needs.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. Replies: 27
    Last Post: 14th May 2008, 11:39
  2. Networking between applications
    By croland in forum Qt Programming
    Replies: 3
    Last Post: 6th June 2007, 11:35
  3. qtopia applications about addressbook
    By qtopiahooo in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th March 2007, 09:02
  4. Working with Date type in database applications
    By kolach in forum Qt Programming
    Replies: 13
    Last Post: 25th January 2006, 15:20

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.