[Webkit-unassigned] [Bug 104853] Qt5 RC1 globalSettings crashes in main w/o event loop

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 13 10:13:06 PST 2012


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





--- Comment #3 from That Dude <deadbeef at mailinator.com>  2012-12-13 10:15:27 PST ---
Qt 5.0 RC2
Seems to be working if QApplication is created before calling static
QWebSettings::globalSettings();

 i.e. this works

#include <QApplication>
#include <QDebug>
#include <QWebSettings>

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QWebSettings * globalSettings = QWebSettings::globalSettings();
    qDebug() << "WesbGLEnabled: " << globalSettings->testAttribute(QWebSettings::WebGLEnabled);

    return 0;
}
// HTH

-- 
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