This is a simple question but Iḿ still a newbie on QT for maemo.

The dialogtest2 programme demonstrating stacked windows on Kate Alholaś blog compiles fine in QT Creator and the ARMEL scratchbox but fails in the x86 scratchbox with the message:

g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/targets/FREMANTLE_X86/opt/qt4-maemo5/mkspecs/linux-g++ -I. -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtCore -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include/QtGui -I/targets/FREMANTLE_X86/opt/qt4-maemo5/include -I. -I. -o mymainwindow.o mymainwindow.cpp
mymainwindow.cpp:12:43: error: QtMaemo5/QMaemo5KineticScroller: No such file or directory
mymainwindow.cpp: In member function 'void MyMainWindow::SetupDialog()':
mymainwindow.cpp:64: error: expected type-specifier before 'QMaemo5KineticScroller'
mymainwindow.cpp:64: error: expected `;' before 'QMaemo5KineticScroller'
make: *** [mymainwindow.o] Error 1

This seems to be because Q_WS_MAEMO_5 is defined in both contexts. How do I ensure this is not defined by default in X86 scratchbox?

Iḿ using latest scratchbox SDK which I assume is 4.6.2 having reinstalled libqt4-maemo5-dev a few days ago.

PS Can esbox be used to build qt projects?

Many thanks,