跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k 主題 77.7k 貼文
  • destroy filedialog does not clear the memory usage in qml

    Unsolved
    1
    0 評價
    1 貼文
    138 瀏覽
    尚無回覆
  • problem with get values from QHash in qml

    Solved
    3
    0 評價
    3 貼文
    451 瀏覽
    Q
    @sierdzio thanks for answer, my problem solved thank you
  • How to keep ApplicationWindow aspect ratio

    Unsolved
    2
    0 評價
    2 貼文
    585 瀏覽
    K
    Is it any solution for this?
  • Dialogs in Qt 6 using CMake

    Solved
    10
    0 評價
    10 貼文
    2k 瀏覽
    Q
    Still the problem with a property of FileDialog to bring the explorer window to select the file exits: Cannot assign to non-existent property "folder". I also tried currentfolder but the same error message!
  • Skip animation if its target is null

    Unsolved
    5
    1 評價
    5 貼文
    405 瀏覽
    M
    @KH-219Design yes, it's a segmentation fault. Would you please tell me how to capture the backtrace/callstack? When debugging I can see only a lot of disassembled code, but no one function (in any thread) is my code. I can prepare a sample project for you. In the meanwhile, can we generalize a bit the question? How to skip a step in a SequentialAnimation if some conditions are met?
  • What is the rectangle over the QML Button?

    Unsolved
    2
    0 評價
    2 貼文
    290 瀏覽
    MarkkyboyM
    Looks like you're using an OpacityMask on your Button but without radius being taken into account. Otherwise, post the snippet of code that produces the effect you show in your image, it might be easier to assess what's happening.
  • 0 評價
    1 貼文
    179 瀏覽
    尚無回覆
  • QtQuick.VirtualKeyboard, slow language change

    Unsolved
    7
    0 評價
    7 貼文
    775 瀏覽
    sierdzioS
    @juvf said in QtQuick.VirtualKeyboard, slow language change: Why? The startup passed a long time ago. I guess layouts are loaded via a Loader element. So when it's sourceComponent is changed (to another layout), the data is loaded fresh. So this implies you could create a custom layout, make it small and fast and it will load fast. Or make it lazy-load and it will also look faster than it is (here I mean: initially load just empty rectangle, then fill in all the keys). A lot of the details are described here: https://doc.qt.io/qt-6/technical-guide.html
  • Lets play a game... thermonuclear wa...sorry QDate to JS Date conversion!

    Solved
    4
    0 評價
    4 貼文
    501 瀏覽
    D
    My approach was lossy. QDate loses time information. Changing data type for C++ to QDateTime keeps the time info even if I don't need that. The time zones have an affect. It seems JS Date can interchange between C++ QDate or QDateTime. QDateTime is the preferred and doesn't cause errors.
  • QML ReferenceError within Drawer

    Unsolved
    4
    0 評價
    4 貼文
    347 瀏覽
    J
    I've decided to move all properties to c++ and not use properties within QML itself. As such, this issue isn't relevant anymore, but I'd still be interested to understand what's going on here. I suspect it's due to the Drawer's parent being the Overlay, rather than the mainItem itself.
  • Provide markdown styling to QML Markdown Text?

    Unsolved
    1
    0 評價
    1 貼文
    589 瀏覽
    尚無回覆
  • Text item inside flickable flicks to show all of text but snaps back once mouse is released.

    Unsolved
    2
    0 評價
    2 貼文
    224 瀏覽
    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 貼文
    790 瀏覽
    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 貼文
    161 瀏覽
    尚無回覆
  • Need help in stackview refreshing of screens during pop operations

    Solved
    5
    0 評價
    5 貼文
    583 瀏覽
    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 貼文
    185 瀏覽
    尚無回覆
  • 此主題已被刪除!

    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 貼文
    584 瀏覽
    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 貼文
    523 瀏覽
    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