Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Unable to resize the widget
Qt 6.11 is out! See what's new in the release blog

Unable to resize the widget

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.8k 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.
  • D Offline
    D Offline
    Dcqt
    wrote on last edited by
    #1

    Hi,
    i am trying to resize the widget Qwidget using min and max size functions.those functions are working correctly on PC, but when i cross compile the same its not working.
    what could be the reason?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Without more information it will be difficult to tell. e.g. What platform are you using ?

      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
      0
      • D Offline
        D Offline
        Dcqt
        wrote on last edited by
        #3

        i am compiling Qt for MIPs , using open GL.

        when i run any Qt Application i am getting the following logs.

        bq. Virtual (cached) 0x5e71b000, Physical 0x20000000, Size 0x14f92000, Alignment 128
        EGLFS: Unable to query physical screen size, defaulting to 100 dpi.
        EGLFS: To override, set QT_QPA_EGLFS_PHYSICAL_WIDTH and QT_QPA_EGLFS_PHYSICAL_HEIGHT (in millimeters).
        ####inputFormat is not of type OpenGLES
        ####inputFormat is not of type OpenGLES

        eventhough the did
        export QT_QPA_EGLFS_PHYSICAL_WIDTH=100
        export QT_QPA_EGLFS_PHYSICAL_HEIGHT=100

        there is no change, except the logs related to width and height disappeared.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          AFAIK, using eglfs, you don't have a windowing system so your main widget can only have one size: fullscreen

          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
          0

          • Login

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