[Interest] How do i copy the QML files to debug folder without adding make install?

Mark markg85 at gmail.com
Sat Jun 16 23:26:29 CEST 2012


On Sat, Jun 16, 2012 at 11:15 PM, Till Oliver Knoll
<till.oliver.knoll at gmail.com> wrote:
>
> Am 16.06.2012 um 22:07 schrieb Mark <markg85 at gmail.com>:
>
>> ... copies the QML files to the debug/release
>> location _without_ having the need to add a make install.
>
> The qmake install target is /exactly/ the mechanism to copy custom files from source to target path (as described in the 2nd answer to the linked stackoverflow question) after compilation (you just need to enter "make install").
>
> So why is it you want to avoid that mechanism?
>
> Cheers,
>  Oliver

Hi,

Thank you for your response. The reason i'm not using make install is
because i can't force that option through the qmake file. In Qt
Creator i can add a make target just fine, but that ends up in the
local pro.user file, not in the .pro file. I'd be happy to use make
install if i could somehow predefine make targets in .pro. Right now i
can't (or don't know how to) thus any person that clones my git repo
doesn't know that make install must be used for the app to work.

Cheers,
Mark



More information about the Interest mailing list