diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-17 17:39:30 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-06-18 10:22:58 +0200 |
commit | d62f11f1d04851ac07491aa3994e20607b2e2adc (patch) | |
tree | 0626049efacc05996b429477378d7bf3212dcc3f /src/quick/items/qquickshadereffect.cpp | |
parent | b916c1bffdd4bcaaa6d4d75d2a9efa34a485cff5 (diff) |
Only enable opting in to rhi profiling when qml debugging is enabled
For security reasons, QML debugging (e.g. QML Profiler) is only usable
when the application had CONFIG+=qml_debug set. Follow the same approach
in the QRhi profiling infrastructure and do nothing if this was not set.
Change-Id: I46ea78a118d79e166a40722befbfc9263aac6680
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'src/quick/items/qquickshadereffect.cpp')
0 files changed, 0 insertions, 0 deletions