EGalax touchscreen and Qt5
-
yep sid
-
Dear Sid,
Is there any method along with this. please post me Sid -
Do following steps:
@
export ac_cv_func_malloc_0_nonnull=yes
export CC=powerpc-wrs-linux-gnu-ppc_603e-glibc_std-gcc
export CXX=powerpc-wrs-linux-gnu-ppc_603e-glibc_std-g++
./autogen.sh
./configure --host=powerpc-603e-linux --target=powerpc --prefix=/usr/local
make
make install
@Make necessary changes in line number 2,3,5 as per your RPI tool chain. If you get a problem about an undefined reference to rpl_malloc, then only you need to do line number 1.
-
dear sid
i installed the tslib on my rpi when i run ts_test and ts_calibrate
i got the followingcouldnot load loaded pthres
No raw modules
ts_config :Sucess -
Copy the pthres.so from your host pc to target pc(RPI)
In host pc it is located at : tslib-1.0/plugins/.libs -
Hai sid,
I got the same errors even though i coped the pthe.so file on my rpi lib . i loss my patinece and i stoped my work. i think egalax cannot be work for rpi with qt5 application.
Thank you very much for your support. -
Dear Tannyveer,
Do not loose hope.
Have you tried setting TSLIB related environment variables?? If not set these:
@
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/ttyS1
export TSLIB_PLUGINDIR=/home/Sid/tslib_plugins
export TSLIB_CONFFILE=/home/Sid/ts.conf
@Modify the plugin dir path as per your system.
-
Hi Sid,
I set these environment in /root/.bashrc.
but still i got the same problem. -
Do one thing to check whether these environment variables are getting set properly or not. check with echo command:
@echo $TSLIB_PLUGINDIR@
If this gives correct value then its fine, or try setting the same in .profile file.
-
@Sidii
Hi sidii, i meet a similar problem.
when my application startup, i click with finger on the main window , there are event response, popup another widget and a whiter cursor on the left top position.
then i try to click(with finger) the widget there is no response. if i move the white cursor to the widget, then click everything is ok.
it seems that click on the widget invoke the event on main window. as there is still another black cursor underground. what may be the problem? thank you!
ENV: QT5.7.1 +raspberry pi3 , cross compiled ,host : ubuntu 16.04
Tslib installed on rpi3 directory and sync it to the host.