QWinWidget availability



  • I cannot find QWinWidget in my Qt 4.7 installation where can I find it. I need to use it but when I #include<QWinWidget> as suggested on many web pages, I get no such file error.
    Has it become obsolete, If so what is its replacement?



  • QWinWidget is (used to be?) part of Qt's solutions. A simple Google query would have told you that.
    Perhaps "this page":http://doc.qt.nokia.com/solutions/4/qtwinmigrate/ will get you started?



  • If you need the source code for the Qt solutions, you find it on "gitorious":https://qt.gitorious.org/qt-solutions



  • I am developing a plugin for a MFC application which uses Qt UI. I want the Qt MainWindow to be child of the MFC app main window. Is QWinWindow the only solution, isn't there anything part of the Qt distributable that can help?



  • The problem is you have to route events, adapt the event loop etc. All this is done by the QtSolution MFC migration. That's why it exists. You can do all this stuff on your own, that's the other solution :-)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.