huanghu8023 |
2017-03-04 10:53 |
自己回个吧, 看了到源码这一段 void QEGLPlatformIntegration::createInputHandlers() { #if !defined(QT_NO_EVDEV) && (!defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)) m_kbdMgr = new QEvdevKeyboardManager(QLatin1String("EvdevKeyboard"), QString() /* spec */, this); QEvdevMouseManager *mouseMgr = new QEvdevMouseManager(QLatin1String("EvdevMouse"), QString() /* spec */, this); Q_FOREACH (QScreen *screen, QGuiApplication::screens()) { QEGLPlatformCursor *cursor = static_cast<QEGLPlatformCursor *>(screen->handle()->cursor()); if (cursor) cursor->setMouseDeviceDiscovery(mouseMgr->deviceDiscovery()); } new QEvdevTouchScreenHandlerThread(QString() /* spec */, this); #endif }
把 new QEvdevTouchScreenHandlerThread(QString() /* spec */, this); 注示掉 就行了。因为 tslib与这个QT自带的冲突了。
然后还是按上面提到的博文5.5.1的把热插拔的文件添加上。 搞定了。 |
|