Results 1 to 11 of 11

Thread: Running Application linking with shared libraries in Qt/Linux

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2010
    Posts
    31
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Running Application linking with shared libraries in Qt/Linux

    yaa..........the error is solved by setting the LD_LIBRARY_PATH.

  2. #2
    Join Date
    May 2014
    Posts
    136
    Qt products
    Qt3 Qt4 PyQt3 PyQt4
    Platforms
    MacOS X Windows
    Thanks
    72

    Default Re: Running Application linking with shared libraries in Qt/Linux

    Quote Originally Posted by payal View Post
    yaa..........the error is solved by setting the LD_LIBRARY_PATH.
    How to set the LD_LIBRARY_PATH variable through Qt?

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

    Default Re: Running Application linking with shared libraries in Qt/Linux

    Quote Originally Posted by Cupidvogel View Post
    How to set the LD_LIBRARY_PATH variable through Qt?
    Since setting that variable would not have any effect on the application itself, I assume you are writing some for form of launcher application that runs programs via QProcess and needs to set their environment.

    For that QProcess has QProcess::setProcessEnvironment().

    Cheers,
    _

Similar Threads

  1. How to deploy application using shared library in Linux
    By cutie.monkey in forum Installation and Deployment
    Replies: 9
    Last Post: 21st January 2010, 18:41
  2. Application with shared library problem in linux
    By cutie.monkey in forum Qt Programming
    Replies: 1
    Last Post: 18th January 2010, 07:20
  3. running application in linux
    By aj2903 in forum Qt Programming
    Replies: 5
    Last Post: 28th October 2009, 06:43
  4. Running an application with root privileges at Linux
    By prykHetQuo in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2009, 12:35
  5. exception in shared libraries
    By big4mil in forum Qt Programming
    Replies: 2
    Last Post: 5th December 2006, 19:51

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.