QML application taking full screen/current resolution instead of QML application Window width and height on QNX
-
Hello All,
I am developing QML application as the following-
import QtQuickWindow {
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 -
Hello All,
I am developing QML application as the following-
import QtQuickWindow {
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 -
Hello All,
I am developing QML application as the following-
import QtQuickWindow {
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 -
Hello All,
I am developing QML application as the following-
import QtQuickWindow {
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@IamSumit what if you add to your code visibility: Window.FullScreen