PySide: LGPL Python bindings for the Qt Framework
pyside.org
pyside.org
Background: "Work on PySide was initiated within the Maemo division of Nokia once the lack of suitably licensed Qt Python bindings became apparent."
But such is life for a toolmaker: when the platform provider decides that your product is good enough to be integrated, you're out of business. The best defense is probably to make tools that are not merely API plumbing, but have a user-facing component that is not easily replicated.
Also, I don't think that having your exit strategy be getting bought by the tool-providing company that your code depends on is a good one. They could just as easily use your work as a template for their own, and obsolete your product in the process. I think that it would be too risky.
It sounds like Nokia wanted to make a deal first. Maybe Riverbank underestimated Nokia's willingness to throw sheer manpower at working around them, or perhaps Riverbank thought that reimplementing the APIs through "cleanroom" reverse engineering would be more difficult than it turned out to be.
Somehow I think proprietary desktops have relevance to Nokia only as platforms for rich internet applications which currently need some access to native APIs, while the main focus is naturally on keeping their mobile offerings number one (based on the number of units in use). Qt as a cross-platform native API is an edge in this against Microsoft's and Apple's mobile platforms.
To help in this, they can continue to bring software from the Free desktops to the mobile world (Maemo, Qt, Python). They consider web developers important, which can be seen in their work to integrate WebKit, Javascript, CSS, SVG into Qt.