Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.6k Posts
  • Audio files don't play in QML app on iPhone

    Unsolved
    15
    0 Votes
    15 Posts
    2k Views
    tomyT
    @J.Hilk Modifying the ios{ ... } block in the .pro file removed the prior errors. I also added those lines into the code of main.cpp, and installed the project via Qt Creator on the phone, but no voice yet! That is, neither sound.play(); nor onClicked: playExplosion.play() plays the audio file on the phone. :(
  • QML Circular Gauge Styling - Needle trailing colour/glow

    Unsolved
    11
    0 Votes
    11 Posts
    11k Views
    PientashekP
    @jars121 Could you put a sample code on how to get this effect using OpacistyMask and ConicalGradient? I am trying to implement this effect but with a poor result..
  • Loading UI Form from disk, logic deployed as resource

    Solved
    11
    0 Votes
    11 Posts
    1k Views
    fcarneyF
    Another option that you could use for development is to add an additional import path: engine.addImportPath("D:/Projects/qmltest/qml"); qInfo() << engine.importPathList(); Then during development you don't have to copy files.
  • How to properly style QML Texts

    Unsolved
    1
    0 Votes
    1 Posts
    185 Views
    No one has replied
  • Achieve an effect

    Unsolved
    3
    0 Votes
    3 Posts
    343 Views
    Z
    good,thank you very much
  • problem with ListView

    Unsolved
    9
    0 Votes
    9 Posts
    999 Views
    C
    ok I understood thanks for your help
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to get popup window with checkbox on button click

    Solved
    3
    0 Votes
    3 Posts
    766 Views
    Pablo J. RoginaP
    @sush123 if your issue is solved, please don't forget to mark your post as such. Thanks.
  • 0 Votes
    7 Posts
    2k Views
    D
    iam using ubuntu 16.04 ,also in options->devices it is showing Android settings are OK. (SDK Version: 26.1.1, NDK Version: 15.1.4119039) edit : i think it was due to NDK version ,it was 15.1 earlier .i think because of that it was giving error !! now i changed it to Android settings are OK. (SDK Version: 26.1.1, NDK Version: 19.2.5345600) now it is working fine , iam able to debug and run .. thanks All for the support ..
  • plugin.qmltype problem? 3DBars example scene does not have member

    Unsolved
    2
    0 Votes
    2 Posts
    305 Views
    gfxxG
    I update the code with slider for test some property: scene.activeCamera.yRotation: vertSlid.value scene.activeCamera.xRotation: orizzSlid.value scene.activeCamera.zoomLevel: zoomSlid.value It work perfect but still exist the error M17 ... why these?? It is only plugin.qmltype problem?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    30 Views
    No one has replied
  • Styling a checkbox

    Solved
    3
    0 Votes
    3 Posts
    4k Views
    G
    @Gojir4 I also need to provide an image for the indicator CheckBox { id: checkBox checked: true anchors.verticalCenter: parent.verticalCenter visible: model.checkbox style: CheckBoxStyle { indicator: Rectangle { implicitHeight: 16 implicitWidth: 16 border.color: "#22add8" color: "transparent" Image { x: (parent.width - width) / 2 y: (parent.height - height) / 2 source: "images/tick.png" visible: checkBox.checked } } }
  • QML TextArea emoji width measure error

    Solved
    1
    0 Votes
    1 Posts
    221 Views
    No one has replied
  • changing combobox index when selection of another combobox is changed

    Solved qml combobox
    9
    0 Votes
    9 Posts
    10k Views
    J.HilkJ
    @koahnig said in changing combobox index when selection of another combobox is changed: Probably a really stupid question: Why do I need "===" and not "==" ? Because you want to be really really sure that they are equal x) No, JavaScript does conversion checks as well "1" == 1 -> true "1" === 1 -> false And I love C++!!! hear,hear!
  • QML TreeView Idicator Color

    Unsolved
    1
    0 Votes
    1 Posts
    274 Views
    No one has replied
  • Difference betwee debug and release builds

    Unsolved qml
    13
    0 Votes
    13 Posts
    4k Views
    J.HilkJ
    @GrahamLa That's actually not a misunderstanding the argument too --qmldir should be the path (absolute) to the folder, where your own qml files are located. By pointing it to the qt installation it did copy all qml dependencies in your deployment folder and you're probably never going to use the majority of it.
  • 0 Votes
    5 Posts
    1k Views
    P
    @raven-worx thanks for your help. solved.
  • Dynamic created objects are not released within QML's Column!

    Unsolved
    3
    0 Votes
    3 Posts
    373 Views
    J
    Hhhm... the code was only a simple snipped. The original code where the issue occurs is more complex, import scripts, uses inheritance, access C++ objects. The posted example was very small and tight. Now I have prepared a better example, consists of serveral files (qml, js). It's similar to original code structure. When I start this example at beginning the memory usage rises fast and much space. After short while its rises slower and less space... but rises continually. I have tested it with Qt's qmlscene.exe. Note: I have tested also on Win10, with Qt 5.4.1, no memory issue! Strange
  • how to add coding for a button

    Unsolved
    4
    0 Votes
    4 Posts
    469 Views
    J.HilkJ
    If you don't want to create your own QML object with a MouseArea than you can use the Button.qml that QtQuick.Controls 2 offers https://doc.qt.io/qt-5/qml-qtquick-controls2-button.html
  • adding two numbers in textbox

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