[ fromfile: reusinglibs.xml id: installingsoftware ]
When a library is built, it is placed in the directory specified by the qmake
variable DESTDIR
.
For example, the project file for our dataobjects
library contains the following relevant lines:
TEMPLATE = lib # Build this as a library, not as an application DESTDIR=$$(CPPLIBS) # Place the compiled shared object code here
export LD_LIBRARY_PATH=$CPPLIBS
QTDIR | |
---|---|
The environment variable |
QLibrary | |
---|---|
The QLibrary class has methods to help you load and unload dynamic libraries at runtime in a platform-independent way. |
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |