qt-everywhere-4.7.3-ARM交叉编译移植(三)

-I/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include -o .obj/release-shared-emb-arm/qgl.o qgl.cpp In file included from qgl.cpp:44: qgl.h:61:22: error: GLES/gl.h: No such file or directory In file included from ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:66,from ../../include/QtGui/private/qegl_p.h:1,from qgl_p.h:68,from qgl.cpp:68: /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES/egl.h:10:21: error: EGL/egl.h: No such file or directory In file included from qgl.cpp:44: qgl.h:66: error: 'GLfloat' does not name a type qgl.h:341: error: 'GLuint' does not name a type qgl.h:343: error: 'GLuint' does not name a type qgl.h:346: error: 'GLuint' does not name a type qgl.h:348: error: 'GLuint' does not name a type qgl.h:350: error: 'GLuint' does not name a type qgl.h:352: error: 'GLuint' has not been declared qgl.h:354: error: 'GLuint' has not been declared $vim /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES/egl.h 10 #include "egl.h" 11 #include "gl.h" 12 13 #endif /* __legacy_egl_h_ */ $find -name "qgl.h" $vim ./src/opengl/qgl.h 57 #if defined(Q_WS_MAC) 58 # include <OpenGL/gl.h> 59 # include <OpenGL/glu.h> 60 #elif defined(QT_OPENGL_ES_1) 61 # include "gl.h" 62 #ifndef GL_DOUBLE -------------------------------------------------------------------------------------------------------------- -I/home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include -o .obj/release-shared-emb-arm/qgl.o qgl.cpp In file included from ../../include/QtGui/private/qegl_p.h:1,from qgl.cpp:68: ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:116: error: 'NativeWindowType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:117: error: 'NativePixmapType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:118: error: 'NativeDisplayType' does not name a type In file included from ../../include/QtGui/private/qegl_p.h:1,from qgl.cpp:68: ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:206: error: 'EGLConfig' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:208: error: 'EGLConfig' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:209: error: 'EGLSurface' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:216: error: 'EGLint' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:222: error: 'EGLDisplay' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:224: error: 'EGLNativeDisplayType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:225: error: 'EGLNativeWindowType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:226: error: 'EGLNativePixmapType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: 'EGLDisplay' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: 'EGLContext' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: expected primary-expression before 'target' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: expected primary-expression before 'buffer' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: expected primary-expression before 'const' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: initializer expression list treated as compound expression ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:230: error: 'EGLBoolean' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:231: error: 'EGLBoolean' does not name a type In file included from qgl.cpp:68: qgl_p.h:365: error: 'EGLSurface' does not name a type qgl_p.h:367: error: 'EGLSurface' does not name a type qgl_p.h:499: warning: unused parameter 'boundPixmap' In file included from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,from qgl.cpp:88: ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:197: error: 'EGLSurface' does not name a type ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h: In constructor 'QGLPixelBufferPrivate::QGLPixelBufferPrivate(QGLPixelBuffer*)': ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:153: error: class 'QGLPixelBufferPrivate' does not have any field named 'pbuf' qgl.cpp: In member function 'void QGLContextPrivate::init(QPaintDevice*,const QGLFormat&)': qgl.cpp:1693: error: 'eglSurface' was not declared in this scope qgl.cpp:1693: error: 'EGL_NO_SURFACE' was not declared in this scope make[1]: *** [.obj/release-shared-emb-arm/qgl.o] Error 1 make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/opengl' make: *** [sub-opengl-make_default-ordered] Error 2 $vim mkspec/qws/linux-omap/qmake QMAKE_LIBDIR = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib /home/linuxsir/arm-linux/arm-2009q1/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/alsa-lib/smixer /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/lib /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/lib $cd include/QtGui/private/../../../src/gui/ $vim include/QtGui/private/../../../src/gui/Makefile $make clean $make ln -s libQtGui.so.4.7.3 libQtGui.so ln -s libQtGui.so.4.7.3 libQtGui.so.4 ln -s libQtGui.so.4.7.3 libQtGui.so.4.7 rm -f ../../lib/libQtGui.so.4.7.3 rm -f ../../lib/libQtGui.so rm -f ../../lib/libQtGui.so.4 rm -f ../../lib/libQtGui.so.4.7 mv -f libQtGui.so.4.7.3 libQtGui.so libQtGui.so.4 libQtGui.so.4.7 ../../lib/ ------------------------------------------------------------------------------------------------------------------- /qgl.h/ -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -o .obj/release-shared-emb-arm/qgl.o qgl.cpp In file included from ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:60,from qgl.cpp:68: /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2/gl2.h:576: error: declaration of C function 'void glTexImage2D(GLenum,GLint,GLenum,GLsizei,const void*)' conflicts with /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES/gl.h:727: error: previous declaration 'void glTexImage2D(GLenum,const GLvoid*)' here In file included from ../../include/QtGui/private/qegl_p.h:1,const QGLFormat&)': qgl.cpp:1693: error: 'eglSurface' was not declared in this scope qgl.cpp:1693: error: 'EGL_NO_SURFACE' was not declared in this scope make: *** [.obj/release-shared-emb-arm/qgl.o] Error 1 $vim ./src/opengl/qgl.cpp 67 #include "qimage.h" 68 #include "egl.h" //added 69 #include "egltypes.h" //added 70 #include "qgl_p.h" $vim ./src/opengl/qgl.h 77 # include "gl.h" 78 # ifndef QT_LINUXBASE 79 # include "glu.h" 80 # endif 81 #endif ------------------------------------------------------------------------------------------------------------------ /opengl/ -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -o .obj/release-shared-emb-arm/qglpixelbuffer.o qglpixelbuffer.cpp In file included from ../../include/QtGui/private/qegl_p.h:1,from ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h:68,from ../../include/QtOpenGL/private/qgl_p.h:1,from ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:60,from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,from qglpixelbuffer.cpp:92: ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:119: error: 'NativeWindowType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:120: error: 'NativePixmapType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:121: error: 'NativeDisplayType' does not name a type In file included from ../../include/QtGui/private/qegl_p.h:1,from qglpixelbuffer.cpp:92: ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:209: error: 'EGLConfig' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:211: error: 'EGLConfig' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:212: error: 'EGLSurface' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:220: error: 'EGLint' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:226: error: 'EGLDisplay' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:228: error: 'EGLNativeDisplayType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:229: error: 'EGLNativeWindowType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:230: error: 'EGLNativePixmapType' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: 'EGLDisplay' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: 'EGLContext' was not declared in this scope ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: expected primary-expression before 'target' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: expected primary-expression before 'buffer' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: expected primary-expression before 'const' ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:233: error: initializer expression list treated as compound expression ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:234: error: 'EGLBoolean' does not name a type ../../include/QtGui/private/../../../src/gui/egl/qegl_p.h:235: error: 'EGLBoolean' does not name a type In file included from ../../include/QtOpenGL/private/qgl_p.h:1,from qglpixelbuffer.cpp:92: ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h:365: error: 'EGLSurface' does not name a type ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h:367: error: 'EGLSurface' does not name a type ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h:499: warning: unused parameter 'boundPixmap' In file included from ../../include/QtOpenGL/private/qglpixelbuffer_p.h:1,from qglpixelbuffer.cpp:92: ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:197: error: 'EGLSurface' does not name a type ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h: In constructor 'QGLPixelBufferPrivate::QGLPixelBufferPrivate(QGLPixelBuffer*)': ../../include/QtOpenGL/private/../../../src/opengl/qglpixelbuffer_p.h:153: error: class 'QGLPixelBufferPrivate' does not have any field named 'pbuf' qglpixelbuffer.cpp: In member function 'void QGLPixelBufferPrivate::common_init(const QSize&,const QGLFormat&,QGLWidget*)': qglpixelbuffer.cpp:155: error: 'class QGLContextPrivate' has no member named 'eglSurface' qglpixelbuffer.cpp:155: error: 'pbuf' was not declared in this scope qglpixelbuffer.cpp: In member function 'void* QGLPixelBuffer::handle() const': qglpixelbuffer.cpp:384: error: 'const class QGLPixelBufferPrivate' has no member named 'pbuf' make[1]: *** [.obj/release-shared-emb-arm/qglpixelbuffer.o] Error 1 make[1]: Leaving directory `/home/linuxsir/dvsdk/qt-everywhere-opensource-src-4.7.3-arm/src/opengl' make: *** [sub-opengl-make_default-ordered] Error 2 $vim ./src/opengl/qgl.cpp 67 #include "qimage.h" 68// #include "egl.h" //added 69// #include "egltypes.h" //added 70 #include "qgl_p.h" $vim ./src/opengl/qgl.h 51 QT_BEGIN_HEADER 52 53 #if defined(Q_WS_WIN) 54 # include <QtCore/qt_windows.h> 55 #endif 56 57 #include "egltypes.h" //added 58 59 #if defined(Q_WS_MAC) 60 # include "gl.h" //amended 61 # include "OpenGL/glu.h" 62 #elif defined(QT_OPENGL_ES_1) 63 # include "gl.h" //amended 64 #ifndef GL_DOUBLE 65 # define GL_DOUBLE GL_FLOAT 66 #endif 67 #ifndef GLdouble 68 typedef GLfloat GLdouble; 69 #endif 70 #elif defined(QT_OPENGL_ES_2) 71 # include "gl2.h" //amended 72 #ifndef GL_DOUBLE 73 # define GL_DOUBLE GL_FLOAT 74 #endif 75 #ifndef GLdouble 76 typedef GLfloat GLdouble; 77 #endif 78 #else 79 # include "gl.h" //amended 80 # ifndef QT_LINUXBASE ------------------------------------------------------------------------------------------------------------- /opengl/ -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -o .obj/release-shared-emb-arm/qgl_qws.o qgl_qws.cpp In file included from qgl_qws.cpp:46: ./qglscreen_qws.h:61:22: error: GLES/egl.h: No such file or directory In file included from ../../include/QtGui/private/qeglproperties_p.h:1,from ../../include/QtGui/private/../../../src/gui/egl/qeglcontext_p.h:60,from ../../include/QtGui/private/qeglcontext_p.h:1,from qgl_egl_p.h:57,from qgl_qws.cpp:43: ../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h: In member function 'bool QEglProperties::isEmpty() const': ../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h:77: error: 'EGL_NONE' was not declared in this scope In file included from ../../include/QtOpenGL/private/qgl_p.h:1,from qgl_qws.cpp:53: ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h: At global scope: ../../include/QtOpenGL/private/../../../src/opengl/qgl_p.h:499: warning: unused parameter 'boundPixmap' qgl_qws.cpp: In function '_KEGL_SURFACE_* qt_egl_create_surface(QEglContext*,QPaintDevice*,const QEglProperties*)': qgl_qws.cpp:160: error: 'eglCreateWindowSurface' was not declared in this scope qgl_qws.cpp:163: error: 'eglCreatePixmapSurface' was not declared in this scope qgl_qws.cpp:166: error: 'eglGetError' was not declared in this scope $find -name "qglscreen_qws.h" $vim ./src/opengl/qglscreen_qws.h 58 #if defined(QT_OPENGL_ES_2) 59 #include "egl.h" 60 #else 61 #include "egl.h" 62 #endif vim ../../include/QtGui/private/../../../src/gui/egl/qeglproperties_p.h 77 bool removeValue(int name); 78 //bool isEmpty() const { return props[0] == EGL_NONE; } 79 bool isEmpty() const { return props[0] == 0x3038; } $vim src/opengl/qgl.h 57 //#include "egltypes.h" //added 58 #include "egl.h" //added $vim mkspecs/qws/linux-omap-g++/qmake.conf QMAKE_INCDIR = /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL2/GLES2 /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OPGL/GLES /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/GLES-GL-VG/OVG/VG /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/dbus-1.0/include/dbus /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/dbus-1.0/dbus /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/alsa /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/tslib/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/glib-2.0/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/libxml2/libxmlinclude /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/include/glib-2.0/glib /home/linuxsir/dvsdk/ti-dvsdk_dm3730-evm_4_02_00_06/linux-devkit/arm-none-linux-gnueabi/usr/include /home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg $make past ! ------------------------------------------------------------------------ /openvg/ VG/openvg.h: No such file or directory -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -o .obj/release-shared-emb-arm/qpaintengine_vg.o qpaintengine_vg.cpp In file included from ../../include/QtOpenVG/private/../../../src/openvg/qvg_p.h:45,from ../../include/QtOpenVG/private/qvg_p.h:1,from qpixmapdata_vg_p.h:57,from qpaintengine_vg.cpp:43: ../../include/QtOpenVG/private/../../../src/openvg/qvg.h:52:23: error: VG/openvg.h: No such file or directory In file included from ../../include/QtOpenVG/private/qvg_p.h:1,from qpaintengine_vg.cpp:43: ../../include/QtOpenVG/private/../../../src/openvg/qvg_p.h:96: error: 'VGImageFormat' does not name a type ../../include/QtOpenVG/private/../../../src/openvg/qvg_p.h:108: error: 'VGImageFormat' does not name a type In file included from qpaintengine_vg.cpp:43: qpixmapdata_vg_p.h:107: error: 'VGImage' does not name a type qpixmapdata_vg_p.h:110: error: 'VGImage' does not name a type qpixmapdata_vg_p.h:161: error: 'VGImage' does not name a type qpixmapdata_vg_p.h:162: error: 'VGImage' does not name a type In file included from qvgcompositionhelper_p.h:56,from qpaintengine_vg.cpp:45: qwindowsurface_vgegl_p.h:78: error: 'VGImage' does not name a type qwindowsurface_vgegl_p.h:106: error: 'VGImage' does not name a type qwindowsurface_vgegl_p.h:111: error: 'VGImage' does not name a type In file included from qpaintengine_vg.cpp:45: qvgcompositionhelper_p.h:74: error: 'VGImage' has not been declared In file included from qpaintengine_vg.cpp:46: qvgimagepool_p.h:85: error: 'VGImage' does not name a type qvgimagepool_p.h:95: error: 'VGImage' does not name a type qvgimagepool_p.h:112: error: 'VGImage' does not name a type qvgimagepool_p.h:117: error: 'VGImage' has not been declared qvgimagepool_p.h:134: error: 'VGImageFormat' has not been declared qvgimagepool_p.h:135: error: 'VGint' has not been declared qvgimagepool_p.h:135: error: 'VGint' has not been declared qpaintengine_vg.cpp:142: error: 'VGMatrixMode' has not been declared qpaintengine_vg.cpp:144: error: 'VGPath' has not been declared qpaintengine_vg.cpp:144: error: 'VGint' has not been declared qpaintengine_vg.cpp:145: error: 'VGPath' has not been declared qpaintengine_vg.cpp:146: error: 'VGPath' has not been declared qpaintengine_vg.cpp:146: error: 'VGint' has not been declared qpaintengine_vg.cpp:147: error: 'VGPath' does not name a type qpaintengine_vg.cpp:148: error: 'VGPath' does not name a type qpaintengine_vg.cpp:149: error: 'VGPath' does not name a type qpaintengine_vg.cpp:150: error: 'VGPaintType' does not name a type qpaintengine_vg.cpp:154: error: 'VGMatrixMode' has not been declared qpaintengine_vg.cpp:155: error: 'VGPaint' has not been declared qpaintengine_vg.cpp:161: error: 'VGMaskOperation' has not been declared qpaintengine_vg.cpp:163: error: 'VGMaskOperation' has not been declared qpaintengine_vg.cpp:166: error: 'VGint' does not name a type qpaintengine_vg.cpp:168: error: 'VGPaint' does not name a type qpaintengine_vg.cpp:169: error: 'VGPaint' does not name a type qpaintengine_vg.cpp:170: error: 'VGPaint' does not name a type qpaintengine_vg.cpp:171: error: 'VGPaint' does not name a type qpaintengine_vg.cpp:179: error: 'VGPaintType' does not name a type qpaintengine_vg.cpp:180: error: 'VGPaintType' does not name a type qpaintengine_vg.cpp:184: error: 'VGint' does not name a type qpaintengine_vg.cpp:190: error: 'VGPath' does not name a type qpaintengine_vg.cpp:191: error: 'VGPath' does not name a type qpaintengine_vg.cpp:192: error: 'VGPath' does not name a type qpaintengine_vg.cpp:213: error: 'VGMatrixMode' does not name a type qpaintengine_vg.cpp:214: error: 'VGImageMode' does not name a type qpaintengine_vg.cpp:223: error: 'VGfloat' does not name a type qpaintengine_vg.cpp:225: error: 'VGBlendMode' does not name a type qpaintengine_vg.cpp:226: error: 'VGRenderingQuality' does not name a type qpaintengine_vg.cpp:227: error: 'VGImageQuality' does not name a type qpaintengine_vg.cpp:282: error: 'VGImageMode' has not been declared qpaintengine_vg.cpp:283: error: 'VGRenderingQuality' has not been declared qpaintengine_vg.cpp:284: error: 'VGImageQuality' has not been declared qpaintengine_vg.cpp:285: error: 'VGBlendMode' has not been declared qpaintengine_vg.cpp:286: error: 'VGint' has not been declared qpaintengine_vg.cpp:144: error: 'VG_EVEN_ODD' was not declared in this scope qpaintengine_vg.cpp:146: error: 'VG_EVEN_ODD' was not declared in this scope qpaintengine_vg.cpp: In member function 'void QVGPaintEnginePrivate::ensurePathTransform()': qpaintengine_vg.cpp:247: error: 'renderingQuality' was not declared in this scope qpaintengine_vg.cpp:247: error: 'VG_RENDERING_QUALITY_NONANTIALIASED' was not declared in this scope qpaintengine_vg.cpp:250: error: 'VG_MATRIX_PATH_USER_TO_SURFACE' was not declared in this scope qpaintengine_vg.cpp: In member function 'void QVGPaintEnginePrivate::ensurePen(const QPen&)': qpaintengine_vg.cpp:260: error: 'penType' was not declared in this scope qpaintengine_vg.cpp:261: error: 'penPaint' was not declared in this scope qpaintengine_vg.cpp:262: error: 'VG_MATRIX_STROKE_PAINT_TO_USER' was not declared in this scope qpaintengine_vg.cpp:262: error: 'setBrush' was not declared in this scope qpaintengine_vg.cpp: In member function 'void QVGPaintEnginePrivate::ensureBrush(const QBrush&)': qpaintengine_vg.cpp:272: error: 'brushType' was not declared in this scope qpaintengine_vg.cpp:273: error: 'brushPaint' was not declared in this scope qpaintengine_vg.cpp:273: error: 'VG_MATRIX_FILL_PAINT_TO_USER' was not declared in this scope qpaintengine_vg.cpp:273: error: 'setBrush' was not declared in this scope qpaintengine_vg.cpp:275: error: 'fillPaint' was not declared in this scope qpaintengine_vg.cpp:275: error: 'brushPaint' was not declared in this scope qpaintengine_vg.cpp:276: error: 'VG_FILL_PATH' was not declared in this scope qpaintengine_vg.cpp:276: error: 'vgSetPaint' was not declared in this scope qpaintengine_vg.cpp: At global scope: qpaintengine_vg.cpp:295: error: variable or field 'setImageMode' declared void qpaintengine_vg.cpp:295: error: 'VGImageMode' was not declared in this scope make[1]: *** [.obj/release-shared-emb-arm/qpaintengine_vg.o] Error 1 $vim include/QtOpenVG/private/../../../src/openvg/qvg.h $make //#incldue <VG/openvg.h> #include "openvg.h" past! ------------------------------------------------------------------------------------------------------------- 安装总结,openGL,openGV 最好自己交叉编译安装,然后环境变量必须设置好,否则会走很多弯路。 -------------------------------------------------------------------------------------------------------------- -I/home/linuxsir/arm-linux/arm-2009q1/lib/lib-arm/lib/openGlVg -o .obj/release-shared-emb-arm/sqlite3.o ../3rdparty/sqlite/sqlite3.c ../3rdparty/sqlite/sqlite3.c: In function 'void strftimeFunc(sqlite3_context*,int,sqlite3_value**)': ../3rdparty/sqlite/sqlite3.c:11907: error: invalid conversion from 'void*' to 'char*' ../3rdparty/sqlite/sqlite3.c: In function 'void sqlite3RegisterDateTimeFunctions()': ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:12101: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c: In function 'void* sqlite3MemMalloc(int)': ../3rdparty/sqlite/sqlite3.c:12610: error: invali ` ` ` ../3rdparty/sqlite/sqlite3.c:51160: error: invalid conversion from 'const void*' to 'const char*' ../3rdparty/sqlite/sqlite3.c:51160: error: initializing argument 2 of 'int sqlite3VdbeMemSetStr(Mem*,const char*,u8,void (*)(void*))' ../3rdparty/sqlite/sqlite3.c: In function 'int sqlite3VdbeExec(Vdbe*)': ../3rdparty/sqlite/sqlite3.c:54504: error: invalid conversion from 'void*' to 'Savepoint*' ../3rdparty/sqlite/sqlite3.c:55649: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement ../3rdparty/sqlite/sqlite3.c:56662: error: invalid conversion from 'void*' to 'int*' ../3rdparty/sqlite/sqlite3.c:56849: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement ../3rdparty/sqlite/sqlite3.c:56873: error: invalid conversion from 'void*' to 'VdbeFrame*' ../3rdparty/sqlite/sqlite3.c:57002: warning: suggest a space before ';' or explicit braces around empty body in 'for' statement ../3rdparty/sqlite/sqlite3.c: In function 'int sqlite3_blob_open(sqlite3*,sqlite_int64,sqlite3_blob**)': ../3rdparty/sqlite/sqlite3.c:57879: error: invalid conversion from 'void*' to 'Parse*' ../3rdparty/sqlite/sqlite3.c:58012: error: invalid conversion from 'void*' to 'const char*' ../3rdparty/sqlite/sqlite3.c:58012: error: initializing argument 3 of 'void sqlite3VdbeChangeP4(Vdbe*,int)' ` ` ` ../3rdparty/sqlite/sqlite3.c:81709: error: invalid use of incomplete type 'struct ExprList_item' ../3rdparty/sqlite/sqlite3.c:81690: error: forward declaration of 'struct ExprList_item' ../3rdparty/sqlite/sqlite3.c:81709: error: invalid use of incomplete type 'struct ExprList_item' ../3rdparty/sqlite/sqlite3.c:81690: error: forward declaration of 'struct ExprList_item' ../3rdparty/sqlite/sqlite3.c:81722: error: cannot convert 'SrcList::SrcList_item [1]' to 'SrcList_item*' in assignment ../3rdparty/sqlite/sqlite3.c:81722: error: cannot increment a pointer to incomplete type 'SrcList_item' ` ` ` ../3rdparty/sqlite/sqlite3.c:92650: error: expected unqualified-id before '!' token ../3rdparty/sqlite/sqlite3.c:92650: error: expected `)' before '!' token ../3rdparty/sqlite/sqlite3.c: At global scope: ../3rdparty/sqlite/sqlite3.c:94574: error: redefinition of 'char* sqlite3_temp_directory' ../3rdparty/sqlite/sqlite3.c:4333: error: 'char* sqlite3_temp_directory' previously declared here ../3rdparty/sqlite/sqlite3.c: In function 'int createCollation(sqlite3*,void*,int (*)(void*,const void*,const void*),void (*)(void*))': ../3rdparty/sqlite/sqlite3.c:95928: error: invalid conversion from 'void*' to 'CollSeq*' ../3rdparty/sqlite/sqlite3.c: In function 'int openDatabase(const char*,sqlite3**,unsigned int,const char*)': ../3rdparty/sqlite/sqlite3.c:96095: error: invalid conversion from 'void*' to 'sqlite3*' ../3rdparty/sqlite/sqlite3.c:96180: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c:96182: warning: deprecated conversion from string constant to 'char*' ../3rdparty/sqlite/sqlite3.c: In function 'int sqlite3_open16(const void*,sqlite3**)': ../3rdparty/sqlite/sqlite3.c:96310: error: invalid conversion from 'con ---------------------------------------------------------------------------------- $vim src/3rdparty/sqlite/sqlite3.c struct SrcList { i16 nSrc; /* Number of tables or subqueries in the FROM clause */ i16 nAlloc; /* Number of entries allocated in a[] below */ struct SrcList_item { char *zDatabase; /* Name of database holding this table */ char *zName; /* Name of the table */ char *zAlias; /* The "B" part of a "A AS B" phrase. zName is the "A" */ Table *pTab; /* An SQL table corresponding to zName */ Select *pSelect; /* A SELECT statement used in place of a table name */ u8 isPopulated; /* Temporary table associated with SELECT is populated */ u8 jointype; /* Type of join between this able and the previous */ u8 notIndexed; /* True if there is a NOT INDEXED clause */ int iCursor; /* The VDBE cursor number used to access this table */ Expr *pOn; /* The ON clause of a join */ IdList *pUsing; /* The USING clause of a join */ Bitmask colUsed; /* Bit N (1<<N) set if column N of pTab is used */ char *zIndex; /* Identifier from "INDEXED BY <zIndex>" clause */ Index *pIndex; /* Index structure corresponding to zIndex,if any */ } a[1]; /* One entry for each identifier on the list */ }; SQLITE_PRIVATE int sqlite3IndexedByLookup(Parse *,struct SrcList_item *); SrcList *pSrc = va_arg(ap,SrcList*); int k = va_arg(ap,int); struct SrcList_item *pItem = (struct SrcList_item *)&pSrc->a[k]; to 9300 struct ExprList_item { 9301 Expr *pExpr; /* The list of expressions */ 9302 char *zName; /* Token associated with this expression */ 9303 char *zSpan; /* Original text of the expression */ 9304 u8 sortOrder; /* 1 for DESC or 0 for ASC */ 9305 u8 done; /* A flag to indicate when processing is finished */ 9306 u16 iCol; /* For ORDER BY,column number in result set */ 9307 u16 iAlias; /* Index into Parse.aAlias[] for zName */ 9308 } *a; /* One entry for each expression */ 9309 9310 struct ExprList { 9311 int nExpr; /* Number of expressions on the list */ 9312 int nAlloc; /* Number of entries allocated below */ 9313 int iECursor; /* VDBE Cursor associated with this ExprList */ 9314 ExprList_item *a; /* One entry for each expression */ 9315 }; 6355 struct _ht { /* the hash table */ 6356 int count; /* Number of entries with this hash */ 6357 HashElem *chain; /* Pointer to first entry with this hash */ 6358 } *ht; 6359 6360 struct Hash { 6361 unsigned int htsize; /* Number of buckets in the hash table */ 6362 unsigned int count; /* Number of entries in this table */ 6363 HashElem *first; /* The first element of the array */ 6364 _ht *ht; 6365 }; ---------------------------------------------------------------------------------- 36961 struct MemPage { 36962 u8 isInit; /* True if previously initialized. MUST BE FIRST! */ 36963 u8 nOverflow; /* Number of overflow cell bodies in aCell[] */ 36964 u8 intKey; /* True if intkey flag is set */ 36965 u8 leaf; /* True if leaf flag is set */ 36966 u8 hasData; /* True if this page stores data */ 36967 u8 hdrOffset; /* 100 for page 1. 0 otherwise */ 36968 u8 childPtrSize; /* 0 if leaf==1. 4 if leaf==0 */ 36969 u16 maxLocal; /* Copy of BtShared.maxLocal or BtShared.maxLeaf */ 36970 u16 minLocal; /* Copy of BtShared.minLocal or BtShared.minLeaf */ 36971 u16 cellOffset; /* Index in aData of first cell pointer */ 36972 u16 nFree; /* Number of free bytes on the page */ 36973 u16 nCell; /* Number of cells on this page,local and ovfl */ 36974 u16 maskPage; /* Mask for page offset */ 36975 struct _OvflCell { /* Cells that will not fit on aData[] */ 36976 u8 *pCell; /* Pointers to the body of the overflow cell */ 36977 u16 idx; /* Insert this cell before idx-th non-overflow cell */ 36978 } aOvfl[5]; 36979 BtShared *pBt; /* Pointer to BtShared that this page is part of */ 36980 u8 *aData; /* Pointer to disk image of the page data */ 36981 DbPage *pDbPage; /* Pager page handle */ 36982 Pgno pgno; /* Page number for this page */ 36983 }; to " 36975 struct _OvflCell { /* Cells that will not fit on aData[] */ 36976 u8 *pCell; /* Pointers to the body of the overflow cell */ 36977 u16 idx; /* Insert this cell before idx-th non-overflow cell */ 36978 } aOvfl[5]; 36961 struct MemPage { 36962 u8 isInit; /* True if previously initialized. MUST BE FIRST! */ 36963 u8 nOverflow; /* Number of overflow cell bodies in aCell[] */ 36964 u8 intKey; /* True if intkey flag is set */ 36965 u8 leaf; /* True if leaf flag is set */ 36966 u8 hasData; /* True if this page stores data */ 36967 u8 hdrOffset; /* 100 for page 1. 0 otherwise */ 36968 u8 childPtrSize; /* 0 if leaf==1. 4 if leaf==0 */ 36969 u16 maxLocal; /* Copy of BtShared.maxLocal or BtShared.maxLeaf */ 36970 u16 minLocal; /* Copy of BtShared.minLocal or BtShared.minLeaf */ 36971 u16 cellOffset; /* Index in aData of first cell pointer */ 36972 u16 nFree; /* Number of free bytes on the page */ OvflCell aOvfl[5]; 36979 BtShared *pBt; /* Pointer to BtShared that this page is part of */ 36980 u8 *aData; /* Pointer to disk image of the page data */ 36981 DbPage *pDbPage; /* Pager page handle */ 36982 Pgno pgno; /* Page number for this page */ 36983 }; ---------------------------------------------------------------------------------- struct VdbeFunc { FuncDef *pFunc; /* The definition of the function */ int nAux; /* Number of entries allocated for apAux[] */ struct AuxData { void *pAux; /* Aux data for the i-th argument */ void (*xDelete)(void *); /* Destructor for the aux data */ } apAux[1]; /* One slot for each function argument */ }; to struct AuxData { void *pAux; /* Aux data for the i-th argument */ void (*xDelete)(void *); /* Destructor for the aux data */ } apAux[1]; struct VdbeFunc { FuncDef *pFunc; /* The definition of the function */ int nAux; /* Number of entries allocated for apAux[] */ AuxData apAux[1]; /* One slot for each function argument */ }; ---------------------------------------------------------------------------------- struct IdList_item { char *zName; /* Name of the identifier */ int idx; /* Index in some Table.aCol[] of a column named zName */ } *a; struct IdList { IdList_item *a; int nId; /* Number of identifiers on the list */ int nAlloc; /* Number of entries allocated for a[] below */ }; struct yColCache { int iTable; /* Table cursor number */ int iColumn; /* Table column number */ u8 affChange; /* True if this register has had an affinity change */ u8 tempReg; /* iReg is a temp register that needs to be freed */ int iLevel; /* Nesting level */ int iReg; /* Reg with value of this column. 0 means none. */ int lru; /* Least recently used entry has the smallest value */ } aColCache[SQLITE_N_COLCACHE]; /* One for each column cache entry */ struct AggInfo_col { /* For each column used in source tables */ Table *pTab; /* Source table */ int iTable; /* Cursor number of the source table */ int iColumn; /* Column number within the source table */ int iSorterColumn; /* Column number in the sorting index */ int iMem; /* Memory location that acts as accumulator */ Expr *pExpr; /* The original expression */ } *aCol; ---------------------------------------------------------------------------------- struct WhereLevel { WherePlan plan; /* query plan for this element of the FROM clause */ int iLeftJoin; /* Memory cell used to implement LEFT OUTER JOIN */ int iTabCur; /* The VDBE cursor used to access the table */ int iIdxCur; /* The VDBE cursor used to access pIdx */ int addrBrk; /* Jump here to break out of the loop */ int addrNxt; /* Jump here to start the next IN combination */ int addrCont; /* Jump here to continue with the next loop cycle */ int addrFirst; /* First instruction of interior of the loop */ u8 iFrom; /* Which entry in the FROM clause */ u8 op,p5; /* Opcode and P5 of the opcode that ends the loop */ int p1,p2; /* Operands of the opcode used to ends the loop */ union { /* Information that depends on plan.wsFlags */ struct { int nIn; /* Number of entries in aInLoop[] */ struct InLoop { int iCur; /* The VDBE cursor used by this IN operator */ int addrInTop; /* Top of the IN loop */ } *aInLoop; /* Information about each nested IN operator */ } in; /* Used when plan.wsFlags&WHERE_IN_ABLE */ } u; /* The following field is really not part of the current level. But ** we need a place to cache virtual table index information for each ** virtual table in the FROM clause and the WhereLevel structure is ** a convenient place since there is one WhereLevel for each FROM clause ** element. */ sqlite3_index_info *pIdxInfo; /* Index info for n-th source table */ }; to ' struct InLoop { int iCur; /* The VDBE cursor used by this IN operator */ int addrInTop; /* Top of the IN loop */ } *aInLoop; /* Information about each nested IN operator */ struct WhereLevel { WherePlan plan; /* query plan for this element of the FROM clause */ int iLeftJoin; /* Memory cell used to implement LEFT OUTER JOIN */ int iTabCur; /* The VDBE cursor used to access the table */ int iIdxCur; /* The VDBE cursor used to access pIdx */ int addrBrk; /* Jump here to break out of the loop */ int addrNxt; /* Jump here to start the next IN combination */ int addrCont; /* Jump here to continue with the next loop cycle */ int addrFirst; /* First instruction of interior of the loop */ u8 iFrom; /* Which entry in the FROM clause */ u8 op,p2; /* Operands of the opcode used to ends the loop */ union { /* Information that depends on plan.wsFlags */ struct { int nIn; /* Number of entries in aInLoop[] */ InLoop *aInLoop; /* Information about each nested IN operator */ } in; /* Used when plan.wsFlags&WHERE_IN_ABLE */ } u; /* The following field is really not part of the current level. But ** we need a place to cache virtual table index information for each ** virtual table in the FROM clause and the WhereLevel structure is ** a convenient place since there is one WhereLevel for each FROM clause ** element. */ sqlite3_index_info *pIdxInfo; /* Index info for n-th source table */ }; 90017 struct LikeOp { 90018 Token eOperator; /* "like" or "glob" or "regexp" */ 90019 int nott; //amended 90020 }; 76216 int nByte = (wsdAutoext.nExt+1)*sizeof(wsdAutoext.aExt[0]); 76217 void (**aNew)(void); 76218 aNew = (void (**)())sqlite3_realloc(wsdAutoext.aExt,nByte); 76219 if( aNew==0 ){ $make past!

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


SQLite架构简单,又有Json计算能力,有时会承担Json文件/RESTful的计算功能,但SQLite不能直接解析Json文件/RESTful,需要用Java代码硬写,或借助第三方类库,最后再拼成insert语句插入数据表,代码非常繁琐,这里就不展示了。参考前面的代码可知,入库的过程比较麻烦,不能只用SQL,还要借助Java或命令行。SPL是现代的数据计算语言,属于简化的面向对象的语言风格,有对象的概念,可以用点号访问属性并进行多步骤计算,但没有继承重载这些内容,不算彻底的面向对象语言。...
使用Python操作内置数据库SQLite以及MySQL数据库。
破解微信数据库密码,用python导出微信聊天记录
(Unity)SQLite 是一个软件库,实现了自给自足的、无服务器的、零配置的、事务性的 SQL 数据库引擎。SQLite 是在世界上最广泛部署的 SQL 数据库引擎。SQLite 源代码不受版权限制。本教程将告诉您如何使用 SQLite 编程,并让你迅速上手。.................................
安卓开发,利用SQLite实现登陆注册功能
相比大多数数据库而言,具有等优势,广泛应用于、等领域。
有时候,一个项目只有一个数据库,比如只有SQLite,或者MySQL数据库,那么我们只需要使用一个固定的数据库即可。但是一个项目如果写好了,有多个用户使用,但是多个用户使用不同的数据库,这个时候,我们就需要把软件设计成可以连接多个数据库的模式,用什么数据库,就配置什么数据库即可。4.Users实体类,这个实体类要和数据库一样的,形成一一对应的关系。11.Sqlite数据库,需要在代码里面创建数据库,建立表,再建立数据。8.我们开启MySQL数据库,然后进行调试,看程序的结果。2.安装SqlSugar。
基于Android的背单词软件,功能强大完整。
SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统。说白了就是使用起来轻便简单,
Android的简单购物车案例
SQLite,是一款轻型的数据库,是遵守ACID的关系型数据库管理系统,它包含在一个相对小的C库中。它是D.RichardHipp建立的公有领域项目。它的设计目标是嵌入式的,而且已经在很多嵌入式产品中使用了它,它占用资源非常的低,在嵌入式设备中,可能只需要几百K的内存就够了。它能够支持Windows/Linux/Unix等等主流的操作系统,同时能够跟很多程序语言相结合,比如 Tcl、C#、PHP、Java等,还有ODBC接口,同样比起Mysql、PostgreSQL这两款开源的世界著名数据库...
Qt设计较为美观好看的登录注册界面(包含SQLite数据库以及TCP通信的应用)
SQLite是用C语言开发的跨平台小型数据库,可嵌入其他开发语言,也可在单机执行。SPL是用Java开发的跨平台的数据计算语言,可嵌入Java,可在单机执行,可以数据计算服务的形式被远程调用。两者的代码都是解释执行的。...
新建库.openDATA_BASE;新建表createtableLIST_NAME(DATA);语法:NAME关键字...<用逗号分割>删除表droptableNAME;查看表.schema查看表信息新建数据insertintoLIST_NAMEvalues();语法:CLASS,PARAMETER...,CLASS是类别,PARAMETER是参数<用逗号分割新建的
importsqlite3classDemo01:def__init__(self):self.conn=sqlite3.connect("sql_demo_001.db")self.cursor1=self.conn.cursor()self.cursor1.execute("select*fromtable_001wherename=?andid=?",('ssss&#0
 在客户端配置文件<configuration>节点下,添加:<connectionStrings>      <add name="localdb" connectionString="Data Source=config/local.db;Version=3;UseUTF16Encoding=True;" providerName="System.Data.SQLite.SQLiteFactory"/&g
提到锁就不得不说到死锁的问题,而SQLite也可能出现死锁。下面举个例子:连接1:BEGIN(UNLOCKED)连接1:SELECT...(SHARED)连接1:INSERT...(RESERVED)连接2:BEGIN(UNLOCKED)连接2:SELECT...(SHARED)连接1:COMMIT(PENDING,尝试获取EXCLUSIVE锁,但还有SHARED锁未释放,返回SQLITE_BUSY)连接2:INSERT...
SQLite是一种嵌入式数据库,它的数据库就是一个文件。由于SQLite本身是C写的,而且体积很小,所以,经常被集成到各种应用程序中,甚至在iOS和Android的App中都可以集成。Python就内置了SQLite3,所以,在Python中使用SQLite,不需要安装任何东西,直接使用。在使用SQLite前,我们先要搞清楚几个概念:表
设计思想————首先要确定有几个页面、和每个页面的大致布局由于是入门,我也是学习了不是很长的时间,所以项目比较low。。。。第一个页面,也就是打开APP的首页面:今天这个博客,先实现添加功能!:首先对主界面进行布局:其中activity_main.xml的代码为<?xmlversion="1.0"encoding="