Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. QT_DEVICE_PIXEL_RATIO is deprecated?

QT_DEVICE_PIXEL_RATIO is deprecated?

Scheduled Pinned Locked Moved Unsolved Qt for Python
4 Posts 3 Posters 2.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Black CatB Offline
    Black CatB Offline
    Black Cat
    wrote on last edited by
    #1

    Someone know how fix this warnings messages from the original IDLE of Python.
    Note: don't happened on PyCharm

    a88253f2-8e31-4a73-a7aa-333052f963a0-image.png

    jsulmJ 1 Reply Last reply
    0
    • Black CatB Black Cat

      Someone know how fix this warnings messages from the original IDLE of Python.
      Note: don't happened on PyCharm

      a88253f2-8e31-4a73-a7aa-333052f963a0-image.png

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Black CatB Offline
        Black CatB Offline
        Black Cat
        wrote on last edited by
        #3

        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?
        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          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.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved