Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • 0 Votes
    3 Posts
    264 Views
    P
    [image: e7e95ae0-e17e-44c2-b1d7-bfe4b1435410.jpg] The complete picture looks like this
  • Bug in qt 5.15.2: Button.checkable = false is gettin ignored

    Unsolved
    2
    0 Votes
    2 Posts
    193 Views
    MarkkyboyM
    Checkable and checked are not components of Button QML. A similar question here; https://forum.qt.io/topic/36479/solved-button-checkable-and-checked-not-working albeit a different answer/outcome from my response. Regardless, I still myself, cannot use checkable or checked with Button.
  • Disabling Online Tile Requests in Qt 5.12 for Offline Map Functionality

    Solved
    3
    0 Votes
    3 Posts
    244 Views
    S
    @SGaist Thank you so much!
  • How to horizontally center an item in a ColumnLayout in a StackLayout?

    Unsolved
    2
    0 Votes
    2 Posts
    206 Views
    M
    It turns out wrapping the child Layout in an Item does the trick. Don't know why and whether this is the best solution import QtQuick import QtQuick.Controls import QtQuick.Layouts Window { height: 300 width: 240 visible: true StackLayout { anchors.fill: parent Item { Layout.fillWidth: true Layout.fillHeight: true ColumnLayout { anchors.fill: parent Rectangle { color: "red" Layout.preferredWidth: 100 Layout.preferredHeight: 50 Layout.alignment: Qt.AlignHCenter // Center within ColumnLayout } // other items } } // other items } }
  • 0 Votes
    6 Posts
    375 Views
    jsulmJ
    @VITORdk said in Error: ":\Qt\6.7.3\android_arm64_v8a\include\QtCore\qnamespace.:24:1: error: error: Parse error at "__attribute__"": So I reduced my file to an empty file You can't compile an empty file. Also, I guess your project consists of more than just an empty file. Please provide more information, else nobody knows what you're doing and what the problem is. Did you try to create a new widget project in QtCreator and build it for Android?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • How to dynamically insert a Node in View3d using cpp in qt5 qt quick 3d

    Unsolved
    1
    0 Votes
    1 Posts
    122 Views
    No one has replied
  • MapPolygon border color doesnt change on update

    Unsolved
    1
    0 Votes
    1 Posts
    78 Views
    No one has replied
  • No word suggestions on Android in TextEdit

    Solved
    6
    1 Votes
    6 Posts
    416 Views
    M
    Fixed in 6.8.2
  • QML + CSS

    17
    0 Votes
    17 Posts
    28k Views
    B
    I wonder if that forum post is referring to text components that support html to some extent, rather than to QML itself?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • 0 Votes
    7 Posts
    470 Views
    B
    Though that page doesn't show any QML examples as far as I can see. I recall having to try a few things when I first wanted to do this a few years ago. I don't know if what I arrived at is the "correct" approach, but the format that I found to work in QML and have stuck to ever since involves using a triple forward slash like this: source: "qrc:///images/my-image.png"
  • Facing an issue with Listview in Repeater

    Unsolved
    2
    0 Votes
    2 Posts
    173 Views
    jeremy_kJ
    @Praveen-Illa said in Facing an issue with Listview in Repeater: Hi Team, I am trying to control the visibility of the listview control on every button click for respective data model. But, I am getting below errors at "visible: buttonRepeater.model.expanded" Unable to assign [undefined] to bool Edited to emphasize the problem: Repeater { id: buttonRepeater model: groupModel delegate: Column { ListView { visible: buttonRepeater.model.expanded } } } buttonRepeater.model.expanded is attempting to access a property called expanded in buttonRepeater's model, not a role called expanded within a row of the model. Printing the values of buttonRepeater and buttonRepeater.model should make this clear.
  • Qt Quick with CMake Error

    Unsolved
    1
    0 Votes
    1 Posts
    154 Views
    No one has replied
  • App stoped working after `QTP0004 = NEW`

    Unsolved
    5
    0 Votes
    5 Posts
    667 Views
    D
    Looks like it's QTBUG-133587. I also have .js files in QML_FILES.
  • Hide Rectangle Behind Transparent Rectangle

    Unsolved
    6
    0 Votes
    6 Posts
    607 Views
    R
    @jeremy_k Thank you for your input. It seems I have to rethink the concept.
  • How to support Vulkan with QML?

    Unsolved vulkan qml c++ shader
    2
    0 Votes
    2 Posts
    340 Views
    SGaistS
    Hi, Are you looking for something like the Vulkan under QML example ?
  • How to use Arrow Key Navigation with QtVirtualKeyboard

    Unsolved
    5
    0 Votes
    5 Posts
    479 Views
    SGaistS
    You go the answer on this thread, correct ?
  • 0 Votes
    1 Posts
    139 Views
    No one has replied
  • Cannot load library but only on Windows

    Unsolved
    2
    0 Votes
    2 Posts
    212 Views
    T
    Okay so it seems that the problem is the compiler not being the same in Qt Creator than in Qt Design Studio. My Qt Creator kit on Windows is using MinGW but it's not compatible with whatever Qt Design Studio is using. Does someone know how to proceed?