PDA

View Full Version : Build QVFB deviceskin.h X11 Lib ?



Thành Viên Mới
8th November 2010, 03:34
when i build QVFB on Ubuntu : /home/hieunt/qtsdk-2010.05/qt/tools/

then error:


../qvfb/qvfb.cpp:52:24: error: deviceskin.h: No such file or directory
../qvfb/qvfb.cpp: In member function ‘void QVFb::init(int, int, int, int, int, const QString&)’:
../qvfb/qvfb.cpp:246: warning: possible problem detected in invocation of delete operator:
../qvfb/qvfb.cpp:246: warning: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: warning: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp:246: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
../qvfb/qvfb.cpp:256: error: ‘DeviceSkinParameters’ was not declared in this scope
../qvfb/qvfb.cpp:256: error: expected ‘;’ before ‘parameters’
../qvfb/qvfb.cpp:258: error: ‘parameters’ was not declared in this scope
../qvfb/qvfb.cpp:258: error: ‘DeviceSkinParameters’ is not a class or namespace
../qvfb/qvfb.cpp:259: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp:260: error: no matching function for call to ‘QVFb::connect(DeviceSkin*&, const char*, QVFb* const, const char*)’
../../include/QtCore/qobject.h:198: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
../../include/QtCore/qobject.h:313: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
../qvfb/qvfb.cpp:278: error: no matching function for call to ‘QVFbX11View::QVFbX11View(int&, int&, int&, int&, QVFbAbstractView::Rotation&, DeviceSkin*&)’
../qvfb/qvfbx11view.h:57: note: candidates are: QVFbX11View::QVFbX11View(int, int, int, int, QVFbAbstractView::Rotation, QWidget*)
../qvfb/qvfbx11view.h:54: note: QVFbX11View::QVFbX11View(const QVFbX11View&)
../qvfb/qvfb.cpp:281: error: no matching function for call to ‘QVFbView::QVFbView(int&, int&, int&, int&, QVFbAbstractView::Rotation&, DeviceSkin*&)’
../qvfb/qvfbview.h:117: note: candidates are: QVFbView::QVFbView(int, int, int, int, QVFbAbstractView::Rotation, QWidget*)
../qvfb/qvfbview.h:114: note: QVFbView::QVFbView(const QVFbView&)
../qvfb/qvfb.cpp:282: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp:285: error: no matching function for call to ‘QVFb::connect(DeviceSkin*&, const char*, QVFbAbstractView*&, const char*)’
../../include/QtCore/qobject.h:198: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
../../include/QtCore/qobject.h:313: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
../qvfb/qvfb.cpp:286: error: no matching function for call to ‘QVFb::connect(DeviceSkin*&, const char*, QVFbAbstractView*&, const char*)’
../../include/QtCore/qobject.h:198: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
../../include/QtCore/qobject.h:313: note: bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
../qvfb/qvfb.cpp:288: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp:290: error: no matching function for call to ‘QVFb::setCentralWidget(DeviceSkin*&)’
../../include/QtGui/qmainwindow.h:141: note: candidates are: void QMainWindow::setCentralWidget(QWidget*)
../qvfb/qvfb.cpp:303: error: no matching function for call to ‘QVFbX11View::QVFbX11View(int, int, int, int&, QVFbAbstractView::Rotation&, DeviceSkin*&)’
../qvfb/qvfbx11view.h:57: note: candidates are: QVFbX11View::QVFbX11View(int, int, int, int, QVFbAbstractView::Rotation, QWidget*)
../qvfb/qvfbx11view.h:54: note: QVFbX11View::QVFbX11View(const QVFbX11View&)
../qvfb/qvfb.cpp:306: error: no matching function for call to ‘QVFbView::QVFbView(int, int, int, int&, QVFbAbstractView::Rotation&, DeviceSkin*&)’
../qvfb/qvfbview.h:117: note: candidates are: QVFbView::QVFbView(int, int, int, int, QVFbAbstractView::Rotation, QWidget*)
../qvfb/qvfbview.h:114: note: QVFbView::QVFbView(const QVFbView&)
../qvfb/qvfb.cpp:307: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp: In member function ‘void QVFb::enableCursor(bool)’:
../qvfb/qvfb.cpp:378: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp: In member function ‘void QVFb::setZoom(double)’:
../qvfb/qvfb.cpp:452: error: invalid use of incomplete type ‘struct DeviceSkin’
../qvfb/qvfb.h:57: error: forward declaration of ‘struct DeviceSkin’
../qvfb/qvfb.cpp: In member function ‘void QVFb::skinConfigChosen(int)’:
../qvfb/qvfb.cpp:791: error: ‘DeviceSkinParameters’ was not declared in this scope
../qvfb/qvfb.cpp:791: error: expected ‘;’ before ‘parameters’
../qvfb/qvfb.cpp:793: error: ‘parameters’ was not declared in this scope
../qvfb/qvfb.cpp:793: error: ‘DeviceSkinParameters’ is not a class or namespace

can you helo me link download X11 Lib for QT? and how to config it