Hi,
i have problem with keypressed
to test my keypressed i put
but even if i press another key(z,y,left...) i see "i winn" in the screen and the "add_object() method executed tooQt Code:
{ if (Qt::Key_Up) { cout<<"i winnnnn"; add_object(); emit keyPress(evt);} }To copy to clipboard, switch view to plain text mode
Bookmarks