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

Constantin Makshin cmakshin at gmail.com
Sat Oct 30 19:53:34 CEST 2010


Thanks, J-P, that solved the first problem.

Do you (or anybody else) have any ideas about the second one (remove generated files in the "distclean" target)?

On Friday 29 October 2010 10:31:24 J-P Nurmi wrote:
> 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



More information about the Qt-interest-old mailing list