Hallo all, I have compiled OE including QT4.4.3 and/or QT4.6. It works fine except on 7" LCD all fonts are very small (1-2mm) and touch screen works strange. It is properly calibrated via ts_calib and also ts_test works fine but immediately when I start any QT application (including demos)it works strange, small fonts, small buttons. I suspect maybe wrong DPI is being calculated by QT but why. I have tried all env.variables for QWS to set the resolution but it does not help... I use QWS for QT. I was not able to find anything about this issue... thanks, vlado
Qt and toos small fonts / DPI
Check out everything again, what is involved. Sometimes you have to be commented out. In some files, default is 3.5". Maybe it will help further.
problem solved, for 7" LCD (or any other screen) QT mmWidth and mmHeight must be used to force QT/E to calculate the correct DPI for different physical screen size export QWS_DISPLAY=LinuxFb:mmWidthXXX:mmHeightXXX after this all fonts and dialogs looks pretty nice anyhow I am struggling with toushscreen now but this is another issue, it works but QT pointer behaves strange besides calibration
I guess the calibration is based are still on the old standards. Depending on the inheritance must also be adjusted.
Hello ufon, I'm not lucky as you! Using the QWS_DISPLAY variable or using the "-display" option to run the QT demos or example, does not make fonts and dialogs look good. I'm using the QT4 programs compiled with Angstrom. I use: export QWS_DISPLAY=LinuxFb:mmWidth=800:mmHeight=480; designer -qws or: designer -display "LinuxFb:mmWidth=800:mmHeight=480" but with the same results. Have you a new tips for this problem? TIA Clemente.
I also tried export QWS_DISPLAY=LinuxFb:mmWidth=800:mmHeight=480 and also export QWS_DISPLAY=LinuxFb:mmWidth800:mmHeight480 and none of those worked any solution? i also have a big performance proplem on 7" THX
You are supposed to specify REAL width and height of the display in millimeters (hint should have been that parameter starts with mm) and NOT number of pixels. export QWS_DISPLAY=LinuxFB:mmWidth=155:mmHeight=95
BINGO!!! Hello bobris, thank you very much: I was convinced to use the pixel! So the best ratio for my 7" is: export QWS_DISPLAY=LinuxFB:mmWidth=310:mmHeight=190 exactly twice the physical dimension of the screen. @SeppBauer Yes I comfirm! Poor performance with 7" display!
THX pals, the dpi thing works perfect now, Anybody have any idea how to fix the perfotrmance thingy? is it any better with the new LCD and Arngström? Seppo
greato to hear it works now, yes it is in mm not pixel I have still problem with glitchy tousch screen in QT despite perfect calibration in ts_cal. Could somebody sends me his TS and QT environment variables (if it works for you)? I have angstrom baked from openembedded thanks, ufon
Hello ufon, thanks again for the info. I'm in the same situation: ts_test works very well with the touchscreen but QT are too far to align with. TIA Clemente
hi, where did you place "export QWS_DISPLAY=LinuxFB:mmWidth=155:mmHeight=95" ??? On host befor compile qtopia? In /etc/init.d/rcS befor start qtopia? Latter does not work for me, qtopia does not start.
If you start your application from /bin/qt4 file, then edit /bin/qt4 find the line "export QWS_DISPLAY=:1" and type "export QWS_DISPLAY=LinuxFB:mmWidth=155:mmHeight=95" after that line. Or change the original will work too..