Daily Qt sapience - Reading ras files from sequential devices not supported  

I have written a library to get JPG files from a webserver continously. It worked fine with Qt 4.6.3 but with the new Qt 4.7.0 I have get the following error for every frame:


Reading ras files from sequential devices not supported


The workaround is the following:

Turn off the automatic format detection, and set the file format explititly:


imageReader->setAutoDetectImageFormat(false);
imageReader->setFormat("JPG";);


And no more warnings :)
[ hozzászólás ] ( 1 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 555 )
Using QtCreator to develop Symbian applications on Linux 

I have done some experiences in Qt application development to Symbian platform on Linux host in the past days. Setting up the development enviroment is quite easy, but the QtCreator made me some headache with its own strange enviroment variable handling.

Read more...
[ hozzászólás ] ( 26 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 466 )
Daily Qt sapience - Qt Embedded and tslib 

I have stucked several times with touchscreens and Qt.
My problem's main reason is that I compiled the Qt and tslib outside the openembedded, because I did not liked the Openebmedded's Qt building method. (Build Qt twice once cross compiled, once for the host.)

I have stucked several times in the following situation:
ts_calibrate calibrates, and ts_test works fine, but my Qt app cursor's moves inverse, or it too sensitive or whatever.

Well it seems to be that the various tslibs do not like another,
and their configuration files are not interchangable. And the best one: Qt app likes to work only with the tslib with what it had been compiled.

So if you ran into the similar problem:

Clean up all your existing tslib stuff:

rm -rf /usr/lib/ts
rm -rf /usr/lib/libts*
rm -rf /usr/bin/ts_*


And place your own compiled tslib's binaries, and plugins there.

After then set the following enviroment variables properly of coures:


export TSLIB_TSEVENTTYPE=INPUT
export TSLIB_CONSOLEDEVICE=none
export TSLIB_FBDEVICE=/dev/fb0
export TSLIB_TSDEVICE=/dev/input/touchscreen0
export TSLIB_CALIBFILE=/etc/pointercal
export TSLIB_CONFFILE=/etc/ts.conf
export TSLIB_PLUGINDIR=/usr/local/tslib/lib/
export LD_LIBRARY_PATH=/usr/local/tslib/lib


Run ts_calibrate

And finally run your Qt app with -qws option.

[ hozzászólás ] ( 14 megtekintés ) [ 0 trackbackek ] permalink ( 3 / 595 )
IBM STB02501 pinout 

I have managed to generate a pad layout picture for the IBM STB02051Set top Box Soc from this BSDL file.



I will desolder this CPU from my Amino Aminet 110 to trace the JTAG pins.
[ hozzászólás ] ( 14 megtekintés ) [ 0 trackbackek ] permalink ( 3.1 / 562 )
Broadcom BCM6348 pinout 

I have generated the pinout image for the Broadcom BCM6348 BGA package:



The input source was:
http://www.f-x.fr/wikini/wakka.php?wiki=Bcm6348PinOut

The generation was done with a small Qt program:
http://balubati.atw.hu/blog/images/pinoutviewer.tar.gz

A pinout image for a smaller package can be found here:


http://pudeev.livejournal.com/37410.html


[ hozzászólás ] ( 8 megtekintés ) [ 0 trackbackek ] permalink ( 2.9 / 450 )

<< <Előző | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | Következő> >>

 
számláló