PDA

View Full Version : Using Qt with kernel extension dll



ramazangirgin
21st January 2008, 13:18
Hi all,
İ 'm writing windows shell extension for context menu. And i want to use qt in this dll. I designed custom messagebox widget and try to use this widget in this dll. But when i want to use it gives error= QWidget : Must contruct a QApplication before a QPaint device. How can i create QApplication for this because there isn't any Main(argc,arg) blok in this dll.
How Can i initialize or use any widget with ?
Thanks in advance.
Ramazan

wysota
21st January 2008, 13:23
Surely the plugin has some initialization code. You can create the application instance there.