Hello
I've dual head setup in Linux running in Clone Mode. And I'm trying to move my QWidget window from display0 to display1. Below is what I'm doing
Window currently is on display 0
Qt Code:
[...] QDesktopWidget desktop; setParent(parent);To copy to clipboard, switch view to plain text mode
According to documentation "destop.screen(1)" Returns a widget that represents the screen with index screen. And I assume if I make this returned widget parent for my QWidget window, it will move the window to parent's 0,0 location (moving to display 1). But during runtime i get
Does anybody know what i'm doing wrong ?Fatal: ASSERT: "!d->isWidget" in file kernel/qobject.cpp, line 1665
Aborted
Bookmarks