Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML application taking full screen/current resolution instead of QML application Window width and height on QNX

QML application taking full screen/current resolution instead of QML application Window width and height on QNX

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
4 Posts 4 Posters 109 Views
  • 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.
  • I Offline
    I Offline
    IamSumit
    wrote on 11 Apr 2025, 05:59 last edited by
    #1

    Hello All,
    I am developing QML application as the following-
    import QtQuick

    Window {
    id:windz
    width: 800
    height: 600
    visible: true
    color: "green"

    Component.onCompleted: {
    console.log("main.qml width: "+width+"main.qml height: "+height)}
    }
    I have given 800 and 600 as hardcoded size to Window element , but when I run my application on QNX target whose resolution is 1920 and 1080, My application resolution getting ovelapped by 1920 and 1080 even I gave 800 and 600. Why is this behaviour? and what is the solution to have 800600 resolution on QNX for my application. Pleas noted that On windows when I run same application it is coming up in 800600. please help

    Be Cute

    J J R 3 Replies Last reply 11 Apr 2025, 06:07
    0
    • I IamSumit
      11 Apr 2025, 05:59

      Hello All,
      I am developing QML application as the following-
      import QtQuick

      Window {
      id:windz
      width: 800
      height: 600
      visible: true
      color: "green"

      Component.onCompleted: {
      console.log("main.qml width: "+width+"main.qml height: "+height)}
      }
      I have given 800 and 600 as hardcoded size to Window element , but when I run my application on QNX target whose resolution is 1920 and 1080, My application resolution getting ovelapped by 1920 and 1080 even I gave 800 and 600. Why is this behaviour? and what is the solution to have 800600 resolution on QNX for my application. Pleas noted that On windows when I run same application it is coming up in 800600. please help

      J Online
      J Online
      jsulm
      Lifetime Qt Champion
      wrote on 11 Apr 2025, 06:07 last edited by
      #2

      @IamSumit I'm not a QNX expert: is there a window manager running which supports windows which are not full-screen?

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

      1 Reply Last reply
      1
      • I IamSumit
        11 Apr 2025, 05:59

        Hello All,
        I am developing QML application as the following-
        import QtQuick

        Window {
        id:windz
        width: 800
        height: 600
        visible: true
        color: "green"

        Component.onCompleted: {
        console.log("main.qml width: "+width+"main.qml height: "+height)}
        }
        I have given 800 and 600 as hardcoded size to Window element , but when I run my application on QNX target whose resolution is 1920 and 1080, My application resolution getting ovelapped by 1920 and 1080 even I gave 800 and 600. Why is this behaviour? and what is the solution to have 800600 resolution on QNX for my application. Pleas noted that On windows when I run same application it is coming up in 800600. please help

        J Offline
        J Offline
        JoeCFD
        wrote on 11 Apr 2025, 11:31 last edited by
        #3

        @IamSumit Can you try:
        ApplicationWindow?

        1 Reply Last reply
        0
        • I IamSumit
          11 Apr 2025, 05:59

          Hello All,
          I am developing QML application as the following-
          import QtQuick

          Window {
          id:windz
          width: 800
          height: 600
          visible: true
          color: "green"

          Component.onCompleted: {
          console.log("main.qml width: "+width+"main.qml height: "+height)}
          }
          I have given 800 and 600 as hardcoded size to Window element , but when I run my application on QNX target whose resolution is 1920 and 1080, My application resolution getting ovelapped by 1920 and 1080 even I gave 800 and 600. Why is this behaviour? and what is the solution to have 800600 resolution on QNX for my application. Pleas noted that On windows when I run same application it is coming up in 800600. please help

          R Offline
          R Offline
          Ronel_qtmaster
          wrote on 11 Apr 2025, 11:35 last edited by
          #4

          @IamSumit what if you add to your code visibility: Window.FullScreen

          1 Reply Last reply
          0

          4/4

          11 Apr 2025, 11:35

          • Login

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