Hi, I am using Qt 4.7.1. I compiled it with buildroot. If I run the Qt application without -qws option, I got the following error message: QWSSocket::connectToLocalFile could not connect:: Connection refused If I run with -qws option, everything seems OK. I can run mousecalibration and all the demos as well as examples. My problem is when I quit the qt application, I always receive a "Segmentation fault" message. Can any one have solution for this issue? My configuration is: export TSLIB_TSEVENTTYPE=INPUT export TSLIB_CONSOLEDEVICE=none export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_TSDEVICE=/dev/input/ts export TSLIB_CALIBFILE=/etc/pointercal export TSLIB_CONFFILE=/etc/ts.conf export TSLIB_PLUGINDIR=/usr/lib/ts export LD_LIBRARY_PATH=/usr/lib export QWS_MOUSE_PROTO=tslib:/dev/input/ts export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190 All the path are correct. Thank you very much Bao
Qt application exit with segmentation fault
I found answer here http://bugreports.qt.nokia.com/browse/QTBUG-7564 It is in QVariantAnimation::registerInterpolator. "Instrumenting the code shows that the static destructor for the variable registeredInterpolators is being called in incorrect order. Specifically, registeredInterpolators exists in libQtCore and is destroyed before libQtGui has completed unloading. Suggest fixing this with a simple if (!interpolators) return;"
Hi Leo, Thank for your reply. Where can I put those line into? When I put that to main.cpp, I got the error when compiling: main.cpp:51: error: 'interpolators' was not declared in this scope main.cpp:52: error: return-statement with no value, in function returning 'int'