[Webkit-unassigned] [Bug 32380] [Qt] opening a select combo causes crash afterwards

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 14 07:03:02 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=32380


Benjamin Poulain <benjamin.poulain at nokia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID
                 CC|                            |benjamin.poulain at nokia.com




--- Comment #1 from Benjamin Poulain <benjamin.poulain at nokia.com>  2009-12-14 07:03:02 PST ---
The code seems invalid. The widget outlive the application.

Try with this:

#include<QApplication>
#include<QWebView>
#include<QUrl>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QWebView view;
    view.load(QUrl("test.html"));
    view.show();
    return a.exec();
}


For testing Webkit, I suggest using QtLauncher with the html file. That way you
don't have to write the code to instantiate a web view.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list