2008-05-19 04:17:38 Printing under uClinux by Qt: how?
Konstantin Utkin (RUSSIAN FEDERATION)
On my embedded system I have USB printer, and I can print out *.txt files by "cat ./file > /dev/lp0" command. So that part works successfully.
But under Qt (embedded 3.3.8) there is some strange problems: all of Qt applications (from "examples" folder) lead system to fail with "Instruction fetch misaligned address violation" after clicking "OK" in Setup Printer Dialog. (to be correct, fails on ::close(1) function in "closeAllOpenFds", file qprinter_unix.cpp). Looks like it is not a bug in application or Qt library.
Looks like some kind of "printer registration" needed. But what actually? I use only "evironment variable", like "export PRINTER="/dev/lp0" - maybe there any other commands needed?
2008-05-20 05:38:22 Re: Printing under uClinux by Qt: how?
Yi Li (CHINA)
To debug exceptions, please refer to: http://docs.blackfin.uclinux.org/doku.php?id=debuging_applications&s=exception#analyzing_traces.