Commit 2189a126 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Enable qml debugging when in a devel build

Useful to use the qml profiler, we don't really want it on any user builds
though, hence checking for the dummy backend.
parent 94889545
......@@ -32,6 +32,10 @@ target_link_libraries(plasma-discover LINK_PUBLIC
install(TARGETS plasma-discover ${INSTALL_TARGETS_DEFAULT_ARGS} )
if (BUILD_DummyBackend)
target_compile_definitions(plasma-discover PRIVATE $<$<CONFIG:Debug>:QT_QML_DEBUG=1>)
endif()
# Standard desktop file accepts local files as input.
set(DesktopNoDisplay "false")
set(DesktopMimeType "application/vnd.debian.binary-package;application/x-rpm;")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment