Add an option to enable QML profiling

Authored by ahiemstra on Dec 11 2019, 11:49 AM.

Description

Add an option to enable QML profiling

Summary:
This adds a CMake option to enable QML profiler and debugger integration.
This allows running the gallery through the QML profiler, which makes it
simple to profile Kirigami through running Kirigami Gallery.

It is by default set to "ON" because I do not think there really is any
risk related to enabling it.

Test Plan:
With the option on, starting Kirigami Gallery from command line will print
"QML debugging is enabled". Without it, no such print happens.

Reviewers: Kirigami, bshah

Reviewed By: bshah

Subscribers: bshah, plasma-devel

Tags: Plasma, Kirigami

Differential Revision: https://phabricator.kde.org/D25879

Details

Committed
ahiemstraDec 11 2019, 12:46 PM
Reviewer
bshah
Differential Revision
D25879: Add an option to enable QML profiling
Parents
R1014:09746fb4f9bf: control to show/hide the banner
Branches
Unknown
Tags
Unknown