On segunda-feira, 9 de setembro de 2013 11:05:39, Joseph W Joshua wrote:
> Hello all,
> 
> I wish to deploy my application under both Linux and windows. In
> windows, the OS automatically looks for libraries in the application
> startup path. However in Linux, the OS always complains about missing
> libs, even though they are located in the same folder as the app.
> 
> Is there a way, in linux, to tell the application to use the libs in the
> same folder as the app?

Add to your .pro file:

 QMAKE_LFLAGS += -Wl,-rpath,\$\$ORIGIN

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to