There seems to be a third choice though. Writing a "thin layer", which sounds like writing one's own wxWindows or QT.
I want to know the difference between the thin layer and the existing libraries. Not in vague terms but specifically with a code example.