From 480065b15fc7754ba65e6ff0b6c9affdc47d0738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 19 Dec 2025 14:05:45 +0100 Subject: [PATCH] Fixed #14169 (cmake: ts files generated by cmake is not robust) --- gui/CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/gui/CMakeLists.txt b/gui/CMakeLists.txt index ff329ad1163..458569872c1 100644 --- a/gui/CMakeLists.txt +++ b/gui/CMakeLists.txt @@ -12,11 +12,8 @@ CheckOptions: file(GLOB hdrs "*.h") file(GLOB srcs "*.cpp") file(GLOB uis "*.ui") - file(GLOB tss "*.ts") QT_WRAP_UI(uis_hdrs ${uis}) QT_ADD_RESOURCES(resources "gui.qrc") - # TODO: passing "-no-obsolete" here breaks the translations - QT_CREATE_TRANSLATION(qms ${CMAKE_CURRENT_SOURCE_DIR} ${tss}) list(APPEND cppcheck-gui-deps ${hdrs} ${uis_hdrs} ${resources} ${qms}) add_custom_target(gui-build-deps SOURCES ${cppcheck-gui-deps})