Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • QML Automotive Cluster Interface

    Unsolved
    8
    0 Votes
    8 Posts
    619 Views
    T
    Hi @crimson1023 I have leaved a comment with the new updated project you can see that in the link. My problem now is that I can't rotate the dials correctly.. Also thank you @JoeCFD but I don't understand how to set the connection between my C++ class and my QML code. I must use the connections but I can't write the code properly
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    72 Views
    No one has replied
  • ShaderEffect Dependencies

    Unsolved
    1
    0 Votes
    1 Posts
    103 Views
    No one has replied
  • Why can't only the customed property "kind" one be allocated data correctly?

    Solved
    6
    0 Votes
    6 Posts
    437 Views
    M
    @dheerendra Amazing🥳!It works,but why could not it run correctly before?I think thery are similar,just a little different.Is the problem on the order of the property?🧐
  • QML QQuickItem: Binding loop detected for property "y" - false positive?

    Unsolved
    2
    0 Votes
    2 Posts
    257 Views
    N
    Is is also odd that the binding loop detector does not complain about the line above where is it claiming a binding loop which ostensibly appears to be binding in a similar way: x: control.background.x + control.background.width / 2 - width / 2 Correction if I reorder these two lines I do get a binding loop warning for x: control.background.x + control.background.width / 2 - width / 2 but not for y: control.background.y + control.background.height / 2 - height / 2
  • ZoomAndDragable QML

    Unsolved
    1
    0 Votes
    1 Posts
    109 Views
    No one has replied
  • QmlLint

    Solved
    3
    0 Votes
    3 Posts
    337 Views
    R
    @kkoehne Absolute legend
  • Qt6.7.0 breaks Android app

    Solved
    2
    1 Votes
    2 Posts
    283 Views
    M
    Fixed in 6.7.3
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    31 Views
  • how to separate scrolling and touch events in a layout with tableview on touch screen.

    Unsolved
    3
    0 Votes
    3 Posts
    197 Views
    JoeCFDJ
    @dheerendra Thank you for your reply. I do not use TableView from Controls 1. Instead, TableView: QtQuick is applied. Flickable is not the issue. Touch event handling in Qml is the problem. Mouse works just fine.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • Issue with Array.IsArray in Qt6.5

    Unsolved
    4
    0 Votes
    4 Posts
    398 Views
    GrecKoG
    The consensus seems to not have to rely on Array.isArray : https://bugreports.qt.io/browse/QTBUG-125289
  • QtQuick3D RuntimeLoader: material missing using qrc

    Unsolved
    7
    0 Votes
    7 Posts
    511 Views
    Axel SpoerlA
    @feli223 This post doesn't say anything about how the resources have actually been populated. That's where it went wrong. The fact that it works without the colon means, that an in-source build finds the file somewhere in the source tree. If the application is deployed without its sources, it won't work any more. I don't know where, how, and why it went wrong, because this part of the code is missing. That means I can't help you, probably nobody can. But I do know that the resource system works seamlessly. So I pointed you to the documentation, because my feeling is that you haven't read it fully and made a small mistake..
  • User defined QML objects as arguments

    Unsolved
    2
    0 Votes
    2 Posts
    151 Views
    dheerendraD
    Better you provide one sample. Difficult to imagine what you would like to achieve. It is possible to do. One simple example is here. main.qml Window { width: 640 height: 480 visible: true title: qsTr("Hello World") MyQmlPropertyMap{ id : owner} Text { text : owner.name } MyButton{ b1 : y1 } YourButton{ id : y1 visible: false } } MyButton.qml Rectangle { width: 200;height: 200 color: "blue" property var b1 MouseArea{ anchors.fill: parent onClicked: { b1.visible = true } } } YourButton.qml Rectangle { width: 100;height: 100 color: "red" }
  • ListView not displaying results of a QSortFilterProxyModel.

    Solved
    15
    0 Votes
    15 Posts
    1k Views
    mzimmersM
    It turns out that I was using the wrong call on my proxy model. This works: void SanitizerModel::setSpaceIndex(int index) { if (m_spaceIndex == index) { qDebug() << "SanitizerModel::setSpaceIndex: skipped"; return; } m_spaceIndex = index; invalidateFilter(); // *** NOT invalidateModel() *** } Thanks to all who looked at this.
  • What is the problem in this qml file?

    Unsolved
    7
    0 Votes
    7 Posts
    560 Views
    GrecKoG
    @CKurdu said in What is the problem in this qml file?: The problem is that my coworker insists that the lines below are correct. Connections { target: videoRecords visible: false pageManager.show("videoRecordsPage") } What is this even supposed to do? Connections is meant to connect to signals declared in its target. Note that there is little reason to use a Connection inside the declaration on its target. There's no visible property in Connections, it's not a visible item. Writing pageManager.show("videoRecordsPage") here is syntactically incorrect in QML. You also have a duplicate object id. The correct syntax for Connections is : Connections { target: object function onSignalName() { // do stuff } } Here you don't need Connections to handle a signal of videoRecords, you could do: VideoRecords { id: videoRecords visible: false modal: true on<YourSignalName>: pageManager.show("videoRecordsPage") } This is assuming that you want to handle a signal in VideoRecords and show the videoRecordsPage after. You are the one knowing if it does make sense in your code. As for the visible: false in Connections, maybe it was meant to be the enabled property? Your tell us (or your colleague tells you).
  • Qt Design Studio - examples not available

    Unsolved
    1
    0 Votes
    1 Posts
    90 Views
    No one has replied
  • nmea plugin in Qt6

    Solved
    4
    0 Votes
    4 Posts
    307 Views
    SGaistS
    It's in Qt Positioning.
  • Newbie Question: RenderDoc Performance Monitoring with Qt C++

    Unsolved
    3
    0 Votes
    3 Posts
    360 Views
    K
    Thank you for your reply. Yes, I'm currently running the example(simplerhiwidget) for testing purposes and I am sure that my app started and running normally. Is there any parameter I need to modify to enable RenderDoc to inject its DLL into the executable? Also, in the remote host manager, there's nothing I can select; is this normal behavior? [image: 61a883da-e55c-43c9-9ad1-93009acca5d3.PNG]
  • Weird shadow map with texture

    Unsolved qt quick 3d texture shadow
    2
    0 Votes
    2 Posts
    333 Views
    J
    If you are trying to create a cube then it looks like your cube data is wrong as you can see from this picture: [image: 2567a1f1-8200-4647-8e5d-026f709ee0a4.png]