can not compile tutorial for QT

when I try to compile that MakeBottle tutorial example use QT 2.4, it generate a error

eneration string.qm...
'C:\qt\bin\msg2qm' is not recognized as an internal or external command,
operable program or batch file.

I found there is no such thing msg2qm inisde
the bin diretory. However, I do find some utils
code msg2qm inside \tools directory from qt non-commerical package. But it does not works.

Any help would be appreaciated


Hans Knoll's picture

I encountered the same problem. The solution was:

1. Compile msg2qm.exe (The source code can be found in the qt/tools directory) and put the exe into qt/bin

2. Rename qt-mt230nc.lib to qt230.lib in the qt/lib directory

3. In Visual Studio add TKBO.lib to the library modules (under Settings/Link)

It then compiled without errors.