Am Wed, 27 Dec 2017 12:47:01 +0300 schrieb Oleg Evseev <ev.m...@gmail.com>:
> Hi all, > > According to documentation in qt there is a workaround lupdate_only{...} - > conditional statement so the lupdate tool sees some file (for example .qml > files) but the C++ compiler ignores them. > > I wonder if there is a opposite workaround some conditional statement (or > something else) so the lupdate tool doesn't check some file/dirs, but the > C++ compiler still see them. > > For example scanning > INCLUDEPATH += "c:/boost_1_64_0/" > > by lupdate takes too much time. > > --- > With regards, Oleg. hi, we use TR_EXCLUDE to exclude qt headers and sources: lupdate_only{ message("excluding $(QTDIR)/../Src/qtbase/*") TR_EXCLUDE += $(QTDIR)/../Src/qtbase/* message("excluding $(QTDIR)/include/*") TR_EXCLUDE += $(QTDIR)/include/* } alex -- /* * printk("starfire_translate: Are you kidding me?\n"); * linux-2.6.19/arch/sparc64/kernel/starfire.c */ _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest