[Qt-creator] Auto-complete ui elements
Andre Poenitz
andre.poenitz at nokia.com
Mon Feb 9 17:30:13 CET 2009
ext Kris Wong wrote:
>>> I am able to reproduce this in the current trunk (as of 2/9 7:49 AM EST). I think
>>> the problem lies in the fact that our UI_DIR is set based on some nested conditionals.
>>> We set our UI_DIR like:
>>>
>>> UI_DIR = $$DESTDIR/ui
>>>
>>> DESTDIR is set based on whether it's a debug or release build, and whether it's a
>>> 32-bit or 64-bit build. Last I heard creator did not "do the right thing" for these
>>> different scopes?
>> The problem here is that there is no "right thing" in general for the qmake
>> scopes. There are cases where the scopes should be parsed all, no matter
>> how the condition evaluates, and some cases where the condition is to be
>> honoured ;-}
>
> So what does that mean for me regarding this issue? It's not possible to make
> it work?
In this particular case (UI_DIR) it should be possible to work around
the problem using a common directory, after all, uic output does not
depend on debug/release configuration.
However, for the long term, I guess we will need to find a better
solution. That's task '244057 Summary: "exact" .pro parsing should be
the default' now.
Andre'
More information about the Qt-creator-old
mailing list