Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • ApplicationWindow width and height is not setting properly on Visibility changed

    Unsolved
    1
    0 Votes
    1 Posts
    152 Views
    No one has replied
  • QML Serial: Multiple qml files using 1 serial port

    Solved
    4
    0 Votes
    4 Posts
    361 Views
    T
    @sierdzio I found it...because I used Component "SerialPort" for each Item. So that created new Object . I try change qmlRegisterType -> QQmlComtext and it worked ...Thank you for your supporting. Have good day!!
  • Start animation with click on mouse area

    Solved
    4
    0 Votes
    4 Posts
    588 Views
    sierdzioS
    Most probably, yes.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Qt6.2.3 - QQuickWidget - QtQuick.Studio.Components ..

    Unsolved
    1
    0 Votes
    1 Posts
    384 Views
    No one has replied
  • Qt Create Qquickwindow with Qquickrendercontrol in another thread

    Unsolved
    1
    0 Votes
    1 Posts
    143 Views
    No one has replied
  • Problem in handling parallel states in Qt/Qml

    Solved
    4
    0 Votes
    4 Posts
    579 Views
    GrecKoG
    Or don't use states at all. import QtQuick 2.0 import QtQuickUltralite.Extras 2.0 Item { id: signal property bool show: false property bool showtwo: false Rectangle{ id: rect1; width: 50; height: 50; color: "green"; visible: !signal.show } Rectangle{ id: rect2; y:100; width: 50; height: 50; color: "red"; visible: signal.show } Rectangle{ id: rect3; x:100; width: 50; height: 50; color: "yellow"; visible: !signal.showtwo } Rectangle{ id: rect4; x:100; y:100; width: 50; height: 50; color: "black"; visible: signal.showtwo } Timer { running: true; repeat: true; interval: 1000 onTriggered: { console.log(signal.show); signal.show = !signal.show; signal.showtwo = !signal.showtwo; } } }
  • Future of QtLocation?

    Solved
    3
    0 Votes
    3 Posts
    292 Views
    M
    Thank you, good to know.
  • Is it possible to load QtCharts library with only QML without Qt/C++?

    Unsolved
    7
    0 Votes
    7 Posts
    827 Views
    piervalliP
    @fcarney We can write a core where you can espose all method to Qml. In this way UI can be adapted many screen without change the core.
  • how to recall a destroyed element in Qml?

    Unsolved
    3
    0 Votes
    3 Posts
    458 Views
    JoeCFDJ
    @fcarney https://doc.qt.io/qt-6/qtqml-javascript-dynamicobjectcreation.html destroy() does exist. I would use loader to recreate treebuttonUnmappedIn when it is recalled.
  • QQuickWindow::createTextureFromImage cant generate QSGTexture with mipmap

    Unsolved
    1
    0 Votes
    1 Posts
    161 Views
    No one has replied
  • QML_INTERFACE example

    Unsolved
    3
    2 Votes
    3 Posts
    819 Views
    JarrodJ
    @GrecKo said in QML_INTERFACE example: A QML_INTERFACE should not inherit from QObject Hi @GrecKo how did you determine this, can you point to some docs for further reading? I'm also confused by how these macros should be used correctly and in which circumstances. In my case I have a class A with some functions that are pure virtual. Subclasses of this are registered via qmlRegisterType(). I have another base class B with sub classes that are also registered. B has a property of type A.
  • How to use View3D.rayPick on QtQuick3D

    Unsolved
    1
    0 Votes
    1 Posts
    137 Views
    No one has replied
  • Dynamically add tabs - declarative approach?

    Solved
    4
    0 Votes
    4 Posts
    500 Views
    fcarneyF
    Models in QML depend upon notification. This will update when changing things in the model because it has notification signals: ListModel { id: lmodel } Repeater { model:lmodel } This will not if you try and modify vmodel elements (unless the change causes the vmodel variable itself to change): property var vmodel: [1,2,3] Repeater { model: vmodel } So code like vmodel.push(4) won't provide signals to change for the repeater to see.
  • How to send keyboard input under wayland?

    Unsolved
    1
    0 Votes
    1 Posts
    248 Views
    No one has replied
  • best way to remember informations about opened files

    Unsolved
    9
    0 Votes
    9 Posts
    709 Views
    JonBJ
    @jsulm said in best way to remember informations about opened files: calculate hashes from the content of both files using https://doc.qt.io/qt-5/qcryptographichash.html @tubbadu I don't believe you need any kind of cryptographic hash for your purpose of hash-content-for-compare. I believe Qt gives you an adequate implementation for your purpose in e.g. uint qHash(const QByteArray &key, uint seed = 0).
  • How does the Window's Flag "Qt::Desktop"works?

    Unsolved
    1
    0 Votes
    1 Posts
    200 Views
    No one has replied
  • Ubuntu 16.04: Unknown module(s) in QT: quickcontrols2

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    D
    I know for a fact that it is possible to have QtQuick.Controls 2 if Qt is built from source I was looking for a simpler way to install Qt (apt-get) and run a project of my own but if quickcontrols2 doesn't allow it, I'll just have to continue with the online installer option Thank you both, I'll close the topic if there isn't anything to add
  • [BUG?] Dangerous behaviour of FolderListModel when the folder specified is invalid

    Unsolved
    5
    0 Votes
    5 Posts
    492 Views
    T
    I'll try, thanks!
  • Animations on Treeview indicators not working correctly

    Unsolved qml qt6
    1
    0 Votes
    1 Posts
    218 Views
    No one has replied