Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • Processing Every Frame in a Video File

    Unsolved qml mediaplayer video videooutput qvideofilter
    5
    0 Votes
    5 Posts
    1k Views
    P
    @SGaist Ah, in that case, I'll give it a try. Would that also be the case with QAbstractVideoSurface, or would that one receive further-in frames if more time passes? Processing takes about 250ms per frame on Android right now. I'm working on ways to speed that up, but the processing fps is going to be worse than the video file's fps for some time yet.
  • Virtual keyboard not loading

    Unsolved
    1
    0 Votes
    1 Posts
    347 Views
    No one has replied
  • Virtual keyboard

    Unsolved
    2
    0 Votes
    2 Posts
    183 Views
    MarkkyboyM
    I think not. Can you provide an actual use case?, why would you need to hit multiple keys?, how would that look on input?
  • Cannot edit the qml in the "Design" tab

    Unsolved
    2
    0 Votes
    2 Posts
    263 Views
    SGaistS
    Hi and welcome to devnet, Since you have bought a licence, you should contact the Qt Company directly.
  • Strange ListView behaviour (depending on types of anchors)

    Unsolved
    10
    0 Votes
    10 Posts
    583 Views
    P
    Reported: https://bugreports.qt.io/browse/QTBUG-106624
  • qt6 standard alternative of Fastblur?

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    JKSHJ
    @shokarta said in qt6 standard alternative of Fastblur?: ok, so what do i do wrong? I'm not sure. Try running and modifying the Shader Effects Example instead: https://doc.qt.io/qt-6/qtquick-shadereffects-example.html (search for "shader" in the Qt Creator Examples)
  • Translations - How to add a context in Linguist from an id-based translation?

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    D
    Hi @jeanmilost , I've the same issue. Did you manage to get this done?
  • Debugger Exits inside the thread

    Solved
    1
    0 Votes
    1 Posts
    150 Views
    No one has replied
  • Adjust translation speed of QML DragHandler

    Unsolved qml dragging
    1
    0 Votes
    1 Posts
    168 Views
    No one has replied
  • OpenGL Rendering to Two QML Windows

    Unsolved
    1
    0 Votes
    1 Posts
    215 Views
    No one has replied
  • Unexpected property value in Repeater in Qt 5.15.2

    Unsolved
    1
    0 Votes
    1 Posts
    171 Views
    No one has replied
  • Acessing childrens by ID?

    Solved
    5
    0 Votes
    5 Posts
    786 Views
    J.HilkJ
    how about: main.qml: ApplicationWindow { id: mainWindow // here is where i need to get the TextFiled text set as "something" // Views (initialy used SwipeView) StackLayout { id: view anchors.fill: parent currentIndex: 0 Item { id: view_InitialScreen InitialScreen {} } Item { id: view_ChoiseOffline ChoiseOffline {id:chOffline;} } } } ChooseOffline.qml: Rectangle { id: parentObject anchors.fill: parent property alias aliasPreselectedLocation: preselectedStrloTextfield2 .... } console.log(chOffline.aliasPreselectedLocation.text)
  • Qt quick performance

    Unsolved
    1
    0 Votes
    1 Posts
    176 Views
    No one has replied
  • QT6 little checkbox inside checkbox?

    Solved
    7
    0 Votes
    7 Posts
    866 Views
    S
    @FKosmale said in QT6 little checkbox inside checkbox?: @shokarta You can explicitly load the Basic style; e.g. by using import QtQuick.Controls.Basic. See also https://doc.qt.io/qt-6/qtquickcontrols2-styles.html#compile-time-style-selection unfortunatelly, as far as I remove: import QtQuick.Controls and pleace this insteade: import QtQuick.Controls.Basic then the indicator does not show up at all, only the label next to the indicator: CheckBox { id: autosaveCheckbox anchors.top: parent.top anchors.bottom: parent.bottom anchors.centerIn: parent checked: autoSave onClicked: !checked onCheckedChanged: autoSave = checked text: JS.lang(11) font.pointSize: textWidth indicator: Rectangle { anchors.top: parent.top anchors.bottom: parent.bottom width: height border.width: borderWidth border.color: "black" Label { anchors.fill: parent text: autosaveCheckbox.checked ? "✓" : "" font.pointSize: textWidth * 1.5 horizontalAlignment: Label.AlignHCenter verticalAlignment: Label.AlignVCenter } } } EDIT: if I run the application on Android Device, then also the checkboxes are missing :( any solution for Win vs Android?
  • Passing dynamic QML data

    5
    0 Votes
    5 Posts
    387 Views
    I
    @Venkata-Subbaiah I didn't understand the content, so I looked at it for a long time. And I understand what your intentions are. Thanks for giving me a good way.
  • Progress bar is not smooth

    Unsolved qtquick qml progress bar
    18
    1 Votes
    18 Posts
    4k Views
    Marko StankeM
    Tried it on Qt 5.15, and it works perfectly
  • StatusBar is not a type

    Unsolved
    2
    0 Votes
    2 Posts
    200 Views
    A
    As I found this problem only in Qt 6.2 when I select the minimum required version of QT 5.x - everything works. Obviously, in 6.2, the order of registration of components has somehow changed Who knows how to fix it or do it right ?
  • Add c++ model to qml

    Unsolved qml c++ cmake
    1
    0 Votes
    1 Posts
    292 Views
    No one has replied
  • Changing the query of QSqlQueryModel from qml: how to change column heading?

    Unsolved
    5
    0 Votes
    5 Posts
    453 Views
    push_backP
    I may had an error in my model, but I chose to keep KSortFilterProxyModel for filtering and sorting because it works and as you said it makes a better job and it is simpler. So there is still that warning from qml when I dynamically build TableViewColumn using an Instantiator: qml: TableView::insertColumn(): you cannot add a column to multiple views Here is a code to reproduce that error: (Data are taken from Qt's table view documentation) import QtQuick 2.15 import QtQuick.Window 2.15 import QtQuick.Controls 1.4 Window { id: window width: 640 height: 480 visible: true title: qsTr("Hello World") ListModel { id: libraryModel ListElement { title: "A Masterpiece" author: "Gabriel" } ListElement { title: "Brilliance" author: "Jens" } ListElement { title: "Outstanding" author: "Frederik" } } ListModel { id: headerModel ListElement { role: "title" title: "Title" } ListElement { role: "author" title: "Author" } } TableView { width: window.width id: tableView model: libraryModel Instantiator { model: headerModel.count onObjectAdded: tableView.addColumn(object) onObjectRemoved: tableView.removeColumn(object) TableViewColumn { role: headerModel.get(index).role title: headerModel.get(index).title } } } }
  • 0 Votes
    8 Posts
    1k Views
    JonBJ
    @shokarta said in KeyStrokes: Parameter "event" is not declared. Injection of parameters into signal handlers is deprecated. Use JavaScript functions with formal parameters instead.: yea i tried that before, but this does not work at all But what you chose to type is not what I wrote or quoted from, the idea is to copy what works not change it.