[Webkit-unassigned] [Bug 104853] New: Qt5 RC1 globalSettings crashes in main w/o event loop
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 12 15:08:40 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=104853
Summary: Qt5 RC1 globalSettings crashes in main w/o event loop
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: WebKit Qt
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: deadbeef at mailinator.com
Not sure about version I'm using default WebKit build version that comes bundled with Qt5.0 RC1
Qt 5.0 RC 1
QtCreator 2.6.1
Qt is 32 bit running on Windows7 64 bit
This code crashes in main()
#include <QWebSettings>
int main(int, char **)
{
QWebSettings * globalSettings = QWebSettings::globalSettings();
//qDebug() << "WebGLEnabled: " << globalSettings->testAttribute(QWebSettings::WebGLEnabled);
return 0;
}
The example above works only after I set it on QTimer::singleShot(0, someClass, SLOT(someSlot));
i.e. requires event loop
It used to be working right from main() on previous versions e.g.
Same example works on QtCreator 2.4.1 Qt 4.8.0
on Fedora 17 64 bit where Qt suite is also 64 bit
Either fix this or document it if it's a "feature"..
--
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