CMake. How to find all files to translate their in Qt5Linguist?

164 Views Asked by At

I am trying to use Qt for my large project with different subprojects. I need to find all *.cpp *.h *.ui files to create *.ts files and apply them for qt5_create_translation. Could you help me how to do it?

I tried to use

file(GLOB ${ALL_USE_FILES} ${CMAKE_CURRENT_SOURCE_DIR}/*.*)

but it won't work.

0

There are 0 best solutions below