首页| 论坛| 消息

标题:请指教触摸屏问题!!
作者:yu2007tian
日期:2006-12-20 21:34
内容:

我用的S3C2410的开发板,触摸屏已经校准,开发板也可用运行板子自带的程序,并可以用触摸屏控制,但是我将qt-embedded-2.3.7或qt-x11-2.3.2中的examples中的程序下载到开发板上,就出现如下结果:
#.\hello -qws
Open config file error!
Open ts_config reading error for sitsang touchscreen
在触摸屏上显示有一个鼠标箭头,但是一点击就消失了,触摸屏就不能使用了!
请问这什么原因啊?应该如何解决啊?谢谢指教!!!


#1 [fairyredfox 01-03 11:03]
将$QTEDIR/configs/ 下将linux-arm-g++-shared中的
SYSCONF_LIBS = -lm 添加 -lts
#SYSCONF_LINK_SHLIB = arm-linux-gcc 添加 –lts
cp -f ../qconfig-large.h src/tools/qconfig-my.h
qconfig-large.h
将$QTEDIR/src/kernel下的qwsmouse_qws.cpp中的所有/etc/pointercal修改为
/tmp/ts-calib.congf

/****************************************************************************
** $Id: qt/src/tools/qconfig-large.h 2.3.10 edited 2005-01-24 $
**
** Qt/Embedded "large" configuration definition.
**
** Copyright (C) 2000-2002 Trolltech AS.All rights reserved.
**
** This file is part of the tools module of the Qt GUI Toolkit.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
** licenses may use this file in accordance with the Qt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
** information about Qt Commercial License Agreements.
** See http://www.trolltech.com/gpl/ for GPL licensing information.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
**
**********************************************************************/
#ifndef QT_H
#endif // QT_H
#ifndef QT_NO_CODECS
#define QT_NO_CODECS
#endif
#define QT_NO_UNICODETABLES
#define QT_NO_IMAGEIO_BMP
#define QT_NO_IMAGEIO_PPM
#define QT_NO_ASYNC_IO
#define QT_NO_ASYNC_IMAGE_IO
#define QT_NO_FREETYPE
#define QT_NO_BDF
#define QT_NO_FONTDATABASE
#define QT_NO ..

回复 发表
主题 版块