Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.4k Posts
  • How to get the camera preview buffer using QML Camera class

    2
    0 Votes
    2 Posts
    734 Views
    E
    Can any one help me for achieve how to get the preview buffer from the camera using QML Camera class. Thanks In Advance
  • [Solved] ObjectModel is not a type

    5
    0 Votes
    5 Posts
    3k Views
    X
    I had the same problem. ObjectModel is a type used by the official Qt5 getting started tutorial. The tutorial: "tut-link":http://qt-project.org/doc/qt-5/gettingstartedqml.html ObjectModel documentation: "doc-link":http://qt-project.org/doc/qt-5/qml-qtqml-models-objectmodel.html You need to make sure that the qtqml models package is installed as shown here: "sol-link":http://askubuntu.com/questions/450948/module-qtqml-models-is-not-installed That's what worked for me.
  • How to display camera preview full screen and maintain aspect ratio

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    SGaistS
    Hi, Please don't post the same question twice Closing this one "Duplicate":http://qt-project.org/forums/viewthread/41981/
  • How to get network drive uisng Qt

    3
    0 Votes
    3 Posts
    2k Views
    X
    I don't know if Qt has a way of doing that, but this would be a start: @ QFileInfoList drives = QDir::drives(); @ but I don't see anything in QFileInfo to detect if a drive is a network mapped drive, only if you have no letter assigned in windows so the path starts with "//"!?
  • How to display camera preview full screen and maintain aspect raion

    1
    0 Votes
    1 Posts
    622 Views
    No one has replied
  • Manipulate On Shapes drawn by canvas

    2
    0 Votes
    2 Posts
    788 Views
    T
    Hello, I think about one solution: declare a component (support drag feature) wrapping canvas. For onPressed signal I will create one dynamic component as well as trigger onPaint of canvas on that component. Other ideas are welcomed. thanks
  • Animated FastBlur causes Qt Quick application to crash on exit

    5
    0 Votes
    5 Posts
    2k Views
    S
    Issue seems to be solved in Qt5.3 https://bugreports.qt-project.org/browse/QTBUG-38468
  • Qt Widgets in QML

    6
    0 Votes
    6 Posts
    2k Views
    JKSHJ
    Oh, I see. In Qt Quick 2, QDeclarativeView is now called "QQuickView ":http://qt-project.org/doc/qt-5/qquickview.html Use the QQuickView to show your QML file. Then, call QWidget::createWindowContainer() to put the QQuickView inside other widgets. (See https://blog.qt.digia.com/blog/2013/02/19/introducing-qwidgetcreatewindowcontainer/ for an example).
  • How to get frame rate fron camera preview streaming

    1
    0 Votes
    1 Posts
    558 Views
    No one has replied
  • I want to create a portable PyQt5.2.1 package [Question]

    20
    0 Votes
    20 Posts
    13k Views
    M
    i find this 3 files in windows/system32 WINMM.DLL OLEAUT32.DLL WINMMBASE.DLL that i think should be shipped with exe file. and this to is shipped with file QWINDOWS.DLL LIBEGL.DLL and i think it can't use it because it don't have permission to access to them. :(
  • 0 Votes
    9 Posts
    13k Views
    L
    Alright i will try to do that ! However, I am not using a namespace therefore I don't know if that is really relevent is it?
  • 0 Votes
    2 Posts
    1k Views
    R
    If i undestand your right so you can "process the event":http://qt-project.org/doc/qt-5/qml-qtquick-keys.html#onTabPressed-signal and you need to know this "article":http://qt-project.org/doc/qt-5/qml-qtquick-item.html#activeFocusOnTab-prop
  • [solved]MessageDialog looks different compared to rest of GUI

    2
    0 Votes
    2 Posts
    727 Views
    R
    You can't. This component is built in plugin and don't use any resources of platform. You can define your own dialog or use QDialog at C++ side. Good luck.
  • Using local types in remote qml files

    5
    0 Votes
    5 Posts
    1k Views
    D
    Thanks, that great answer cleared everything up :)
  • 0 Votes
    2 Posts
    838 Views
    M
    Just now discovered that the content changed during scrolling as the delegates were getting recreated and becoming visible. this is because the function was generating random text. even when the function was truned to return same output for same input the contentheight is giving different values.
  • Antialiasing with QtQuick 2.0 and canvas

    5
    0 Votes
    5 Posts
    3k Views
    V
    I have the same problem. How to enable antialiasing with Canvas?
  • [SOLVED] How to define default property of type list in qml

    2
    0 Votes
    2 Posts
    2k Views
    V
    see https://bugreports.qt-project.org/browse/QTBUG-10822 you can try, @ id: root property list <MyItem> myChildren default property alias children: root.myChildren @ Do you test your code in Qt 5.3?
  • 0 Votes
    3 Posts
    1k Views
    X
    Hi, I prefer to use "qmlRegisterType":http://qt-project.org/doc/qt-5/qqmlengine.html#qmlRegisterType to expose a c++ class to QML, so you can create objects from QML rather than c++.
  • QQuickView as transparent with parent window.

    7
    0 Votes
    7 Posts
    8k Views
    J
    I'm sorry mchiasson, but I found another way to do my thing, without need of transparency. I wish you luck to get it work!
  • Can't deploy "Hello World!" Qml example (Win7)

    5
    0 Votes
    5 Posts
    1k Views
    JKSHJ
    -Actually, the trick only works for DLLs that are required when the app launches. Plugin DLLs allow themselves to be deleted once the app is up and running.- Whoops, ignore that. I was loading the plugins from my development folder instead of my deployment folder. Wiki updated!