Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • trying to use Qt6GLVideoItem

    Unsolved
    6
    0 Votes
    6 Posts
    974 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.
  • VTK integration issue in QML at runtime on Windows

    Solved
    2
    0 Votes
    2 Posts
    330 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.
  • Quick3d Material dynamic Texture with ImageProvider - not possible

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

    Solved
    11
    0 Votes
    11 Posts
    2k 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
    198 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
    148 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
    408 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
    941 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
    1k 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.
  • This topic is deleted!

    Unsolved
    2
    0 Votes
    2 Posts
    122 Views
  • 0 Votes
    6 Posts
    2k 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
    277 Views
    Anton1978A
    doesn't anyone know? it's sad
  • Drag and Drop support for TreeView

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

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

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • What is the meaning of res in qrc path like res:/xxx.png?

    Unsolved
    2
    0 Votes
    2 Posts
    324 Views
    S
    resource?
  • QML Loader, passing arguments to source

    Solved
    13
    0 Votes
    13 Posts
    2k Views
    mzimmersM
    @GrecKo said in QML Loader, passing arguments to source: required properties can't work in Loader's components unless you call setSource Well, that's that. Looks like I'll be using setSource() after all; a Loader is better for my use case than a StackView. Thanks to all who looked at this.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Missing types in QtQml even if I have imported QtQuick in Qt5.15.11 for Android

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