QtWebKit fails with Qt5.0.1 mingw 32bit



  • I am trying to build and run "fancybrowser" example project using Qt 5.0.1 for windows downloaded today "Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB)".
    It builds fine but unfortunately it fails when launch with error:
    @
    Starting C:\MyApps\fancybrowser-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\fancybrowser.exe...
    The program has unexpectedly finished.
    C:\MyApps\fancybrowser-build-Desktop_Qt_5_0_1_MinGW_32bit-Release\release\fancybrowser.exe exited with code -1073741511
    @

    Tried to create my own project. It fails the same matter as soon as I include QT+= webkitwidgets in pro file and #include <QtWebKitWidgets> in to source code cpp file.

    Question: is it something Im doing wrong or Qt5.0.1 for mingw does not support QtWebKit in general yet?



  • I have the same problem after building any example in qt5.0.1. I am posting the result from the opengl-cube example.

    If I try to use tdm-gcc or use the download from mingw32.org, I get errors during linking.

    Starting D:\Qt\5.0.1\5.0.1\mingw47_32\examples\opengl\cube-build-Desktop_MinGW_4_7_32bit-Debug\debug\cube.exe...
    The program has unexpectedly finished.
    D:\Qt\5.0.1\5.0.1\mingw47_32\examples\opengl\cube-build-Desktop_MinGW_4_7_32bit-Debug\debug\cube.exe exited with code -1073741511

    As I like to use the GNU compilers for exact portability, I am distressed I cannot take advantage of the better and more advanced API in Qt 5.

    Thanks.



  • If You use Win XP as OS, this may be problem with reference to _vsnprintf_s function which no exist in msvcrt.dll of XP.
    If it is the case, see more at: QTBUG-29306 (MinGW: Qt 5.0.1 problem with _vsnprintf_s on Win XP.)



  • It is not just mingw...
    I would say it is more of a WebKit or QtWebKit wrapper problem
    experiencing similar "glitches" here with MSVC2010 build
    e.g. try these (on certain sites)
    https://bugs.webkit.org/show_bug.cgi?id=106352
    framecapture.exe and browser.exe crash while it seems to be working in fancybrowser...

    I'm also experiencing random crashes deep inside WebKit
    like:
    https://bugs.webkit.org/show_bug.cgi?id=108703
    ...etc.

    I guess we'll have to wait for 5.1 or 5.x for thing to stabilize



  • I have exactly the same problem, as soon as I try to instanciate an object that has to do with the QtWebKit (like QWebView, QWebPage...) I have the same notifications. The same when I try to compile examples that use QtWebKit.



  • try to upgrade compiler Qt5.1.0


Log in to reply
 

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