跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k 主題 77.7k 貼文
  • Text item inside flickable flicks to show all of text but snaps back once mouse is released.

    Unsolved
    2
    0 評價
    2 貼文
    231 瀏覽
    V
    Problem not solved, but identified. The contentHeight of the flickable region is set to the height returned by the bounding rect of the text. Seems FontMetrics.boundingRect does not take into account newline characters, so the returned width is over 15,000 pixels wide but the height is 20, the height of a single line at the designated font point size. Though even this obvious bug in QML does not explain why even trying to scroll right would snap back to the origin when the mouse was release.
  • Fusion Style

    Solved
    4
    0 評價
    4 貼文
    801 瀏覽
    jsulmJ
    @qcoderpro said in Fusion Style: I should add that line in the CMakeLists.txt file of the project. Right? yes
  • Can I use vulkan.hpp when customizing texture node?

    Unsolved
    1
    0 評價
    1 貼文
    167 瀏覽
    尚無回覆
  • Need help in stackview refreshing of screens during pop operations

    Solved
    5
    0 評價
    5 貼文
    590 瀏覽
    fcarneyF
    @Praveen-Illa I am so sorry. I posted the wrong link yesterday. doh! https://doc.qt.io/qt-5/qtquick-modelviewsdata-modelview.html This is what I meant to post. lol
  • QML Property Changing Outside of Evaluation?

    Unsolved
    1
    0 評價
    1 貼文
    190 瀏覽
    尚無回覆
  • 此主題已被刪除!

    Unsolved
    4
    0 評價
    4 貼文
    50 瀏覽
  • Synchronize tableview scrollbars

    Unsolved qml tableview scrollbar
    3
    0 評價
    3 貼文
    2k 瀏覽
    D
    I found it very helpful
  • How can I achieve 26 touch points

    qml + js qml qt quick qtquick drag problem
    2
    0 評價
    2 貼文
    599 瀏覽
    SGaistS
    Hi, Might be a silly idea (and I currently don't know the performance hit for that one) but why not have one mouse area per Text object ?
  • Getting the issue with the QFileDialog for QT version upgrade 5.12.9 to 5.15.2

    Unsolved qt 5.15.0 android file dialog
    2
    0 評價
    2 貼文
    531 瀏覽
    sierdzioS
    Modern Androids heavily restrict access to the file system, and getting file URLs is no longer allowed. I suspect you have bumped target SDK when upgrading and now you are bound by newer rules from Android: you'll have to upgrade your code to use storage providers and permissions. Some info: https://developer.android.com/training/data-storage and https://developer.android.com/guide/topics/providers/document-provider
  • Adding slots to components dynamically in QML?

    Unsolved
    2
    0 評價
    2 貼文
    302 瀏覽
    fcarneyF
    I would use a model view approach. Then use the various "view" items from qml with c++ models.
  • Nasty artefacts on resolution changes in MediaPlayer with GStreamer pipeline

    Unsolved
    1
    0 評價
    1 貼文
    165 瀏覽
    尚無回覆
  • QML keyboard keys unfunctionality

    Solved
    2
    0 評價
    2 貼文
    225 瀏覽
    ndiasN
    Hi @qcoderpro, You need to remove anchors.centerIn: parent.
  • Spurious crash at startup

    Unsolved
    1
    0 評價
    1 貼文
    216 瀏覽
    尚無回覆
  • How to crop camera video in qml

    Unsolved
    1
    0 評價
    1 貼文
    188 瀏覽
    尚無回覆
  • Set QML_XHR_ALLOW_FILE_READ in python

    Unsolved
    2
    0 評價
    2 貼文
    1k 瀏覽
    GrecKoG
    os.environ["QML_XHR_ALLOW_FILE_READ"] = "1" should work I guess : https://docs.python.org/3/library/os.html#os.environ
  • Set property to undefined in QML

    Solved
    3
    1 評價
    3 貼文
    4k 瀏覽
    D
    @KroMignon Perfect, thanks!
  • How to merge cells with QML tableView

    Unsolved
    1
    0 評價
    1 貼文
    427 瀏覽
    尚無回覆
  • Set source image for android without white flicker

    Solved
    4
    0 評價
    4 貼文
    366 瀏覽
    M
    It is solutins
  • Convert images into videos and display them in QML

    Solved
    5
    0 評價
    5 貼文
    764 瀏覽
    M
    It is help me. I change source when updating image. imageIrImage.source = "image://imageProviderIRImage" imageIrImage.source = "image://imageProviderIRImage/ir"
  • Use dialogs in Qt 6

    Unsolved
    14
    0 評價
    14 貼文
    3k 瀏覽
    Q
    @JKSH My project is using Qt 5.15 and CMake as its build system, and as stated in the prior posts, that version is tested, the error message is: module "QtQuick.Dialogs" version 1.3 is not installed Neither Qt 5.15 nor Qt 6.2 is doing well with that element! [image: daf9388e-0ad3-4c75-93a7-1700ca9b90ac.PNG]