File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ add_executable(test-translationhandler
77 ${CMAKE_SOURCE_DIR} /gui/common.cpp
88 ${CMAKE_SOURCE_DIR} /gui/translationhandler.cpp
99 )
10- target_include_directories (test -translationhandler PRIVATE ${CMAKE_SOURCE_DIR} /gui )
10+ target_include_directories (test -translationhandler PRIVATE ${CMAKE_SOURCE_DIR} /gui ${CMAKE_SOURCE_DIR} /lib )
1111target_link_libraries (test -translationhandler ${QT_CORE_LIB} ${QT_WIDGETS_LIB} ${QT_TEST_LIB} )
1212
1313if (CMAKE_CXX_COMPILER_ID MATCHES "Clang" )
Original file line number Diff line number Diff line change 1818
1919#include " translationhandler.h"
2020
21+ #include " config.h"
2122#include " common.h"
2223
2324#include < QApplication>
2930
3031
3132// Provide own translations for standard buttons. This (garbage) code is needed to enforce them to appear in .ts files even after "lupdate gui.pro"
32- static void unused ()
33+ static UNUSED void unused ()
3334{
3435 Q_UNUSED (QT_TRANSLATE_NOOP (" QPlatformTheme" , " OK" ))
3536 Q_UNUSED (QT_TRANSLATE_NOOP (" QPlatformTheme" , " Cancel" ))
You can’t perform that action at this time.
0 commit comments