It should be possible, and would probably be a whole lot faster, to build a shim library for GTK and Qt, that looks like the actual GTK/2 and Qt libraries, but is really just a wrapper to Motif. It would certainly be faster than trying to rewrite all the apps.
There's an old proverb that says pretty much anything you want it to.
<-> eidyia - R5K/300, 1GB, AV2
Unnamed - 2xR10K/180 1MB, 256MB
<-> eidyia - R5K/300, 1GB, AV2
Unnamed - 2xR10K/180 1MB, 256MB