Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • Static Color bug via Qt particles

    Unsolved
    2
    0 Votes
    2 Posts
    74 Views
    J
    Could you put your complete code in one qml file so we can more easily test your exact setup?
  • Questions related to BoundedRectRendering of QSGRenderNode

    Unsolved
    1
    0 Votes
    1 Posts
    25 Views
    No one has replied
  • How move Map

    Solved
    3
    0 Votes
    3 Posts
    134 Views
    Z
    PinchHandler and WheelHandler are for zoom. If you need to move the map you need DragHandler and TapHandler One of them rotates the map, I guess it's not what you want on mobile devices
  • SkyboxCubeMap rotation?

    Unsolved
    1
    0 Votes
    1 Posts
    52 Views
    No one has replied
  • How in TableView use DelegateChooser

    Solved
    7
    0 Votes
    7 Posts
    163 Views
    M
    Sorry, it work, problen in my model
  • Qt 6.6.1 - "ColumnLayout.uniformCellSizes"

    Unsolved
    2
    1 Votes
    2 Posts
    232 Views
    A
    Hello! Just for future visitors since this is the first page that came up in a google search. https://bugreports.qt.io/browse/QTBUG-122024
  • ListView inside PathView = broken touchscreen scrolling

    Unsolved touch screen pathview listview
    2
    0 Votes
    2 Posts
    69 Views
    GrecKoG
    I would make my model looping as a workaround. Maybe a proxy model working with your view? Exposing 1 mirror of your model before the 1 2 3 4 1 2 3 4 1 2 3 4 x <-- start index of your view Ensure that the index is always in the middle part of the model. If the current index of the views goes in the first part, "remove" the last part and "insert" a new mirror part in front so that the index is now in the middle again. Same thing if it goes to the last part, shift the first part at the end.
  • Availibility Qt6.8.4

    Solved
    7
    0 Votes
    7 Posts
    177 Views
    M
    Ah, didn't know that. I never tried to build Qt from source.
  • TreeViewDelegate is last child

    Solved
    3
    0 Votes
    3 Posts
    71 Views
    M
    Possible find real row like that: realRow: treeView.index(row, column).row
  • QML file not found in resource system (qrc) despite correct qml.qrc configuration

    Solved
    7
    0 Votes
    7 Posts
    148 Views
    JKSHJ
    @Actarus said in QML file not found in resource system (qrc) despite correct qml.qrc configuration: I solved it using qt_add_resources() instead I'm glad to hear that you were able to resolve your issue. As the next step, I recommend taking the time to port from qt_add_resources() to qt_add_qml_module(): https://doc.qt.io/qt-6/qt6-port-to-qt-add-qml-module.html This provides your projects with benefits such as optimization by the Qt Quick Compiler (https://www.qt.io/blog/the-numbers-performance-benefits-of-the-new-qt-quick-compiler) and improved code analysis by your IDE.
  • [QML Runtime Tool - Qt 6.2] Using dummydata folder

    Solved
    5
    0 Votes
    5 Posts
    141 Views
    N
    @GrecKo that was the other idea. But It means creating a QML module just for dummy model used for ui prototype; and I don't like to release that module on production code. Example Form.ui.qml import com.myrealmodule import com.mydummymodule ... // Here I use singleton for dummy data ... However if I don't release that dummy module, clearly I have runtime problem when application starts, cause it.s not able to find It.
  • Shadow around an Item

    Solved
    8
    0 Votes
    8 Posts
    303 Views
    A
    What I see with MultiEffect: [image: 625e447c-36c1-4ba7-b7ae-7a85e3bc9f45.png]
  • Displaying RTSP Stream Inside QMediaPlayer Window on i.MX6 Device

    Unsolved
    2
    0 Votes
    2 Posts
    91 Views
    JoeCFDJ
    Take a look at the example here and use gstreamer code directly with qml sink. https://github.com/GStreamer/gst-plugins-good/tree/master/tests/examples/qt/qmlsink Do not use QMediaPlayer
  • Map Touch Issue in Qt QML

    Unsolved
    3
    0 Votes
    3 Posts
    119 Views
    K
    It's a bug, it's complicated: https://bugreports.qt.io/browse/QTBUG-115141 https://bugreports.qt.io/browse/QTBUG-107994 One workaround would be to set a TapHandler in the popup to consume the events.
  • In win10 can't customization

    Solved
    4
    0 Votes
    4 Posts
    122 Views
    B
    @JKSH said in In win10 can't customization: Yes, the best way is via the import statement: import QtQuick.Controls.Basic -- this allows the Qt Quick Compiler to optimize your code. That optimization can't happen if you set the style at runtime. Thanks for this tip. I'll bear it in mind for later. I currently have my code running in both Qt 5.15 and 6.8 as I may or may not need to make the switch in the near future (out of my control unfortunately). The runtime selection is a pragmatic approach for me at the moment.
  • In win 10 I get error with popup, but programm don't crash

    Solved
    4
    0 Votes
    4 Posts
    148 Views
    M
    I find error only with help analize code
  • ChartView LineSeries and model data

    Unsolved
    2
    0 Votes
    2 Posts
    88 Views
    B
    Have you looked at HXYModelMapper/VXYModelMapper? I haven't used these yet myself but from what I understand, they should fit with your use case. There is a widgets example here https://doc.qt.io/qt-6/qtcharts-modeldata-example.html, which might be adaptable to QML.
  • Preferred line break for japanese translation in TS-file

    Unsolved
    4
    0 Votes
    4 Posts
    355 Views
    G
    What happens when you use &#8203;? does it still break in another position? In that case you might want to combine it with &#x2060; to prevent breaking in other places. Such as これは&#x200B;&#x2060;非常に長い文章です.
  • Cannot show the "Repeat days' buttons" when I run the "alarms" example on Windows 10

    Unsolved
    8
    0 Votes
    8 Posts
    331 Views
    R
    @Richard-L said in Cannot show the "Repeat days' buttons" when I run the "alarms" example on Windows 10: Sorry. But I tried this fix. It does not work. [image: aa2a914d-cfc4-4e76-a6ed-e7a436a5b665.png] Qt version is 6.9.1, Qt Creator version is 17.
  • QQuickFramebufferObject with external OpenGL in Qt6

    Unsolved qt6 fbo opengl
    7
    0 Votes
    7 Posts
    2k Views
    D
    I'm currently working on getting on of my older applications to work with PyQt6 on Wayland. The python-mpv library has classically used an X window ID for telling mpv where to render, but that obviously won't work on Wayland. There are several examples of using OpenGL rendering with python-mpv: https://github.com/trin94/qtquick-mpv The PySide6 example does work, but my entire application is written in PyQt6: https://gitlab.com/djsumdog/mediahug/ I've been playing around with the code trying to figure out what's happening. All the mpv output looks identical between the different API examples. Creating another window and commenting out the setSource/show for the quickview prevents it from crashing out. I guess there might be an issue with the PyQt6 bindings? I'd really rather not trade out everything in my code for PySide.