Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Qt 6.2.3 examples not running

    Unsolved
    5
    0 Votes
    5 Posts
    455 Views
    M
    @sierdzio said in Qt 6.2.3 examples not running: OpenGL ou DirectX isn't there a component of Qt that I need to install?
  • Link Error when inherit from QQuickGridView

    Unsolved
    9
    0 Votes
    9 Posts
    935 Views
    M
    @jsulm I am already setting automac as below SET(CMAKE_INCLUDE_CURRENT_DIR ON) Instruct CMake to run moc automatically when needed. SET(CMAKE_AUTOMOC ON) add_compile_definitions( TRACEMESSAGE_USE_QT QT_NO_CAST_FROM_ASCII QT_NO_CAST_TO_ASCII ) Sorry i missed to copy these lines in earlier post. But i am setting these flags. With this macros also getting link error.
  • Exporting QML files as Library - CMake

    Solved
    1
    1 Votes
    1 Posts
    383 Views
    No one has replied
  • palm swipe

    Unsolved
    1
    0 Votes
    1 Posts
    359 Views
    No one has replied
  • Parameter "event" is not declared.

    Unsolved
    4
    0 Votes
    4 Posts
    780 Views
    sierdzioS
    It's all in the documentation, please look it up. https://doc.qt.io/qt-5/qml-qtquick-keys.html
  • display loading while for loop is working in qml

    Unsolved
    2
    0 Votes
    2 Posts
    389 Views
    sierdzioS
    You probably need to give the event loop some time. Run your loop via a signal or via Qt.callLater(). This will give the even loop a chance to update QML before the loop starts.
  • QML One application, one taskbar entry, multiple windows

    Unsolved
    1
    0 Votes
    1 Posts
    472 Views
    No one has replied
  • Issue in Module not installed

    Unsolved qtdesignstudio qtcreator qt6.2
    1
    0 Votes
    1 Posts
    660 Views
    No one has replied
  • Converting QMLProject to Pro issues, questions

    Unsolved
    1
    0 Votes
    1 Posts
    182 Views
    No one has replied
  • Issue with listview that resets when scrolling

    Solved
    3
    0 Votes
    3 Posts
    286 Views
    M
    @sonicss found my issue, did not know I had to store the dynamic data I put into the listview. When i stored it in the model it survived scrolling.
  • QML. ChartView. Is it possible to increase distance between the axe and values?

    Unsolved
    3
    0 Votes
    3 Posts
    256 Views
    L
    @sonicss said in QML. ChartView. Is it possible to increase distance between the axe and values?: range You could add a "<br>" to the label format, or rotate the label: ValueAxis { // [...] labelFormat: "<br>%.0f" } ValueAxis { // [...] labelsAngle: -60 }
  • Native application window inside QML

    Unsolved
    1
    0 Votes
    1 Posts
    183 Views
    No one has replied
  • How to add a color on TableView and keep previous color as I select a row.

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    M
    @lemons  Thank you so much ! This is the best solution !
  • How to Push multiple Values to an Array in a single time

    Solved
    5
    0 Votes
    5 Posts
    454 Views
    P
    @lemons Thanks again and Sorry for troubling you again I understood, how to store the key value pair in the list using json object. But, one thing that is disturbing in my mind is, if I want to push 3 or 4 arguments to the list like below ({"A001", 1, "Item1"}, {"A002", 2, "Item2"}) How can I do this ? I know these are the basic things in js, but can't figure out the solution
  • Is it possible to load a QML module at runtime with a static-compiled Qt Application?

    Unsolved
    1
    0 Votes
    1 Posts
    420 Views
    No one has replied
  • How to use custom components in QML Repeaters

    Unsolved
    6
    0 Votes
    6 Posts
    1k Views
    J.HilkJ
    @Markkyboy [image: 67c5e653-128f-457b-b056-3392705884c9.png] and if you actually adjust the sizes a bit, one also sees the 2nd component [image: f21066b7-ca4e-49f4-a3e2-28d6bd1e88fd.png] like I said, works perfectly fine. But admittedly I should have used the correct screenshot.
  • Memory leak in StackView.replace?!

    Unsolved
    5
    0 Votes
    5 Posts
    439 Views
    A
    @J-Hilk no, we don't have an initialComponent set.
  • Create a MessageDialog using Qt Creator

    Unsolved
    3
    0 Votes
    3 Posts
    342 Views
    Q
    @JKSH Try "import Qt.labs.platform 1.1" (version number only needed in Qt 5, not Qt 6) instead of "import QtQuick.Dialogs 1.1". Thanks, it worked, but why do I need to import Qt.labs.platform 1.1 while the project is not of Qt 6 but Qt 5? The second question about that part is that, while the project works, but Qt Creator 6 doesn't recognize the element and draws a red line under it! Up to know, I guess Qt5 was better than the existing Qt6. Note: This version of MessageDialog is a bit different from the one you linked. That version does not give the expected output. So you think why I'm downgrading to qmake and Qt 5 while I'm normally using Qt6 and CMake! :|
  • Interacting with UI increases loop time in a separate worker thread

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • QML Application on Rasppberry, Mouse events are passed to the Raspbian Desktop

    Unsolved qml
    1
    0 Votes
    1 Posts
    161 Views
    No one has replied