跳到內容

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k 主題 77.7k 貼文
  • How to get the scrollbar to the left side of the window

    Solved
    5
    0 評價
    5 貼文
    849 瀏覽
    J
    @raven-worx Thanks for the guide I was able to fix the problem with the below code Flickable { id : flickable x: 0 y: 0 width: parent.width height: 425 contentHeight: rectangle.height contentWidth: rectangle.width clip: true ScrollBar.vertical: ScrollBar { width: 40 policy: ScrollBar.AlwaysOn parent: flickable.parent anchors.top: flickable.top anchors.left: flickable.left anchors.bottom: flickable.bottom }
  • QML animation blocked when integrating QQuickWidget(QML) and qwidget(VTK) in Python

    Unsolved
    1
    0 評價
    1 貼文
    329 瀏覽
    尚無回覆
  • Qml SVG Image producing aliased result

    Solved
    4
    1 評價
    4 貼文
    1k 瀏覽
    C
    @fcarney I appreciate the response but this didn't work for me. This however, led me to look further into the documentation. I was aware of smooth, anti-aliasing, and sourceSize which I all tried and didn't work. Solution The solution in the end was mipmap: true on the image, which results back to a smooth image. This is default to false, and I didn't realise that scaling the image down would produce a bad quality image but turns out, yes.
  • How to test if a file exist on Android when the url comes from QML FileDialog?

    Solved
    5
    0 評價
    5 貼文
    2k 瀏覽
    mbruelM
    @fcarney perfect that's exactly what I needed! my bad, I didn't go to the bottom of the documentation... Yes QML Image loads perfectly this kind of url: content://com.android.providers.media.documents/document/image%3A455947 So I'm just storing it as a string and do the test in QML rather than in C++. No need of an hidden image, it can be done directly on the visible one with something like this: Image { id: dogPicture fillMode: Image.PreserveAspectFit; height: parent.height/2 - 8* spacing source: dog.pictureUrl anchors { top: parent.top topMargin : spacing horizontalCenter: parent.horizontalCenter } onStatusChanged: if (status === Image.Error) source = dog.dogIconDefault(); } with my C++ accessor being: QString Dog::pictureUrl() const { if (_pictureUrl.isEmpty()) return sDogIconDefault; return QUrl(_pictureUrl).toString(); } Thanks @fcarney ;)
  • General scoll for ListViews in ListView

    Unsolved
    1
    0 評價
    1 貼文
    104 瀏覽
    尚無回覆
  • How to detect QML app minimization on android?

    Unsolved
    1
    0 評價
    1 貼文
    195 瀏覽
    尚無回覆
  • QtQuick Controls: Material Style not found?

    Solved material qml style qtquick control
    3
    0 評價
    3 貼文
    2k 瀏覽
    lopeztelL
    Solved it by adding the line qputenv("QT_STYLE_OVERRIDE","Material"); in main.cpp
  • MediaPlayer on iOS stops when playing other sounds

    Unsolved
    1
    0 評價
    1 貼文
    145 瀏覽
    尚無回覆
  • GPU Memory leaks when redo update custom QQuick3DGeometry

    Solved
    4
    0 評價
    4 貼文
    517 瀏覽
    K
    @jsulm I reported it just now. https://bugreports.qt.io/browse/QTBUG-100159
  • How to paint a QML custom component in Qt Design preview

    Unsolved
    1
    0 評價
    1 貼文
    160 瀏覽
    尚無回覆
  • Unable to access Q_PROPERTY for QML_SINGLETON object.

    Solved
    3
    0 評價
    3 貼文
    271 瀏覽
    M
    Thank you very much. It works fine now.
  • mapping dynamic points on a map

    Solved qml qml map geocoordinate
    3
    0 評價
    3 貼文
    705 瀏覽
    K
    Finally found MapItemView which does what I am searching for.
  • 0 評價
    2 貼文
    335 瀏覽
    V
    Taken directly from the 5.15.8 docs for DisplaySettings: ========================================== Detailed Description There is no need to create an instance of this object. To use it, simply import the QtDeviceUtilities.DisplaySettings module. ========================================== But where is it? Why does it not exist for Windows? We have a commercial license. Where is this documented functionality? What is required to insure that the install of Qt that we are using includes the required library/module? In an operating room, setting the brightness is a very valuable capability. And, yes, I know what a singleton is, having created numerous singletons for this project.
  • 此主題已被刪除!

    Solved
    2
    0 評價
    2 貼文
    42 瀏覽
  • How to extend qml containers (Row or Column) in another file

    Solved row qtquick
    4
    0 評價
    4 貼文
    773 瀏覽
    GrecKoG
    It's documented in the QML Reference : https://doc.qt.io/qt-5/qtqml-syntax-objectattributes.html#property-attributes
  • 此主題已被刪除!

    Solved
    3
    0 評價
    3 貼文
    106 瀏覽
  • undefined reference to library function in Qtcreator

    Unsolved
    2
    0 評價
    2 貼文
    828 瀏覽
    jsulmJ
    @Narahara said in undefined reference to library function in Qtcreator: And I use a library developed by Visual Studio 201 Is this library a C++ library? If so then you have to use compiler from Visual Studio 2013 to build your app, because you can't mix binaries compiled with different compilers.
  • project.exe does not launch

    Solved qtquick qml windows 10
    3
    1 評價
    3 貼文
    868 瀏覽
    J.HilkJ
    @RLocksley said in project.exe does not launch: windeployqt project.exe if that is the whole command you used, that you missed the --qmldir parameter https://doc.qt.io/qt-5/windows-deployment.html
  • Zooming OrthogonalCamera in QtQuick 3D

    Unsolved
    1
    0 評價
    1 貼文
    237 瀏覽
    尚無回覆
  • Use QZXing in qml

    Solved
    13
    0 評價
    13 貼文
    6k 瀏覽
    lukas_kosinskiL
    @ekkescorner I worked on that and now it supports much more formats. Currently it's a PR opened, but it should be soon merged: https://github.com/scytheStudio/SCodes/pull/11 Sorry that I add the comment to a quite old post. I simply wanted people to know it and not be misled.