
Wed, 08/26/2009 - 13:50
Forums:
I have tried the routines grabWidget and gradWindow(pix = QPixmap::grabWidget(myOCC);pix = QPixmap::grabWindow(myOCC->winId())). But both are delivering only an empty pixmap. If i grab the next higher widget i can see the window but the area of the 3d-output is still empty.
I have also tried myOCC->render(&pixmap) with the same result.
How can i grab the 3d-window from QtOcc?
Thu, 08/27/2009 - 10:34
For example:
http://www.opencascade.org/org/forum/thread_17140/
QT independent ;)
Thu, 08/27/2009 - 19:58
I could not link it because i have no library that contains "TsmGetWSAttri". TKOpenGL.lib, opengl32, glu32.lib do not contain this command. I have searched all libraries on my computer.
What library contains "TsmGetWSAttri"?