[Qt-creator] Auto-complete ui elements

Daniel Teske daniel.teske at nokia.com
Thu Feb 5 18:29:53 CET 2009


On Thursday 05 February 2009 18:16:49 ext Israel Brewster wrote:
> I don't know if this is a bug with me or QtCreator, but for some
> reason I can't get it to auto-complete form elements. Neither control
> tabbing to fill out the rest of the name, or hitting . or -> after
> typing the name works. However, the program does compile and run
> correctly if I type in the functions manually. What am I missing here?
> Running QtCreator RC1 on Mac OS X 10.5.6. Thanks.

That should work, but only after a "Build Project". Since qt creates a 
ui_NAME.h file for each .ui file at build time. (And we parse those files 
after the build.)
But I guess, for you it doesn't work even after a build, right?

Since that is a relatively complex and rather new code, it could be that you 
have found a bug. Could you look at the #include "ui_NAME.h" line and see 
wheter there is a yellow underline? If so, then that means we didn't figure 
out the path to the "ui_NAME.h" file. 

daniel



More information about the Qt-creator-old mailing list