ahiemstra created this revision. ahiemstra added a reviewer: Kirigami. Herald added projects: Plasma, Kirigami. Herald added a subscriber: plasma-devel. ahiemstra requested review of this revision.
REVISION 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. REPOSITORY R1014 Kirigami Gallery BRANCH qmlprofiling REVISION DETAIL https://phabricator.kde.org/D25879 AFFECTED FILES CMakeLists.txt src/CMakeLists.txt To: ahiemstra, #kirigami Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, domson, dkardarakos, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, davidedmundson, mart, hein