1. ./build_x86.sh
  2. 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
  3. In file included from /usr/include/QtGui/QtGui:25:0,
  4.                  from ../../mainwidget.h:24,
  5.                  from ../../mainwidget.cpp:21:
  6. /usr/include/QtGui/qapplication.h:128:48: error: ‘ApplicationFlags’ was not declared in this scope
  7. /usr/include/QtGui/qapplication.h:129:65: error: ‘ApplicationFlags’ was not declared in this scope
  8. /usr/include/QtGui/qapplication.h:130:54: error: ‘ApplicationFlags’ was not declared in this scope
  9. In file included from /usr/include/QtGui/QtGui:66:0,
  10.                  from ../../mainwidget.h:24,
  11.                  from ../../mainwidget.cpp:21:
  12. /usr/include/QtGui/qbitmap.h: In member function ‘void QBitmap::swap(QBitmap&)’:
  13. /usr/include/QtGui/qbitmap.h:66:40: error: ‘swap’ is not a member of ‘QPixmap’
  14. In file included from /usr/include/QtGui/qglyphrun.h:48:0,
  15.                  from /usr/include/QtGui/QtGui:84,
  16.                  from ../../mainwidget.h:24,
  17.                  from ../../mainwidget.cpp:21:
  18. /usr/include/QtGui/qrawfont.h: At global scope:
  19. /usr/include/QtGui/qrawfont.h:74:21: error: ‘QFont::HintingPreference’ has not been declared
  20. /usr/include/QtGui/qrawfont.h:77:21: error: ‘QFont::HintingPreference’ has not been declared
  21. /usr/include/QtGui/qrawfont.h:108:5: error: ‘HintingPreference’ in ‘class QFont’ does not name a type
  22. /usr/include/QtGui/qrawfont.h:121:30: error: ‘QFont::HintingPreference’ has not been declared
  23. /usr/include/QtGui/qrawfont.h:125:30: error: ‘QFont::HintingPreference’ has not been declared
  24. /usr/include/QtGui/qrawfont.h:74:59: error: ‘PreferDefaultHinting’ is not a member of ‘QFont’
  25. /usr/include/QtGui/qrawfont.h:77:59: error: ‘PreferDefaultHinting’ is not a member of ‘QFont’
  26. In file included from /usr/include/QtGui/QtGui:123:0,
  27.                  from ../../mainwidget.h:24,
  28.                  from ../../mainwidget.cpp:21:
  29. /usr/include/QtGui/qlineedit.h:163:33: error: ‘Qt::CursorMoveStyle’ has not been declared
  30. /usr/include/QtGui/qlineedit.h:164:5: error: ‘CursorMoveStyle’ in namespace ‘Qt’ does not name a type
  31. In file included from ../../mainwidget.cpp:25:0:
  32. /opt/onyx/arm/include/onyx/screen/screen_proxy.h:145:5: warning: unused parameter ‘ref’ [-Wunused-parameter]
  33. ../../mainwidget.cpp:256:6: warning: unused parameter ‘currentLayer’ [-Wunused-parameter]
  34. ../../mainwidget.cpp:256:6: warning: unused parameter ‘maxLayers’ [-Wunused-parameter]
  35. ../../mainwidget.cpp:261:6: warning: unused parameter ‘percentage’ [-Wunused-parameter]
  36. make: *** [mainwidget.o] Error 1