Defining a different fontSize according to OS [SOLVED]



  • I developed a QML application and it displays perfectly on Mac but same size font is much bigger when running application on Windows. Is there a way to define a different font size according to the OS (using only QML/javascript code)) ?

    thanks

    Bidochon



  • As usual, I just need to post a question to find the answer a few seconds later
    @
    import QtQuick 2.0
    ...
    console.log(Qt.platform.os)
    @

    Bidochon


Log in to reply
 

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