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. Large QML application performance:
Forum Updated to NodeBB v4.3 + New Features

Large QML application performance:

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.2k 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.
  • S Offline
    S Offline
    Sil20
    wrote on last edited by
    #1

    Hi I am developping a lare area full screen application, with large touch glass area:
    2HD screen wide x 5 HD screen high : 3840 x 5400 :

    For the moment I am using Qt5, QtQuick 1.1. The qraphic card are nvidia quadro, and mosaic feature is active

    I am experiencing some performence issue so I am trying to optimise the QML code.

    *1./*Which of those 2 codes is the best:

    @
    property string msLabel1: "1-T. METAL VANNE BP TPA1"
    Text{
    id:iLabel1
    x:50
    y:379
    text: msLabel1
    font.family: __msLabelFontFamily
    font.pointSize: __msLabelFontSize
    font.bold: false
    verticalAlignment: Text.AlignVCenter
    }
    @

    @
    property alias msLabel1: iLabel1.text--
    Text{
    id:iLabel1
    x:50
    y:379
    font.family: __msLabelFontFamily
    font.pointSize: __msLabelFontSize
    font.bold: false
    verticalAlignment: Text.AlignVCenter
    }
    @

    2./ Is the following code performance consuming even with a scale = 1--?:
    @ //Individual Scaling
    property real scale: 1.0
    transformOrigin:Item.TopLeft
    transform:Scale{xScale:scale;yScale:scale}@

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Better use QtQuick 2 if possible, it will use OpenGL rendering instead of raster.

      Why are you using transform? Every Item has "scale" property already built-in. Using custom scaling might have an impact on performance, but I don't really know.

      (Z(:^

      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