I intergrate QT4.7.1 with DirectFB 1.4.1 Phase 2.5, but after browsering several pages with the QT demobrowser,the following error occured.I add printf statement when requests createSurface operation and releaseSurface,and found some surfaces create are not released?

Qt Code:
  1. (!) bcmNexus/Pool: NEXUS_Surface_Create failed!
  2. (!) bcmNexus/Pool: NEXUS_Surface_Create failed!
  3. (!) Core/SurfBuffer: Buffer allocation failed!
  4. --> General failure!
  5. (!) bcmNexus/Pool: NEXUS_Surface_Create failed!
  6. (!) bcmNexus/Pool: NEXUS_Surface_Create failed!
  7. (!) Core/SurfBuffer: Buffer allocation failed!
  8. --> General failure!
To copy to clipboard, switch view to plain text mode 

My bootscript file
Qt Code:
  1. #!/bin/sh
  2. mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 10.0.3.134:/opt /home
  3. mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 10.0.3.134:/home/dfb /usr/local
  4. export export gfx_heap_size=20000000(The bigger size setting,the later error occur)
  5. export QWS_SIZE=1280x720
  6. export QT_INSTALL_DIR=/home/qt471
  7. export QT_QWS_FONTDIR=${QT_INSTALL_DIR}/lib/fonts
  8. export QT_PLUGIN_PATH=${QT_INSTALL_DIR}/plugins
  9. export LD_LIBRARY_PATH=/home/qt471/lib:$LD_LIBRARY_PATH
  10. export LD_LIBRARY_PATH=/home/qt471/extralib:$LD_LIBRARY_PATH
  11. export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
  12. cd /usr/local/bin/directfb/1.4
  13. ./rundfb.sh ${QT_INSTALL_DIR}/demos/browser/browser -qws -display directfb -font simhei http://10.0.3.37/index.asp
To copy to clipboard, switch view to plain text mode 

qmake.conf
Qt Code:
  1. #
  2. # qmake configuration for building with mipsel-linux-g++
  3. #
  4.  
  5. include(../../common/g++.conf)
  6. include(../../common/linux.conf)
  7. include(../../common/qws.conf)
  8.  
  9. # modifications to g++.conf
  10. QMAKE_CC = mipsel-linux-gcc
  11. QMAKE_CXX = mipsel-linux-g++
  12. QMAKE_CFLAGS += -mips32
  13. QMAKE_CXXFLAGS += -mips32
  14. QMAKE_LINK = mipsel-linux-g++
  15. QMAKE_LINK_SHLIB = mipsel-linux-g++
  16.  
  17. # modifications to linux.conf
  18. QMAKE_AR = mipsel-linux-ar cqs
  19. QMAKE_OBJCOPY = mipsel-linux-objcopy
  20. QMAKE_STRIP = mipsel-linux-strip
  21.  
  22. QT_CFLAGS_DIRECTFB = -I/home/dfb/include/directfb -D_REENTRANT
  23. QT_LIBS_DIRECTFB = -L/home/dfb/lib -ldirect -ldirectfb -lfusion -lz
  24. load(qt_config)
To copy to clipboard, switch view to plain text mode 



Thank you for your tips.