I don't recommend anyone using the FTM format for anything but loading and storing modules inside famitracker, for reasons listed in this thread.
For interaction with other programs I strongly suggest using the text format instead.
Btw, don't rely on that page on the wiki, as I'm not updating it (I didn't even write it and don't know if it's correct). The source code is the reference in case you still need to know about the format.
Just use the Qt FT library. Load/play/skip-around in FTMs.
I plan to publish a simplified API based on the work I did to get Qt FamiPlayer working.
I'd said this elsewhere in some thread...but this thread seems like it's asking for Qt FT library. No need for any other format, or to interpret the FTM format.