Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
19.6k Topics 75.8k Posts
  • 0 Votes
    8 Posts
    107 Views
    M

    This is a known issue, see https://bugreports.qt.io/browse/QTBUG-120051. As you can see in the comment section, this is quite a tricky problem and not only Qt is affected by it. As far as I know, we were able to fix it on Apple systems but didn't find a D3D API (yet), that would allow us to do the same for Windows.

  • Button Hover States

    Unsolved
    2
    0 Votes
    2 Posts
    26 Views
    W

    It's working as expected on both linux debian 12 & windows 11 with Qt6.8.0
    I tried this code :

    import QtQuick import QtQuick.Controls Window { width: 640 height: 480 visible: true title: qsTr("Hello World") Button { id: button hoverEnabled: true height: 26 width: 140 background: Rectangle { color: parent.hovered ? "red" : "green" } onClicked: { dialogWindow.open() } } Popup { id: dialogWindow x: 100 y: 100 width: 200 height: 300 modal: true focus: true closePolicy: Popup.CloseOnEscape } }
  • updating to 6.8 from 6.5.3 broke qml type registration

    Unsolved
    1
    0 Votes
    1 Posts
    18 Views
    No one has replied
  • trying to use Qt6GLVideoItem

    Unsolved
    6
    0 Votes
    6 Posts
    92 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.

  • 0 Votes
    3 Posts
    58 Views
    E

    Hi,

    sure here is my example code.

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

    thank you @SGaist

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

    Solved
    2
    0 Votes
    2 Posts
    61 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
    29 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
    23 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
    345 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
    64 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
    76 Views
    Anton1978A

    doesn't anyone know? it's sad

  • Drag and Drop support for TreeView

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

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