Hi all,
I have developed a Qt application, with QMainWindow as main Object. Inside the same Qt application there is a X Window instructions to create a X Window. Code got compiled successfully . Both my Qt window and X window will display separately.Please refer the PNG attachment. I need the X Window to be displayed on QMainWindow. Somebody please guide.
I got below errors when i am trying to integrate X and Qt
X Error: BadWindow (invalid Window parameter) 3
Major opcode: 3 (X_GetWindowAttributes)
Resource id: 0x0
Error: Couldn't find per display information
I have attached the code of main.cpp for reference
Bookmarks