But that's the point ! qm-files are create during make and make is called after qmake...Remember that you have to run qmake after files file1.qm and file2.qm are created for this to work.
So I have to call qmake twice during the build+installation process !
qmake => creates makefiles
make => builds application binaries
make translation => creates translation binaries (qm-files)
qmake => creates makefiles again !!!
make install => installs application+translation binaries
The problem is, that the first qmake ignores all install-target files that are not yet built.
For the application binary, Trolltech seems to have implemented a "special" solution with the reserved "target" target.
But there seems to be no such a solution for other files, right ?![]()





Reply With Quote



Bookmarks