Unable to resize the widget



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


  • Lifetime Qt Champion

    Hi,

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



  • 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.


  • Lifetime Qt Champion

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


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.