[Qt-creator] Shadown Builds and Completion in UI Classes
Thorbjørn Lindeijer
thorbjorn.lindeijer at nokia.com
Mon Jun 22 11:19:58 CEST 2009
ext Chris W wrote:
> Hello All,
>
> Qt 1.1.0, and 21 June snapshot, Qt 4.5.1 on Linux.
>
> If I use the Qt Creator shadow build feature, or a .pro that does a similar
> thing explicitly, then code completion in UI classes fails. It seems the
> completer does not look in the shadow directory for ui_*.h files or does not
> parse then well. Rather than being shown the widget members of the UI I am
> shown only the class name from the Ui name space. For example, in the generic
> generated code below completion fails after typing "m_ui->" showing only
> "AlarmView" rather than a list containing the two widgets in the designer and
> the ui_alarmview.h files.
>
> If I disable shadow building the completion works perfectly well.
For 1.2 we changed the way in which the generated UI files are added to
the C++ engine, so that they should be always up to date to your latest
edits. You can try a recent snapshot to see if that also fixes your problem:
ftp://ftp.qtsoftware.com/qtcreator/snapshots/
Regards,
Bjørn
--
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Software
More information about the Qt-creator-old
mailing list