Is there any reason why this code works perfectly in windows and in linux failed
Qt Code:
Button* source = qobject_cast<Button*>(event->source()); // craaaaf Failure only in linux }To copy to clipboard, switch view to plain text mode
thanks
Is there any reason why this code works perfectly in windows and in linux failed
Qt Code:
Button* source = qobject_cast<Button*>(event->source()); // craaaaf Failure only in linux }To copy to clipboard, switch view to plain text mode
thanks
What do you mean with "failed"?
Does the qobject_cast return 0?
Is the event->source of type Button*?
Cheers,
_
Bookmarks