Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-33004

QWebView does not run angular.js apps in Release mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.1.0
    • WebKit
    • None
    • Windows7pro 64bit, 8Gb RAM

      Using "Qt 5.1.0 for Windows 32-bit (MinGW 4.8, OpenGL, 666 MB)", some javascript applications fail to work when compiled in Release mode, but work in Debug Mode. No error appears in the javascript console.
      This affects (to my knowledge) angular.js applications.

      Enclosed, a minimal project (one single cpp file) that reproduces the problem. I added the file main.cpp to the attachements.

      To reproduce:

      • Open the enclosed project, or create a project and add the main.cpp file attached.
      • Compile and run in Debug mode: "Hello, world!" appears (it works)
      • Compile and run in Release mode: "Hello, {{ who }}!" appears (it didn't work)

        1. main.cpp
          0.8 kB
        2. angularbug.zip
          1 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            jturcott Jocelyn Turcotte
            rreyes Rodrigo Reyes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes