Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • 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
    127 Views
    No one has replied
  • MapPolygon border color doesnt change on update

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

    Solved
    6
    1 Votes
    6 Posts
    438 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
    497 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
    187 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
    162 Views
    No one has replied
  • App stoped working after `QTP0004 = NEW`

    Unsolved
    5
    0 Votes
    5 Posts
    702 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
    640 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
    367 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
    509 Views
    SGaistS
    You go the answer on this thread, correct ?
  • 0 Votes
    1 Posts
    147 Views
    No one has replied
  • Cannot load library but only on Windows

    Unsolved
    2
    0 Votes
    2 Posts
    240 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?
  • WebSocket qml:Messages can only be sent when the socket is open.

    Solved
    1
    0 Votes
    1 Posts
    110 Views
    No one has replied
  • How to install the Qt6 version of the QML Runtime Tool?

    Solved
    5
    0 Votes
    5 Posts
    850 Views
    RokeJulianLockhartR
    @RokeJulianLockhart, per bugzilla.redhat.com/show_bug.cgi?id=2345428#c1: The real binary is installed into /usr/lib64/qt6/bin/qml, and symlinked to /usr/bin as qml-qt6 to not conflict with the Qt5 version.
  • Enabling arrow-key-navigation with QtVirtualKeyboard on Qt 5.15.1

    Solved
    18
    0 Votes
    18 Posts
    3k Views
    jsulmJ
    @UnknownCollegeCoder said in Enabling arrow-key-navigation with QtVirtualKeyboard on Qt 5.15.1: Would you happen to know how I get this configuration to my current project? You don't! Again: this instruction is to BUILD Qt virtualkeyboard itself, not your project! After calling configure you call make and then "make install" (just like @Joseph-Keene shown already).
  • How to add application icon to python3 QGuiApplication?

    Unsolved
    3
    0 Votes
    3 Posts
    345 Views
    SGaistS
    @RokeJulianLockhart don't be so harsh to your younger self. People make mistakes. You have to learn from them and grow past them :-)
  • Is QML GPU accelerated by default?

    Solved
    3
    0 Votes
    3 Posts
    888 Views
    RokeJulianLockhartR
    QtQuick used to require a GPU to be present. But now a software renderer which has limitations. @SGaist, thanks for that. Never would have found that article in a million years. However, I found a comment which appears to summarise both its current state and why I asked this succinctly, if correct: Yes QtQuick is much much faster in rendering high resolution complex scenes due to leveraging the gpu through the use of QRHI. Its the awesome rendering abstraction Qt made so it will call Dx11 Dx12 Vulkan Metal Opengl depending on the platform you compile for. This ensures you use the best graphics api for the platform as Opengl drivers (from most gpu vendors)on windows sucks compared to DirectX, so much so google even developed ANGLE. But I hear you say the word ‘responsiveness’ and this is something were a very nasty truth comes to light about QtQuick. By default Qt uses VSync and a swapChain interval of 2 or 3 frames (you can configure this) to throttle the rendering so we are not rendering 7000fps for a screen that can only display 120 per second. This adds latency which is noticable to the user. Likewise, since I'm asking this in a KDE context, reddit.com/r/kde/comments/81dfdc/comment/dv37xdr is of use: Today we need to compare QWidget and QtQuick. QWidget is rendered with what raster used to be, so no. QtQuick is by default rendered with OpenGL, so yes. Though, I presume they mean QtWidgets in the stead of QWidget.