Results 1 to 2 of 2

Thread: Using Qt with kernel extension dll

  1. #1
    Join Date
    Jul 2007
    Posts
    35
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Using Qt with kernel extension dll

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Using Qt with kernel extension dll

    Surely the plugin has some initialization code. You can create the application instance there.

Similar Threads

  1. QFileDialog and file extension
    By calhal in forum Qt Programming
    Replies: 3
    Last Post: 9th March 2010, 12:54
  2. Client/Server Error: BadIDChoice
    By 3nc31 in forum Qt Programming
    Replies: 5
    Last Post: 27th November 2007, 10:22
  3. Problem with Container Extension
    By tarod in forum Qt Tools
    Replies: 2
    Last Post: 12th November 2007, 16:20
  4. QFileDialog::getSaveFileName default extension
    By elcuco in forum Qt Programming
    Replies: 2
    Last Post: 10th August 2007, 20:13
  5. linking user space and kernel space programs with qmake
    By zielchri in forum Qt Programming
    Replies: 9
    Last Post: 8th March 2006, 23:11

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.