How to convert .qm and .ts files to .mo or .po?

I'm working with several language files and sometimes the sources are in .qm/.ts format. I'm using Qt Linguist/Gtranslator/POEdit but AFAIK none of these can convert these files to .mo/.po. Are there any program capable for this?


Use lconvert

lconvert <file>.ts -o <file>.po