diff --git a/buildconfig/CMake/QtTargetFunctions.cmake b/buildconfig/CMake/QtTargetFunctions.cmake
index c5eb54ff75c82c0f98c3e3203a426bc35a31cfc5..f7e4ee530cc0947c8200ce1a1ada836eb44f20e7 100644
--- a/buildconfig/CMake/QtTargetFunctions.cmake
+++ b/buildconfig/CMake/QtTargetFunctions.cmake
@@ -75,8 +75,6 @@ endfunction()
 # keyword: INSTALL_DIR_BASE Base directory the build output. The final product goes into a subdirectory based on the Qt version.
 # keyword: OSX_INSTALL_RPATH Install path for osx version > 10.8
 function (mtd_add_qt_target)
-  set(CMAKE_CXX_CLANG_TIDY "") # disable clang-tidy for qt generated code
-
   set (options LIBRARY EXECUTABLE NO_SUFFIX EXCLUDE_FROM_ALL)
   set (oneValueArgs
     TARGET_NAME QT_VERSION OUTPUT_DIR_BASE OUTPUT_SUBDIR