Oops, there was a little bug there. One should do a "quilt refresh" before sending patches. In native/jni/qt-peer/mainqtthread.cpp it must not be -------------------------------------- QApplication( *argc, argv ); -------------------------------------- but -------------------------------------- new QApplication( *argc, argv ); --------------------------------------