[Qt-interest] simple qmake doubt

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri May 7 13:17:34 CEST 2010


>
> DESTDIR is the target _build_ dir. You don't want to set DESTDIR
> anywhere in system dirs. You don't want to require super user

But I can point it to dir where I can write, eg I had kept it as
"./lib", i.e lib under the current directory.

> privileges in order to build, right? As for installing stuff around,
> the normal way is to write an install target:
>
> target.path = /path/to/lib
> headers.path = /path/to/include
> headers.files = $$HEADERS
> INSTALLS += target headers

This works great! Thanks.

-mandeep

>
> --
> J-P Nurmi
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>



More information about the Qt-interest-old mailing list