Results 1 to 4 of 4

Thread: Qt app with MySQL works in developing machine but not in deploying one

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #4
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt app with MySQL works in developing machine but not in deploying one

    You can set an override search path for the runtime linker using the LD_LIBRARY_PATH environment variable in your start script:
    Qt Code:
    1. export LD_LIBRARY_PATH=/your/library/path:$LD_LIBRARY_PATH
    To copy to clipboard, switch view to plain text mode 

    If you do that in a shell, ldd will also use it, so you can verify which Qt is picked up for your application.

    Cheers,
    _

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

    Laureta (13th April 2015)

Similar Threads

  1. No printer after deploying application on another machine
    By worluk in forum Installation and Deployment
    Replies: 1
    Last Post: 13th November 2013, 09:39
  2. Replies: 3
    Last Post: 5th June 2013, 05:35
  3. Replies: 4
    Last Post: 11th June 2010, 19:27
  4. Deploying with MySQL and FTP
    By josepvr in forum Qt Programming
    Replies: 2
    Last Post: 9th April 2009, 08:16
  5. Deploying application on Linux machine without Qt
    By will49 in forum Installation and Deployment
    Replies: 2
    Last Post: 10th July 2008, 22:41

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.