please help
I'v solved a part by myself, change configure option into -qt-mouse-pc and delete -qt-kbd-usb
change enviroment variable:
export QWS_MOUSE_PROTO: MouseMan:/dev/input/mouse0
(I used usb mouse)
but the keyboard remain not work!
the shell prompt that:
embedded/qkbdusb_qws.cpp: In method `QWSUsbKeyboardHandler::QWSUsbKeyboardHandler(const QString &)':
embedded/qkbdusb_qws.cpp:79: parse error before `('
embedded/qkbdusb_qws.cpp:80: syntax error before `{'
embedded/qkbdusb_qws.cpp: In method `QWSUsbKeyboardHandler::~QWSUsbKeyboardHandler()':
embedded/qkbdusb_qws.cpp:89: cannot declare member function `QWSUsbKbPrivate::QWSUsbKbPrivate' within `QWSUsbKeyboardHandler'
embedded/qkbdusb_qws.cpp:89: syntax error before `:'
embedded/qkbdusb_qws.cpp:94: ANSI C++ forbids declaration `notifier' with no type
embedded/qkbdusb_qws.cpp:94: `fd' undeclared (first use this function)
embedded/qkbdusb_qws.cpp:94: (Each undeclared identifier is reported only once
embedded/qkbdusb_qws.cpp:94: for each function it appears in.)
embedded/qkbdusb_qws.cpp:94: invalid use of `this' in non-member function
embedded/qkbdusb_qws.cpp:94: initialization to `int' from `QSocketNotifier *' lacks a cast
embedded/qkbdusb_qws.cpp:95: invalid use of `this' in non-member function
embedded/qkbdusb_qws.cpp:96: ANSI C++ forbids declaration `connect' with no type
embedded/qkbdusb_qws.cpp:96: initializer list being treated as compound expression
embedded/qkbdusb_qws.cpp:97: parse error before `}'
embedded/qkbdusb_qws.cpp:101: cannot declare member function `QWSUsbKbPrivate::QWSUsbKbPrivate' within `QWSUsbKeyboardHandler'
embedded/qkbdusb_qws.cpp:101: syntax error before `{'
embedded/qkbdusb_qws.cpp:116: cannot declare member function `QWSUsbKbPrivate::readKeyboardData' within `QWSUsbKeyboardHandler'
embedded/qkbdusb_qws.cpp:116: syntax error before `{'
embedded/qkbdusb_qws.cpp:118: `event' undeclared (first use this function)
embedded/qkbdusb_qws.cpp:119: parse error before `if'
embedded/qkbdusb_qws.cpp:122: parse error before `if'
embedded/qkbdusb_qws.cpp:134: syntax error before `->'
In file included from .moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:10,
from embedded/qkbdusb_qws.cpp:138:
../include/qmetaobject.h: In method `int QWSUsbKeyboardHandler::QConnection::numArgs() const':
../include/qmetaobject.h:82: parse error before `;'
../include/qmetaobject.h:164: parse error before `;'
../include/qmetaobject.h:261: cannot declare member function `QWSUsbKeyboardHandler::QMetaObject::signalOffset' within `QWSUsbKeyboardHandler'
../include/qmetaobject.h:261: syntax error before `{'
../include/qmetaobject.h:265: cannot declare member function `QWSUsbKeyboardHandler::QMetaObject::propertyOffset' within `QWSUsbKeyboardHandler'
../include/qmetaobject.h:265: syntax error before `{'
In file included from ../include/private/qucom_p.h:55,
from ../include/private/qucomextra_p.h:54,
from .moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:13,
from embedded/qkbdusb_qws.cpp:138:
../include/quuid.h:63: parse error before `;'
In file included from ../include/private/qucomextra_p.h:54,
from .moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:13,
from embedded/qkbdusb_qws.cpp:138:
../include/private/qucom_p.h:123: parse error before `;'
../include/private/qucom_p.h:193: parse error before `}'
../include/private/qucom_p.h:201: ANSI C++ forbids declaration `QUParameter' with no type
../include/private/qucom_p.h:201: parse error before `*'
../include/private/qucom_p.h:201: warning: non-static const member `const int QWSUsbKeyboardHandler::QUMethod::QUParameter' in class without a constructor
../include/private/qucom_p.h:273: cannot declare member function `QWSUsbKeyboardHandler::QUType::isEqual' within `QWSUsbKeyboardHandler'
../include/private/qucom_p.h:273: syntax error before `{'
../include/private/qucom_p.h:278: cannot declare member function `QWSUsbKeyboardHandler::QUType::check' within `QWSUsbKeyboardHandler'
../include/private/qucom_p.h:278: syntax error before `{'
../include/private/qucom_p.h:292: parse error before `;'
../include/private/qucom_p.h:312: parse error before `;'
../include/private/qucom_p.h:331: parse error before `;'
../include/private/qucom_p.h:350: parse error before `;'
../include/private/qucom_p.h:369: parse error before `;'
../include/private/qucom_p.h:388: parse error before `;'
../include/private/qucom_p.h:408: parse error before `;'
../include/private/qucom_p.h:428: parse error before `;'
../include/private/qucom_p.h:449: parse error before `;'
In file included from .moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:13,
from embedded/qkbdusb_qws.cpp:138:
../include/private/qucomextra_p.h:92: parse error before `;'
In file included from embedded/qkbdusb_qws.cpp:138:
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:21: cannot declare member function `QWSUsbKbPrivate::className' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:21: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:25: cannot declare member `QWSUsbKbPrivate::metaObj' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:25: assignment (not initialization) in declaration
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:30: cannot declare member function `QWSUsbKbPrivate::tr' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:30: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:38: cannot declare member function `QWSUsbKbPrivate::trUtf8' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:38: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:49: cannot declare member function `QWSUsbKbPrivate::staticMetaObject' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:49: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:52: no method `QWSUsbKeyboardHandler::QObject::staticMetaObject'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:57: ANSI C++ forbids declaration `metaObj' with no type
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:65: initialization to `int' from `QWSUsbKeyboardHandler::QMetaObject *' lacks a cast
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:66: syntax error before `.'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:71: cannot declare member function `QWSUsbKbPrivate::qt_cast' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:71: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:78: cannot declare member function `QWSUsbKbPrivate::qt_invoke' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:78: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:88: cannot declare member function `QWSUsbKbPrivate::qt_emit' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:88: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:94: cannot declare member function `QWSUsbKbPrivate::qt_property' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:94: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:98: cannot declare member function `QWSUsbKbPrivate::qt_static_property' within `QWSUsbKeyboardHandler'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:98: syntax error before `{'
.moc/release-shared-mt-emb-arm/qkbdusb_qws.moc:26: warning: `class QWSUsbKeyboardHandler::QMetaObjectCleanUp cleanUp_QWSUsbKbPrivate' defined but not used
I Love Open Source Software!
This post has been edited 3 times, last edit by "liubaosen" (Nov 21st 2007, 3:28am)