Re: [Interest] QMake contains and include

2020-05-22 Thread Jérôme Godbout
Kandeler Sent: May 22, 2020 3:34 AM To: interest@qt-project.org Subject: Re: [Interest] QMake contains and include On Thu, 21 May 2020 13:35:08 + Jérôme Godbout wrote: > It would be nice to see the .pri grey out or something more obvious. Or even > better an option to show/hide them

Re: [Interest] QMake contains and include

2020-05-22 Thread Christian Kandeler
On Wed, 20 May 2020 18:44:19 -0700 Thiago Macieira wrote: > The Qt Creator ProParser code has some different error recovery mechanisms > than qmake. Obviously it's going to be non-fatal to interact with a > repository > that is missing. It will also not run $$system() and do some other things

Re: [Interest] QMake contains and include

2020-05-22 Thread Christian Kandeler
On Thu, 21 May 2020 13:35:08 + Jérôme Godbout wrote: > It would be nice to see the .pri grey out or something more obvious. Or even > better an option to show/hide them. The project tree filter has an option "Hide disabled files". Christian ___

Re: [Interest] QMake contains and include

2020-05-21 Thread Jérôme Godbout
an option to show/hide them. -Original Message- From: André Pönitz Sent: May 21, 2020 12:02 AM To: Jérôme Godbout Cc: gm...@ratijas.tk; interest@qt-project.org Subject: Re: [Interest] QMake contains and include On Wed, May 20, 2020 at 04:30:41PM +, Jérôme Godbout wrote: >

Re: [Interest] QMake contains and include

2020-05-21 Thread Jérôme Godbout
org Subject: Re: [Interest] QMake contains and include On Wednesday, 20 May 2020 10:39:50 PDT Jérôme Godbout wrote: > If I may, why I want that in QtCreator exactly? what is the use case > for this? If my project doesn't use a part, why is it parsed at all? > What will happen if that u

Re: [Interest] QMake contains and include

2020-05-20 Thread André Pönitz
On Wed, May 20, 2020 at 04:30:41PM +, Jérôme Godbout wrote: >It kinda work, it’s really weird, but all the project get display, the >.pri and the include/source no matter the condition, but they are grey >out if the include condition is false, so it does scan the .pri no >matter

Re: [Interest] QMake contains and include

2020-05-20 Thread Thiago Macieira
On Wednesday, 20 May 2020 10:39:50 PDT Jérôme Godbout wrote: > If I may, why I want that in QtCreator exactly? what is the use case for > this? If my project doesn't use a part, why is it parsed at all? What will > happen if that unused .pri make a failure for something missing? Will it > failed to

Re: [Interest] QMake contains and include

2020-05-20 Thread Jérôme Godbout
with it would not be include, how would QtCreator react to this? Thanks, -Original Message- From: Interest On Behalf Of Thiago Macieira Sent: May 20, 2020 1:23 PM To: interest@qt-project.org Subject: Re: [Interest] QMake contains and include On Wednesday, 20 May 2020 09:30:41 PDT Jérôme Godbo

Re: [Interest] QMake contains and include

2020-05-20 Thread Thiago Macieira
On Wednesday, 20 May 2020 09:30:41 PDT Jérôme Godbout wrote: > It kinda work, it’s really weird, but all the project get display, the .pri > and the include/source no matter the condition, but they are grey out if > the include condition is false, so it does scan the .pri no matter what but > doesn

Re: [Interest] QMake contains and include

2020-05-20 Thread Jérôme Godbout
2020 11:17 AM To: interest@qt-project.org<mailto:interest@qt-project.org> Subject: [Interest] QMake contains and include Hi, QMAKE question: anybody manage to use an include inside a contains(){} into QMake? the include is processed no matter what!?! message("list: '$$

Re: [Interest] QMake contains and include

2020-05-20 Thread gmail
r what, but the message is not printed! this is really counter intuitive. Any way to make a conditional include?!?  From: Interest <interest-boun...@qt-project.org> On Behalf Of Jérôme GodboutSent: May 20, 2020 11:17 AMTo: interest@qt-project.orgSubject: [Interest] QMake contains and incl

Re: [Interest] QMake contains and include

2020-05-20 Thread Jérôme Godbout
al include?!? From: Interest On Behalf Of Jérôme Godbout Sent: May 20, 2020 11:17 AM To: interest@qt-project.org Subject: [Interest] QMake contains and include Hi, QMAKE question: anybody manage to use an include inside a contains(){} into QMake? the include is processed no matter w

[Interest] QMake contains and include

2020-05-20 Thread Jérôme Godbout
Hi, QMAKE question: anybody manage to use an include inside a contains(){} into QMake? the include is processed no matter what!?! message("list: '$$AMOTUS_SUBREPOS_OPTIONAL_NAMES' ") contains(AMOTUS_SUBREPOS_OPTIONAL_NAMES, i18n){ message("Using i18n...") HEADERS += $$AMOTUS_Qt_PATH/i18n.h