[Qt-interest] simple qmake doubt
Mandeep Sandhu
mandeepsandhu.chd at gmail.com
Fri May 7 11:29:07 CEST 2010
I'm creating a shared lib and would like the .so to be put in a dir
call "./lib" and the relevant headers to go in "./include".
The lib part is accomplished by setting the DESTDIR var to "./lib" in
the .pro file.
How do I instruct "qmake" to make a dir "./include" and copy the
headers in that dir. For the list of headers I can use $${HEADERS}
value. But I'm not able to figure out how to make it copy the .h files
into the required dir.
Should I be using the install rule for this purpose (though it's not
clear to me as to how that'll help)?
Thanks,
-mandeep
More information about the Qt-interest-old
mailing list