port to qt4 with qt3support enabled