Can't translate sub projects
-
Hi,
I would like to translate my project, so I use Qt linguist.
After resolving "Project ERROR: Cannot run compiler 'cl'" by adding cl.exe into path,
I have the follong problem :
lupdate warning: no TS files specified. Only diagnostics will be produced for 'E:/projets/Mediacad2_ODA4.3.2/Mediacad2.pro'.
It's logic because Mediacad2.pro has no translation but its subproject does, Mediacad2.pro looks like this:TEMPLATE = subdirs SUBDIRS += \ MdCore \ MdWidgets \ #... # where to find the sub projects - give the folders MdDC3.subdir = MdDC3 MdBatch.subdir = MdBatch MdCore.subdir = MdCore #... # what subproject depends on others MdDC3.depends = MdCore #...
What I missed ?
I also compile on MACOS and I have no problem.thanks.
-
Hi,
What version of Qt are you using on Windows ?
Is it the same that you are using on macOS ?Can you reproduce that with a minimal project ?
-
Then, can you reduce the project to a testable size to see what's going wrong ?
-
Hence the proposition of creating a minimal sample project that triggers the same error.
-
What do you mean by that ?
-
The CL problem is usually:
- Missing Visual Studio
- Wrong installation of Visual Studio i.e. C++ not selected on installation.
Is either your case ?