Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
19.6k Topics 75.8k Posts
  • updating to 6.8 from 6.5.3 broke qml type registration

    Unsolved
    1
    0 Votes
    1 Posts
    13 Views
    No one has replied
  • 0 Votes
    7 Posts
    87 Views
    SGaistS

    Then the next step is to check the bug report system to see if there's something related.

  • trying to use Qt6GLVideoItem

    Unsolved
    6
    0 Votes
    6 Posts
    85 Views
    SGaistS

    The one I cited in my previous message.
    @SGaist said in trying to use Qt6GLVideoItem:

    Hi and welcome to devnet,

    From the look of it, your system provided GStreamer is too old to contain Qt6's items and AFAIK, it's available through the gst-plugins-good package.

  • Button Hover States

    Unsolved
    1
    0 Votes
    1 Posts
    14 Views
    No one has replied
  • 0 Votes
    3 Posts
    57 Views
    E

    Hi,

    sure here is my example code.

    https://github.com/neji78/QSGClipNodeExample.git

    thank you @SGaist

  • 0 Votes
    1 Posts
    13 Views
    No one has replied
  • VTK integration issue in QML at runtime on Windows

    Solved
    2
    0 Votes
    2 Posts
    59 Views
    W

    This error appears because I was running a Debug target with a Release version of VTK. No problem if you link a Debug app with a Debug VTK or Release app with a Release VTK.

  • 0 Votes
    1 Posts
    19 Views
    No one has replied
  • Rotate QtQuick.Controls 2.x Dialog

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    L

    @jpnurmi-0 said in Rotate QtQuick.Controls 2.x Dialog:

    Popups follow Window::contentOrientation that you can set to match the rotation that is applied on the content:

    import QtQuick 2.12 import QtQuick.Window 2.12 import QtQuick.Controls 2.12 ApplicationWindow { id: window width: 640 height: 480 visible: true contentOrientation: listModel.get(comboBox.currentIndex).orientation contentItem.rotation: listModel.get(comboBox.currentIndex).rotation ComboBox { id: comboBox textRole: "text" anchors.centerIn: parent model: ListModel { id: listModel ListElement { text: "Portrait"; orientation: Qt.PortraitOrientation; rotation: 0 } ListElement { text: "Landscape"; orientation: Qt.LandscapeOrientation; rotation: 90 } ListElement { text: "Inverted Portrait"; orientation: Qt.InvertedPortraitOrientation; rotation: 180 } ListElement { text: "Inverted Landscape"; orientation: Qt.InvertedLandscapeOrientation; rotation: 270 } } } }

    This gets me really close, but I have two problems with the QML Drawer component. 1. When setting the edge property, the position is incorrect; 2. the "drag" directions are not rotated. Are there any solutions to these issues?

  • How to set paddings/indent for GridLayout

    Unsolved
    2
    0 Votes
    2 Posts
    28 Views
    SGaistS

    Hi and welcome to devnet,

    Are you thinking about setSpacing ?
    Or maybe setContentMargins ?

  • CMake 3.20.6 : missing dependency file

    Unsolved
    1
    0 Votes
    1 Posts
    22 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    10 Views
    No one has replied
  • BoxPlotSeries QML model in C++

    Solved
    5
    0 Votes
    5 Posts
    217 Views
    D

    Does anyone know how to set labels for BoxPlotSeries using VBoxPlotModelMapper? In the documentation the following is written:

    Each box-and-whiskers item contains data starting from row 1. The name of an item is defined by the column header.

    However, it is unclear to me what "column header" refers to in this context. I attempted to implement the headerData method, but it wasn't called. Any insights would be appreciated!

  • Qml 6 Bug on Window Restore from Task Bar

    Unsolved
    10
    0 Votes
    10 Posts
    343 Views
    J

    For info, and for people arriving from a web search, the Qt bug that was filed is here: https://bugreports.qt.io/browse/QTBUG-125037

  • Cannot assign to property of unknown type "QString".

    Unsolved
    3
    0 Votes
    3 Posts
    63 Views
    dheerendraD

    In addition what @Axel-Spoerl has already said, avoid using title, data as your properties. data is already as property in item. So confusing. Better use some other names.

  • Error creating module for QML

    Unsolved
    2
    0 Votes
    2 Posts
    47 Views
    dheerendraD

    Can you paste your cmake & what is the error ?

  • 0 Votes
    6 Posts
    1k Views
    S

    For audio playlist management and cross-platform transfers, I highly recommend using MuzConvtool, which makes it easy to move playlists between these services without losing track of your favorite songs.

  • how to click on a 3D object?

    Unsolved
    3
    1 Votes
    3 Posts
    74 Views
    Anton1978A

    doesn't anyone know? it's sad

  • Drag and Drop support for TreeView

    Unsolved
    1
    0 Votes
    1 Posts
    42 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    15 Views
    No one has replied