Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.6k Posts
  • VideoOutput: poor downscaling quality

    Unsolved
    3
    0 Votes
    3 Posts
    184 Views
    K
    Thank you, I just tried this: layer.enabled: true layer.smooth: true // tried both true and false here layer.mipmap: true No visual changes, unfortunately.
  • This topic is deleted!

    Unsolved
    4
    0 Votes
    4 Posts
    87 Views
  • Error: Unqualified access [unqualified]

    Solved
    5
    0 Votes
    5 Posts
    252 Views
    DeSGuND
    @GrecKo Thank you, I set setInitialProperties and the errors disappeared
  • Can i use Canva3D in Qt 5.15.2 version

    Solved
    5
    0 Votes
    5 Posts
    332 Views
    S
    @Christian-Ehrlicher Thank You
  • Segmentation fault while using QMedialpayer in qt 6.7 on i.MX8QXP custom board

    Unsolved
    5
    0 Votes
    5 Posts
    255 Views
    SGaistS
    You are recreating pkt1secAudio every time. You should really check the lifetime of all your objects.
  • Errors in using ApplicationWindow in Qt Quick Design

    Unsolved
    6
    0 Votes
    6 Posts
    376 Views
    JKSHJ
    @Blackzero said in Errors in using ApplicationWindow in Qt Quick Design: @JKSH Yes, the application can still run. I hope that in the future, Qt Quick Plugin will support ApplicationWindow. There is an open change request for this. You can watch/vote for it: https://bugreports.qt.io/browse/QDS-10914 I forgot: It should also work if you use Window instead of ApplicationWindow. But the latter is a lot more feature-rich.
  • 0 Votes
    1 Posts
    103 Views
    No one has replied
  • Qt 6.9 and QML harmony?

    Unsolved
    11
    0 Votes
    11 Posts
    851 Views
    JKSHJ
    @Mucip said in Qt 6.9 and QML harmony?: Program is working but no intellisense. If you use setContextProperty() or qmlRegister*() functions, then the classes are only registered AFTER the program starts running. That's why code completion (Intellisense) doesn't work -- because your classes have not been registered so the QML tools can't see your classes. The documentation contains a warning about the problems of context properties: https://doc.qt.io/qt-6/qtqml-cppintegration-contextproperties.html Instead, use the QML_ELEMENT + QML_SINGLETON macro with qt_add_qml_module() to register your class automatically when building your project. Then, code completion can work. The "QML Video" example (https://doc.qt.io/qt-6/qtmultimedia-video-qmlvideo-example.html ) shows how to do this with its VideoSingleton class: https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/video/qmlvideo/qmlvideo/videosingleton.h?h=6.9 https://code.qt.io/cgit/qt/qtmultimedia.git/tree/examples/multimedia/video/qmlvideo/qmlvideo/CMakeLists.txt?h=6.9 For more information about integrating C++ and QML, see https://doc.qt.io/qt-6/qtqml-cppintegration-overview.html
  • Qt 6 custom permission string? requestPermission

    Unsolved
    2
    0 Votes
    2 Posts
    135 Views
    SGaistS
    Hi, From a quick search it's seems there's an android specific private API that you can leverage. Please note the warning that comes with it.
  • Does TextEdit/QTextDocument could be used for a complex editable document

    Unsolved
    1
    0 Votes
    1 Posts
    91 Views
    No one has replied
  • Help! Why QSGDefaultPainterNode causes memoryleak instance unsigned char[]

    Unsolved
    4
    0 Votes
    4 Posts
    255 Views
    Christian EhrlicherC
    This tells me nothing - we need a minimal, compilable example to reproduce the problem and you have to use a proper memory checking tool.
  • How to use Qt Virtualkeyboard in my QML program?

    Solved
    10
    0 Votes
    10 Posts
    2k Views
    S
    @raven-worx I have followed all this but i am getting a wired thing displayed on my screen by following this process. The back ground contians some UI from my page but when the keyboard is poping up it is looking like this . [image: 2cba5105-17fb-4491-ad5f-5ed0a3ba9fc9.png]
  • Optimized way to colorize SVGs

    Unsolved
    4
    1 Votes
    4 Posts
    313 Views
    GrecKoG
    As an alternative, we are using Icons to color svg images meant for button or action icons : https://doc.qt.io/qt-6/qtquickcontrols-icons.html#icon-themes
  • How to fix "Missing QML.Element class info for XXX"?

    Unsolved
    4
    0 Votes
    4 Posts
    309 Views
    GrecKoG
    Are you using a QGuiApplication or a QApplication? You should be using the latter.
  • How can I resolve the error: module "QtCharts" is not installed?

    Solved
    7
    0 Votes
    7 Posts
    401 Views
    D
    @JKSH Thank a lot for your concise reply—it really solved my problem! :) Although I didn’t set the QML_IMPORT_PATH, I had bundled all dependencies into the .../target/debug folder for debugging convenience. Qt then loaded QML modules from there by default, but since QtCharts was missing, a runtime error occurred. After deleting everything except third-party libraries in the folder and rebuilding, Qt now loads modules from the installation directory, and everything works fine. Your explanation gave me a much clearer picture of how Qt handles QML module loading, especially the fallback behavior—I am truly grateful!
  • Setting up release build viable directories in QtQuick

    Solved
    3
    0 Votes
    3 Posts
    200 Views
    J
    Awesome, thanks for the insight!
  • Recommendations for Well-Written Open-Source QML Projects to Study

    Unsolved
    10
    0 Votes
    10 Posts
    1k Views
    I
    Here are some other notable projects I came across on GitHub that I think are worth checking out: Cool Retro Term – A terminal emulator that mimics the look and feel of old-school CRT monitors. Very nostalgic and well-crafted. Meshroom – A powerful 3D reconstruction software based on photogrammetry, open-source and great for experimentation. Dots hyprland – A neat Hyprland dotfiles collection with a clean and customized look. shell – Another dotfiles repo, minimal and well-structured, perfect for ricing inspiration. V2Ray Desktop – A GUI client for V2Ray on Windows, useful for managing proxy configurations. Hope these are helpful to others as well!
  • QML Image: Cannot open - CMake qrc

    Solved qt6.5 qml qrc cmake qtcreator 10.0
    15
    2 Votes
    15 Posts
    8k Views
    MucipM
    Hi, I solved by below edit but it is not good way. source: "file:///C:/Users/HP/Documents/Qt/Panel/car.png" Regards, Mucip:)
  • Qt don't see QtQuick library?

    Unsolved
    1
    0 Votes
    1 Posts
    73 Views
    No one has replied
  • Is there anyway to create histogram without using Qgraphs or Qchart

    Solved
    7
    0 Votes
    7 Posts
    452 Views
    V
    Thank you! I did not see your comment and tried with QQuickItem, it also worked! [image: 1a35fd2d-bfa9-4a61-b1d1-4931fcd7b1f4.png]