Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • Button Segmentation fault Qt 6.3.1

    Unsolved
    6
    0 Votes
    6 Posts
    926 Views
    J
    Any updates to this bug? I'm experiencing it in 6.4 only in debugger mode when I press F5 which makes it so impossible to debug the application
  • Delay function

    Unsolved
    6
    0 Votes
    6 Posts
    737 Views
    sierdzioS
    Just throw in await sleep(1); at the end of your JS code, then.
  • Resolution problem

    Solved
    2
    0 Votes
    2 Posts
    232 Views
    JKSHJ
    Hi, and welcome! @saivineeth said in Resolution problem: When i have run the code then the screen is not coming in full screen If you want the window to be fullscreen, call showFullScreen() if i do maximize then it is coming full screen If you want the window to be maximized, call showMaximized()
  • Cannot assign to non-existent property "..."

    Solved
    11
    0 Votes
    11 Posts
    3k Views
    GrecKoG
    The import versions have nothing to do with it. Are you using QRC to embed your .qml files? Do both file are included in the QRC? At the same path?
  • QUUid in Qml

    Unsolved
    1
    0 Votes
    1 Posts
    366 Views
    No one has replied
  • Creating interface for terminal

    Unsolved
    3
    0 Votes
    3 Posts
    322 Views
    P
    In QML, i'm using ScrollView along the TextArea to view the input commands and output. I'm facing two problems here: The TextArea doesn't scroll down automatically, i want the ScrollView to show me the latest output so that i doesn't have to scroll down manually to see it. I'm unable to change the TextArea background color. The background I want to be transparent so that it reflects the main windows background. ScrollView { id: view anchors.fill: parent TextArea { id: outputTxt color: "black" readOnly: true selectByMouse: true text: "TextArea\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n...\n" anchors.fill: parent } } [image: 3e7e8086-937b-4d31-810f-b2b80d4d683b.PNG]
  • How can I select a string from a list and transfer it to another QML?

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

    Unsolved
    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • How to show tooltip over custom QQuickPaintedItem?

    Unsolved
    1
    0 Votes
    1 Posts
    157 Views
    No one has replied
  • Error while building/deploying project on ios

    11
    1 Votes
    11 Posts
    10k Views
    Q
    Restarting the target Device worked for me. However, to delete any previously installed Application, delete it via XCode and not manually from the device {Delete App} and then restart. If already deleted manually, simply restart the target device. Tested on Qt 5.15.9 and iPad 6th gen and OS 14.0
  • Usings enums as the return type of a function, does not work in qml

    Unsolved
    4
    0 Votes
    4 Posts
    870 Views
    sierdzioS
    I meant Q_DECLARE_METATYPE(application::BookOperationStatus) but it probably does not apply in this case.
  • Adding SVG to resource with alias and referencing in QML

    Solved
    33
    0 Votes
    33 Posts
    6k Views
    JoeCFDJ
    Create at least two qrc files: one for images and one for qml. Better not to mix them up.
  • what' the deference between QQmlEngineExtensionPlugin and QQmlExtensionPlugin

    Unsolved
    3
    0 Votes
    3 Posts
    379 Views
    C
    thank you.
  • How to make always on top ?

    Solved
    6
    0 Votes
    6 Posts
    1k Views
    SPlattenS
    @J-Hilk , thank you, I will experiment
  • How to import a file?

    Unsolved
    1
    0 Votes
    1 Posts
    156 Views
    No one has replied
  • I cannot run EBike Design example because of quickstudiocomponentsplugin.dll

    Unsolved
    2
    0 Votes
    2 Posts
    257 Views
    J
    I could solve the problem by going back to QT 5.15.2 coming from 6.3.2. However the example still does not work out of the box. All QtQuick imports miss version numbers and Screen01 is not found.
  • QML Dynamically add/remove from GridView

    Unsolved gridview loader qml
    1
    0 Votes
    1 Posts
    318 Views
    No one has replied
  • How to console log a JS object

    Solved qml
    5
    0 Votes
    5 Posts
    1k Views
    JKSHJ
    @AkshayFP said in How to console log a JS object: This is so weird. I am not sure why I am not able to print it. Try creating a new, blank project and test it there. I'm guessing your original code has something like cycleOptionsAllowed = [] somewhere.
  • How to use configure project to open correctly in Qt Creator

    Unsolved
    19
    0 Votes
    19 Posts
    2k Views
    jsulmJ
    @SPlatten said in How to use configure project ot open correctly in Qt Creator: Is it possible that these are only resolved at runtime? Could be, I'm not a QML expert. Is this code line in your project?
  • Compilation Process in Qt Creator using command prompt.

    Unsolved
    3
    0 Votes
    3 Posts
    534 Views
    D
    @jsulm said in Compilation Process in Qt Creator using command prompt.: @Sharathkumar-T After running qmake you simply run make or mingw32-make.exe. I don't know what you're trying to achieve with "qmake.exe E:\ExampleCode..." - this does not make sense. Also, on windows you need to add .exe suffix to make. Thanks a lot for your advice