[Qt-interest] Handling files created by custom build targets

J-P Nurmi jpnurmi at gmail.com
Fri Oct 29 08:31:24 CEST 2010


On Thu, Oct 28, 2010 at 10:08 PM, Constantin Makshin <cmakshin at gmail.com>wrote:

> Then, to install this .desktop file, one can use something like this:
>
> INSTALLS += shortcut
> shortcut.path = $$SHORTCUTSDIR
> shortcut.files = $$targetShortcut.target
> shortcut.depends = $$shortcut.files
>
> The problem is that if the .desktop file doesn't exist when Makefile is
> being generated, QMake doesn't add it as an installation component, i.e.
> doesn't create corresponding installation rule.


Hi, try adding:

shortcut.CONFIG = no_check_exist

--
J-P Nurmi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101029/be5156df/attachment.html 


More information about the Qt-interest-old mailing list