[Qt-creator] Auto-complete ui elements

Andre Poenitz andre.poenitz at nokia.com
Mon Feb 9 17:15:52 CET 2009


ext Kris Wong wrote:
>> On Friday 06 February 2009 19:34:13 ext Kris Wong wrote:
>>>> I just identified a bug in that regard, it did indeed not work for new
>>>> projects in shadow builds. I pushed a fix, which should be in the final
>>>> package and the next snapshots.
>>> I seem to be having the same issue with UI_DIR. Did you happen to have a
>>> look/fix this while you were in there?
>> Well I checked with on qt creators code base itself, that one uses UI_DIR and
>> i have qt creator shadow build. Anyway, do you have a example where it fails
>> to find the ui file? (I'm not sure you have the fix i checked
>> in yesterday.)
> 
> 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 ;-}

Andre'



More information about the Qt-creator-old mailing list