Unsolved QT_DEVICE_PIXEL_RATIO is deprecated?
-
Someone know how fix this warnings messages from the original IDLE of Python.
Note: don't happened on PyCharm -
@Black-Cat IDLE is not a Qt application, so the message can't come from IDLE. I guess you get this message if you start your Python/Qt application?
Which OS?
Which Qt version?
Do you set QT_DEVICE_PIXEL_RATIO variable somewhere? -
Yes, when I start the original IDLE of Python, this is the first message that appear.
- I'm using Windows 10 64x
- PyQt5 and PySide2
- I really don't know if I did set the variable QT_DEVICE_PIXEL_RATIO... What is this?
-
Hi,
@jsulm said in QT_DEVICE_PIXEL_RATIO is deprecated?:
QT_DEVICE_PIXEL_RATIO
Check your environment variables.
As for what it is, a quick search in the documentation would have been faster than waiting for the answer.