• 5349阅读
  • 1回复

请指教触摸屏问题!! [复制链接]

上一主题 下一主题
离线yu2007tian
 
只看楼主 倒序阅读 楼主  发表于: 2006-12-20
我用的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

在触摸屏上显示有一个鼠标箭头,但是一点击就消失了,触摸屏就不能使用了!
请问这什么原因啊?应该如何解决啊?谢谢指教!!!
[ 此贴被XChinux在2006-12-24 09:30重新编辑 ]
离线fairyredfox

只看该作者 1楼 发表于: 2007-01-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_TRANSLATION
#define QT_NO_DRAGANDDROP
#define QT_NO_CLIPBOARD
#define QT_NO_SOUND
#define QT_NO_PROPERTIES
#define QT_NO_DNS
#define QT_NO_NETWORKPROTOCOL
#define QT_NO_COLORNAMES
#define QT_NO_TRANSFORMATIONS
#define QT_NO_PRINTER
#define QT_NO_PICTURE
#define QT_NO_ICONVIEW
#define QT_NO_DIAL
#define QT_NO_WORKSPACE
#define QT_NO_TABLE
#define QT_NO_ACTION
#define QT_NO_STYLE_MOTIF
#define QT_NO_STYLE_PLATINUM
//#define QT_NO_FILEDIALOG
#define QT_NO_FONTDIALOG
#define QT_NO_PRINTDIALOG
//#define QT_NO_COLORDIALOG
#define QT_NO_INPUTDIALOG
//#define QT_NO_MESSAGEBOX
#define QT_NO_PROGRESSDIALOG
//#define QT_NO_TABDIALOG
#define QT_NO_WIZARD
#define QT_NO_EFFECTS
快速回复
限100 字节
 
上一个 下一个