跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k 主題 77.4k 貼文
  • How to dynamically pair qml objects with c++ objects

    Solved
    29
    0 評價
    29 貼文
    3k 瀏覽
    GrecKoG
    Yes that's exactly what I meant, thanks for explaining it Bob64.
  • QMediaPlayer and Qml

    Unsolved
    2
    0 評價
    2 貼文
    141 瀏覽
    jsulmJ
    @SetupIa Take a look at this example: https://doc.qt.io/qt-6/qtmultimedia-video-qmlvideo-example.html
  • "at least one required feature is not present" error

    Unsolved
    2
    0 評價
    2 貼文
    126 瀏覽
    H
    i tried "link with qt", but result is the same.
  • Qt 6.5 MultiEffect for shadow

    Solved
    11
    0 評價
    11 貼文
    5k 瀏覽
    C
    If your shadow is cut off, I recommend to choose a bigger padding rect. What was a surprise for me - the x and y should be positive numbers if you want the rectangle to "wrap" top left corner too. Try something like: paddingRect: Qt.rect(100, 100, 300, 300) The size should be as small as possible though, cause it affects performance.
  • 0 評價
    2 貼文
    179 瀏覽
    Axel SpoerlA
    One of the (probably new) dependencies of the labs platform plugin is missing. You have to use the dependency walker directly on the plugin, to see which one it is.
  • Is it more efficient to go from qml to c++ or c++ to qml?

    Solved
    5
    0 評價
    5 貼文
    379 瀏覽
    J
    @JKSH Agreed!
  • QML TreeView - expansion status of hidden nodes

    Unsolved
    4
    0 評價
    4 貼文
    256 瀏覽
    B
    @GrecKo As expected, I get (-1, -1) cell coordinates back for non-visible indices.
  • osm.mapping.offline.directory parameter value issues

    Unsolved
    1
    0 評價
    1 貼文
    82 瀏覽
    尚無回覆
  • Adding QML into library with Qt6 and CMake. How?

    Solved
    3
    0 評價
    3 貼文
    215 瀏覽
    B
    @JKSH Thx. Will try it today.
  • How can QML get a 2D double array filled by Q_INVOKABLE C++ member function?

    Unsolved
    4
    0 評價
    4 貼文
    299 瀏覽
    SGaistS
    @Tom-asso hi, Check the build log, you likely have a warning about that issue from the compiler.
  • IconImage and ColorImage current state

    Unsolved
    2
    0 評價
    2 貼文
    259 瀏覽
    B
    I would be interested in this too. I happened across ColourImage in some Qt source the other day and thought it looked useful before realising that it's internal. This was in 6.8. I am porting some Qt5 code at the moment and was trying to figure out how to colour an svg. I used to use GraphicalEffects and the compatibility library isn't available with the in-house Qt build I have to use. Meanwhile MultiEffect, which I understood to be the Qt 6 replacement, doesn't appear to work, with no clues provided as to why not.
  • Qt 6 TreeView and selection

    Solved
    6
    0 評價
    6 貼文
    663 瀏覽
    B
    @GrecKo Thanks for the tip. In the Qt 5 tree view, the index was provided directly to the delegate but I see that it has to be derived from the row and column that are provided to the delegate in Qt 6. So I need to make sure I use the provided index() method on the tree to do this, rather than going directly to the model.
  • Name 'target' in QML Connections confusing

    Unsolved
    2
    0 評價
    2 貼文
    243 瀏覽
    J.HilkJ
    My professional guess is that Connections is specifically designed to reference a QtObject or null, ensuring type safety and clarity in signal connections. Source is a more generic term in QML, commonly used for properties like Image.source or Component.source, which refer to the data or component being displayed or instantiated.
  • Qt 6: Dialog confusion

    Solved
    3
    0 評價
    3 貼文
    386 瀏覽
    JKSHJ
    Confusing indeed: https://bugreports.qt.io/browse/QTBUG-130864
  • Backface Culling with Runtimeloader - QtQuick3D / QML

    Solved qtquick3d qml
    3
    1 評價
    3 貼文
    492 瀏覽
    J
    This did it - thank you so much, I've been trying to figure this out forever.
  • QML MapView

    Unsolved
    1
    0 評價
    1 貼文
    130 瀏覽
    尚無回覆
  • 0 評價
    2 貼文
    260 瀏覽
    尚無回覆
  • AnimatedSprite not run while implemented on a View3D Node?

    Unsolved
    4
    0 評價
    4 貼文
    494 瀏覽
    SGaistS
    Hi and welcome to devnet, While I understand the lock you are into, testing with a more recent version can help you check whether what you actually have is working. Two possible outcomes: it does and you can try to back port the changes needed it does not and you have to check if it's an issue (and possibly fill a new ticket about it)
  • Qt Multimedia QAbstractVideoFilter Missing in Qt 6.9

    Solved
    10
    0 評價
    10 貼文
    1k 瀏覽
    SGaistS
    So what did you had to do with your code to make it work ?
  • How to detect if right button was pressed in MultiPointTouchArea ?

    Unsolved
    2
    0 評價
    2 貼文
    260 瀏覽
    D
    I found the solution, shortly after having posted : I was missing acceptedButtons: Qt.AllButtons