./build_x86.sh g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_WEBKIT_LIB -DQT_DBUS_LIB -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/opt/onyx/arm/mkspecs/qws/linux-x86-g++ -I../../../scribble -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include/QtDBus -I/usr/include/QtWebKit -I/usr/include -I/opt/onyx/arm/include -I. -I../../../scribble -I. -o mainwidget.o ../../mainwidget.cpp In file included from /usr/include/QtGui/QtGui:25:0, from ../../mainwidget.h:24, from ../../mainwidget.cpp:21: /usr/include/QtGui/qapplication.h:128:48: error: ‘ApplicationFlags’ was not declared in this scope /usr/include/QtGui/qapplication.h:129:65: error: ‘ApplicationFlags’ was not declared in this scope /usr/include/QtGui/qapplication.h:130:54: error: ‘ApplicationFlags’ was not declared in this scope In file included from /usr/include/QtGui/QtGui:66:0, from ../../mainwidget.h:24, from ../../mainwidget.cpp:21: /usr/include/QtGui/qbitmap.h: In member function ‘void QBitmap::swap(QBitmap&)’: /usr/include/QtGui/qbitmap.h:66:40: error: ‘swap’ is not a member of ‘QPixmap’ In file included from /usr/include/QtGui/qglyphrun.h:48:0, from /usr/include/QtGui/QtGui:84, from ../../mainwidget.h:24, from ../../mainwidget.cpp:21: /usr/include/QtGui/qrawfont.h: At global scope: /usr/include/QtGui/qrawfont.h:74:21: error: ‘QFont::HintingPreference’ has not been declared /usr/include/QtGui/qrawfont.h:77:21: error: ‘QFont::HintingPreference’ has not been declared /usr/include/QtGui/qrawfont.h:108:5: error: ‘HintingPreference’ in ‘class QFont’ does not name a type /usr/include/QtGui/qrawfont.h:121:30: error: ‘QFont::HintingPreference’ has not been declared /usr/include/QtGui/qrawfont.h:125:30: error: ‘QFont::HintingPreference’ has not been declared /usr/include/QtGui/qrawfont.h:74:59: error: ‘PreferDefaultHinting’ is not a member of ‘QFont’ /usr/include/QtGui/qrawfont.h:77:59: error: ‘PreferDefaultHinting’ is not a member of ‘QFont’ In file included from /usr/include/QtGui/QtGui:123:0, from ../../mainwidget.h:24, from ../../mainwidget.cpp:21: /usr/include/QtGui/qlineedit.h:163:33: error: ‘Qt::CursorMoveStyle’ has not been declared /usr/include/QtGui/qlineedit.h:164:5: error: ‘CursorMoveStyle’ in namespace ‘Qt’ does not name a type In file included from ../../mainwidget.cpp:25:0: /opt/onyx/arm/include/onyx/screen/screen_proxy.h:145:5: warning: unused parameter ‘ref’ [-Wunused-parameter] ../../mainwidget.cpp:256:6: warning: unused parameter ‘currentLayer’ [-Wunused-parameter] ../../mainwidget.cpp:256:6: warning: unused parameter ‘maxLayers’ [-Wunused-parameter] ../../mainwidget.cpp:261:6: warning: unused parameter ‘percentage’ [-Wunused-parameter] make: *** [mainwidget.o] Error 1