About 396,000 results
Open links in new tab
  1. Declare a global property in QML for other QML files

    So if you need type checking and binding/change notify, simply declare your property as a member of the root object in your main.qml, and it will be accessible from everywhere in the …

  2. qt - Embed QWidget in QML - Stack Overflow

    The question is about embedding a QWidget inside a QML scene. While it is true that it is generally better to keep the application QWidget-based, you may still want to embed a …

  3. QQmlApplicationEngine failed to load component : "Type" is not a …

    Adding your MyTabView.qml to your project in the same directory of main.qml is not sufficient. You have to put your QML file in the Resources (probably main.qrc/qml/) in order to have it …

  4. c++ - Include another QML file from a QML file - Stack Overflow

    Oct 26, 2014 · The imported QML file defines a type whose name is the same as the filename (capitalized, less the .qml suffix). QML calls the type a reuseable component. You use that …

  5. qt - Customizing QML TabButton - Stack Overflow

    May 1, 2020 · I want to customize TabButtons in QML and I couldn't find sufficient properties here. I'm able to change the font color but how can I change the the underlying line style?

  6. Difference between width/height and implicitWidth/Height

    Aug 20, 2024 · What is the difference between width / height and implicitWidth / Height in QML? When should one set the implicit dimensions instead of the regular? When should one ask the …

  7. Reading and writing files in QML (Qt) - Stack Overflow

    Jul 26, 2013 · I am trying to implement Reading and writing files in QML and came across the linked article from Nokia but have not been able to successfully use the seemingly obvious …

  8. "QML module not found" error when clicking the "Design" button …

    A QML emulation layer (also called QML Puppet) is used in the Design mode to render and preview images and to collect data. To be able to render custom types correctly from QML …

  9. qt - Assigning anchors dynamically in QML - Stack Overflow

    Apr 20, 2021 · I am creating 2 elements dynamically in QML and need to assign them each an anchor binding. When I add the anchors.right and anchors.left syntax to the properties object …

  10. QML Column: possible QQuickItem::polish () loop - Stack Overflow

    Feb 21, 2021 · QML Column: possible QQuickItem::polish() loop and the application becomes unresponsive. Also if I don't use anchors the problem does not appear, but the Rectangle …