After QPixmap::grabWindow application frozen
-
08-12-2019 - |
Pergunta
After I use this function
QPixmap::grabWindow(QApplication::desktop()->winId(),50,100,950,700);
my application is frozen and I am not able to use other button in my application. Why is that so?
Solução
It works with my Qt installation (4.8 on OS X 10.6.8). Make sure you have a instance of QApplication before calling anything in QtGUI.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow