summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlexandru Croitor <alexandru.croitor@qt.io>2018-02-07 15:01:02 +0100
committerAlexandru Croitor <alexandru.croitor@qt.io>2018-02-20 13:10:28 +0000
commit605d54e65a6e7a79afda0173cbce5346985903ab (patch)
treea3671842c5189038cee18054a2a4da84b1cdfc48 /src
parent35cc7e709f6c93a20a453d697f0da76cd9f05e1f (diff)
Prevent Qt Quick Compiler from removing qrc Javascript source code
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: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions