1. Feb 20, 2018
    • Alexandru Croitor's avatar
      Prevent Qt Quick Compiler from removing qrc Javascript source code · 605d54e6
      Alexandru Croitor authored
      
      By default whenever a Qt application is built with Qt Quick compiler,
      it will scan all qrc resources for javascript files, generate
      corresponding C++ code, and remove the original JS code. This is
      problematic for web pages that are loaded in WebEngine because the pages
      won't be able to access the javascript code, and silently fail (or if
      you are lucky, you will get some unrelated "can not be found" error).
      
      Use the undocumented QtQuick Compiler
      QTQUICK_COMPILER_SKIPPED_RESOURCES qmake variable to specify that
      Javascript source code found in qrc files should be left as is.
      
      Task-number: QTBUG-66155
      Change-Id: Ib1dc744901baddd9e0c17c53db1ffede5c31e544
      Reviewed-by: default avatarSimon Hausmann <simon.hausmann@qt.io>
      605d54e6
  2. Jun 19, 2017
    • Jüri Valdmann's avatar
      Update Content Manipulation example code · 4f7f139b
      Jüri Valdmann authored
      
      - Use the new signals and slots syntax, QStringLiteral, lambdas and nullptr.
      - Use tr consistently for user-visible text.
      - Use unprefixed CSS transform properties.
      - Remove the "; undefined" workaround for runJavaScript calls, which is supposed
        to prevent a "possible recursion loop and crash" due to QVariant conversion.
        However, since no callback is passed to the method, no such conversion is
        taking place nowadays.
      
      Task-number: QTBUG-60655
      Change-Id: Iad9131a17e488bf5e6b1905483be33b562dbfc62
      Reviewed-by: default avatarMichal Klocek <michal.klocek@qt.io>
      Reviewed-by: default avatarViktor Engelmann <viktor.engelmann@qt.io>
      4f7f139b
  3. Jun 13, 2017
  4. Mar 28, 2017
  5. Jun 20, 2016
  6. Feb 01, 2016
  7. Jan 28, 2016
    • Leena Miettinen's avatar
      Doc: update Contentmanipulation example docs · 97c17e70
      Leena Miettinen authored
      
      - Update screenshot
      - Remove second \brief command
      - Fix grammar issues
      - Use standard phrasing for examples
      - Replace \snippet commands with \quotefromfile commands.
        This enables documenting each line of code separately
      - Replace occurrences of QWebView with QWebEngineView
      - Replace reference to the obsolete QWebEnginePage::evaluateJavaScript
        method with reference to QWebEnginePage::runJavaScript() that is used
        in the example code
      - Remove snippet markers from mainwindow.h and mainwindow.cpp
      - Move code comment from mainwindow.cpp to the documentation to make the
        code leaner
      
      Change-Id: If3346810c8aef67c15c9ec7ad4469a222e636cf2
      Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
      97c17e70
  8. Dec 17, 2015
  9. Nov 16, 2015