On 23.09.07 16:34:07, Yong wrote:
> From the docs I understand that all the .pro files are a easier interface to
> the Makefiles,
> and that 'qmake' translates all the stuff that you write in a .pro file into
> Now I need to make the following to happen:
> write a .pro file that will contain all the sources for a project, compile
> them, and after the compilation all the .h files and libXXXX.so to be copied
> a specific location.
TARGET = mylib
installedheaders.files = *.h
installedheaders.path = /usr/local/include/mylib
target.path = /usr/local/lib
INSTALLS += installedheaders target
Should do what you want. It creates a make target called "install" which
copies your library and all headers from the directory of the .pro file
into /usr/local/ subdirectories.
You seek to shield those you love and you like the role of the provider.
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/