Qt High DPI probelm - qt

I am developing a Qt program and I stuck with dpi awareness.
I searched for dpi settings for Qt and added this line to my program.
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
It is working fine when I set the scale of the windows to 150 and 170.
But it failed when I set it as 125.
This is what I got:
Any solution will be appreciated.
Thank you.

Related

JavaFX on RPI (raspberry PI) freezes after system time change

I have strange problem with JavaFX on RPI platform...
I am using raspberry PI RPI3B (latest Raspbian) with JavaFX 11.0.2 (JavaFX armv6hf SDK, Embedded armv6hf). I have found out that JavaFX application seems to be sensitive to system clock change. If I change system clock 10 seconds back, graphic of my application freezes for 10 seconds.
Any ideas what could be wrong and how to solve this problem?
I have tried also several examples from internet - the same problem.
Thanks in advance.

Windows 10 IoT Core change DPI scaling

Is it possible somehow, to cgange the DPI scaling setting on Windows 10 IoT Core? On my Dragonboard 410c it is set to 150%, so UI controls are really large.
The DPI setting has been deprecated in Windows IoT Core. But generally you can change the resolution of the device(Raspberry Pi & MinnowBoard) via following options:
Run SetDisplayResolution command to adjust the resolution of a display connected to your Windows 10 IoT Core device.
Change the display resolution via Device Portal.
Edit the config.txt on SD card of your device.You can read more about this here.
For Dragonboard 410c,you could take a look at the Windows IoT Display Drivers Guide here(https://developer.qualcomm.com/download/sd410/display-drivers-config-guide-windows10-iot.pdf). The Qualcomm DragonBoard 410c Windows 10 IoI-Core image only supports 1280x720 screen resolution. It has been noted that is possible to modify the BSP so as to support the higher resolution 1080p, but no other resolution.

Application does not display anything on LCD on arm board

I have cross compiled Qt 4.7.4 for an ARM board successfully.
I have created a sample Qt application for an ARM board and cross compiled that as well.
When I run the app on the actual hardware, I do not see the UI on the LCD screen (but could see the logs provided using qDebug).
At this point, if I reboot the board, the UI of the sample app becomes visible for a second, just before the screen turns off, due to the reboot.
Do you have any suggestions regarding this problem. What could be the possible causes for this?
Regards,
Mohan
I did solve this problem.
Need to change the backlight intensity. Set it to the maximum and UI is visible on the LCD screen.
No changes/update required anything related to Qt.

How to change intel BIOS screen from Ubuntu 11.04

I have dell voestro 220s series desktop computer with BIOS version : 1.2.2. Ubuntu 11.04 is installed on it. At the time of system boot it shows Dell voestro and Intel logo on the screen. I want to change this intel and dell voestro BIOS splash screen. I got the solution for widows system but I want to change it from my ubuntu 11.04 system. How is it possible ?
Thanks
amar
I believe the only way to do this is by changing the BIOS. Either you dump the original BIOS image (using for example a Linux live image with flashrom, like sysrescuecd) and open it with a HexEditor to search where the image is located (it's probably a Bitmap image), or you can consider changing the BIOS into an open source one (like Coreboot + SeaBIOS) and rebuild them to include a custom image (see this page for more info).
I should warn you that neither option is easy. The first involves low level "hacking" and tinkering (and is possibly dangerous), while the second depends mainly on if your motherboard is supported (unfortunately, most motherboards for Intel processors aren't) and how familiar you are with compiling stuff in Linux.
Hope this helps. =)

Using the VLC backend with phonon in Qt (Windows)

I'm trying to make an media player application with Qt and the phonon library.
Everything goes well when I'm playing a SD DivX, but when I'm trying to play a 12 GB HD MKV it's freezing (with a I7, 8GB RAM, NV GTX260).
Currently I'm using the default backend (phonon_ds94.dll). I would like to use the phonon_vlc.dll one but I don't know how to make the switch. Any one have an idea ?
Thank you,
Sébastien

Resources