Details
-
Bug
-
Resolution: Won't Do
-
P2: Important
-
5.2.1, 5.3.0 Beta1
-
Windows 7/8
-
63098f6baefb05823482b508eb0dcf616e90e172 2748cfb515a8668695d4962eaa3d7ce76504c97c
Description
When loading .NET dlls using QAxObject it will cause the webkit engine to crash in weird ways later on in the program.
Here is the fancy browser's main.cpp source modified to exhibit the issue.
int main(int argc, char * argv[]) { QApplication app(argc, argv); QAxObject *activeX1; activeX1 = new QAxObject(); activeX1->setControl( "{00B01B2E-B1FE-33A6-AD40-57DE8358DC7D}"); //Will crash when the webkit engine starts running. QUrl url; if (argc > 1) url = QUrl::fromUserInput(argv[1]); else url = QUrl("http://www.google.com/ncr"); MainWindow *browser = new MainWindow(url); browser->show(); return app.exec(); }
I've included the full source and a .NET dll. Register the dll using regasm to test. All of my .net dlls cannot be used with Qt because of this bug.
Everything worked fine Qt 5.0.2. It is after I upgraded to Qt 5.2.1 that it started.
Note: Furthermore, you could reproduce the issue by just calling the CoCreateInstance win32api directly instead of using the QAxObject.
However using VB6 activex dlls is fine. no crash.
Attachments
Issue Links
- is replaced by
-
QTBUG-36591 REG: Webkit Java Applet is not shown correctly (crash in debug mode)
-
- Closed
-
- is required for
-
QTBUG-39779 qt vs2008 project link .net framework 3.5 lib can not support drap and drop .it also will crash when project use control qwebview.
-
- Closed
-