HI, I put a QTimeEdit on app from deisgner; now I need to set its values:
Qt Code:
  1. timeEdit->setSecond(4);
To copy to clipboard, switch view to plain text mode 
but an error incoming. Why?? thanks
Qt Code:
  1. mymainform.cpp(262): error C2027: use of undefined type 'QTimeEdit'
  2. mymainform.cpp(262): error C2227: left of '->setSecond' must point to class/struct/union
To copy to clipboard, switch view to plain text mode