[Qt-interest] Problem with QLineEdit / Designer and inputMethodHints
Martin Brodbeck
martin at brodbeck-online.de
Wed Nov 4 10:15:22 CET 2009
Hello,
hmm, I'm not sure whether this problem is QtCreator- or Designer-related.
Sorry if this is the wrong mailinglist.
I have some QLineEdit objects in my application. I use the QtCreator (1.2.92)
and did the layout with the (embedded) designer. For some playing-around-
reasons, I changed the inputMethodHints Property.
Since then, I always get the compiler error: "‘class QLineEdit’ has no member
named ‘setInputMethodHints’" and "‘ImhNone’ is not a member of ‘Qt’". I can't
get rid of these errors even if I undo my changes of this property. I can
delete the corresponding lines in the generated ui_xxx.h file, but after a
clean and rebuild the problem is there again (of course).
So, my (newbie-) questions are:
- Why do I get the error "class QLineEdit’ has no member named
‘setInputMethodHints" although it is present and editable in the designer?
- The designer doesn't seem to realize when I reset my changes to default
values, so it still generates corresponding code in the ui_xxx.h files, but
with unnecessary values. Can I tell designer somehow, that I really want to
reset my changes so than it can omit the unnecessary code generation?
Thanks a lot
Martin
More information about the Qt-interest-old
mailing list