Hi yangyouxiu,
Like Twisted, Qt (and almost all GUI toolkits) work on a single thread, evented mechanism, with an event loop at its core. Qt4Reactor, I believe, just merges these two loops into one loop.
The documentation for Qt4Reactor should tell you how to do that. Presumably there's a reactor.install() somewhere :)