I think you can use Q3Wizard to make your code working first and then try to use Qt4. In Qt3 there is function backButton() in Q3Wizard. It means that you use Q3Wizard instead of QWizard.
=============================================================================
The QWizard class is no longer part of the Qt public API. It has been renamed Q3Wizard and moved to Qt3Support. In Qt 4 applications, you can obtain the same result by combining a QStackedWidget with a QDialog and provide QPushButtons yourself.
There is also a QtWizard solution available from Trolltech. The new class was designed to work both for linear wizards and for wizards with more complex structures which let users reach different pages depending on the options they select. Based on the feedback we get, QtWizard may be considered for inclusion in a future Qt release.