lconvert/lrelease as qmake custom targets
-
I have some translations to handle,
lconvert
to "export"qtbase_fr.qm
to a Qt resource, andlrelease
for the app's.I successfully had them as build steps in Qt Creator, but I'd like to have them in the .pro file to avoid having to manually add build steps in Qt Creator.
The thing is, I'm having a hard time making
qmake
execute the target's commands. I'm gettingmake
errors like: « No rule to make target 'i18n_app' ». The dependencies seem to be there, but not the commands to build them. I also tried with and without$$PWD
for the 2 targets, just in case this was the reason why make doesn't find the rule...Any idea, please?
- Here is the latest .pro file
- And here is the Makefile inside
build/Desktop_Qt_5_15_2_clang_64bit-Debug/src
-
They seem to look good.
Which version of Qt are you using ?
-
Would it be possible to have a minimal project to try that on my end so that we can work on the same base ?