Skip to content

Commit

Permalink
Merge pull request #3999 from Swiftb0y/enable-qml-debug
Browse files Browse the repository at this point in the history
Enable QML debugging and profiling in debug builds
  • Loading branch information
Holzhaus authored Jun 21, 2021
2 parents 1f05c67 + ab1419a commit e2e1d94
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,12 @@ if(UNIX AND NOT APPLE)
set(MIXXX_SETTINGS_PATH ".mixxx/")
endif()

# QML Debugging
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
target_compile_definitions(mixxx-lib PRIVATE QT_QML_DEBUG)
message(STATUS "Enabling QML Debugging! This poses a security risk as Mixxx will open a TCP port for debugging")
endif()

# Disable warnings in generated source files
set_property(
SOURCE src/library/rekordbox/rekordbox_anlz.cpp
Expand Down

0 comments on commit e2e1d94

Please sign in to comment.