Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • How send me data json from QML in C++?

    6
    0 Votes
    6 Posts
    5k Views
    T
    Thanks. This is what I need
  • Change property of items in component from outside

    10
    0 Votes
    10 Posts
    5k Views
    p3c0P
    That's fine. But I think binding to to global property would be the best way. Anyway if you find any other way please post it so that others would too benefit from it.
  • Using C++ signals in QML

    6
    0 Votes
    6 Posts
    2k Views
    p3c0P
    The scope of person object would be limited to just needChangeStr() and would be destroyed when it goes out of scope.
  • Reading Korean Characters from .csv and displaying on LineEdit

    11
    0 Votes
    11 Posts
    3k Views
    S
    HI Subst27, I sent you an email. If you have time then kindly look at it. Thanks
  • What is the size of the QML engine cache ?

    2
    0 Votes
    2 Posts
    671 Views
    SGaistS
    Hi, That's a question better asked on the "interest":http://lists.qt-project.org/mailman/listinfo/interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented. Out of curiosity, why that question ?
  • Transparent window

    24
    0 Votes
    24 Posts
    7k Views
    p3c0P
    It seems to b a bug then since it works on Linux. You can report it on "Qt bugs tracker":https://bugreports.qt.io. Mention the scenario, OS, Qt Version and possibly a small reproducible example.
  • [GIVEN UP] Scoping Problem - how to explicitly access a parents property?

    2
    0 Votes
    2 Posts
    620 Views
    T
    I switched to a GroupBox with lots of RadioButtons since I have to get this done. Doesn't look too bad, either. But if anybody ever finds out how to address a "model" of an ancestor from within a child that has its own "model", please let the rest of the world know!
  • [SOLVED] QQmlListProperty and append, at, clear, count - how to use them?

    7
    0 Votes
    7 Posts
    4k Views
    T
    I've seen the pages but skipped over the "model"-part - thanks for the link, I'll have a look. Maybe I will need to know how to circumvent using QQmlListProperty in the future. ;)
  • Drag and Drop between two different QQuickWidgets

    6
    0 Votes
    6 Posts
    1k Views
    p3c0P
    Can you post the sample code that you created ? So that we can understand clearly.
  • 0 Votes
    3 Posts
    1k Views
    N
    Hi, sorry for the late reply. I looked at your code and no, it's not the effect i needed. What i needed was the rotation of the path view as if it were the mouse dragging it. I tried to obtain this effect by injecting the mouse movement into my application via c++ but it didn't give me the right feel so i went for a repeater item. I set the repeater to follow the arc i needed and acted upon its angle, thus obtaining the desired effect. Thankyou for your time
  • [SOLVED]HTML font face tag not work with QML Text

    3
    0 Votes
    3 Posts
    2k Views
    D
    It's work! Thank p3c0! Thank you very much!
  • QQuickWidget shows random shapes upon first run

    2
    0 Votes
    2 Posts
    923 Views
    O
    I recompiled my program with console enabled. It's showing this output when QQuickWidget is shown (no output directly after start): C:\Users\Vendelin\Downloads\Deployment>qq_pokus.exe OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr OpenGL Warning: crPixelCopy3D: simply crMemcpy'ing from srcPtr to dstPtr err:[0xa04]:d3d:D:\tinderbox\add-4.3\src\VBox\Additions\WINNT\Graphics\Wine_new wined3d\resource.c 218: Resource 041F0FD0 is being unloaded while mapped. When it's run for the second time, it's showing QML scene properly, but prints the same error message.
  • VideoItem in qtgstreamer-plugins example has red hue

    2
    0 Votes
    2 Posts
    813 Views
    SGaistS
    Hi and welcome to devnet, This package not being part of the Qt distribution, you should rather contact the authors of QtGStreamer, you're more likely to get a quick answer there
  • QML Video Element OSX fail

    1
    0 Votes
    1 Posts
    753 Views
    No one has replied
  • Qtcanvas3d-WebGL-ThreeJS

    2
    0 Votes
    2 Posts
    1k Views
    G
    Does the youtube video help? (Try fast forwarding to 38 minutes, I think..) "https://www.youtube.com/watch?v=XvKDUWPA9O4":https://www.youtube.com/watch?v=XvKDUWPA9O4
  • [Solved] How to make full screen in qt quick?

    7
    0 Votes
    7 Posts
    32k Views
    C
    Alternatively, you can solve this using only qml; this has the advantage that the qml content is initially rendered in an already fullscreen window and signal onWindowStateChanged is not called twice: @ import QtQuick.Window 2.2 // Window.FullScreen import QtQuick.Controls 1.3 // ApplicationWindow // Note for OS X: using Window instead of ApplicationWindow only hides the dock (and shows it again when app is quit) ApplicationWindow { id: mainWindow visible: true // this is mandatory visibility: Window.FullScreen onWindowStateChanged: { console.log( "onWindowStateChanged (Window), state: " + windowState ); } } @
  • Right Way of Updating a QML File from C++

    3
    0 Votes
    3 Posts
    986 Views
    U
    [quote author="p3c0" date="1421902957"] Yes that is also a right way. For other approaches you can check "this":http://doc.qt.io/qt-5/qtqml-cppintegration-interactqmlfromcpp.html doc.[/quote] Thanks very much.
  • QML MediaPlayer and iOS

    7
    0 Votes
    7 Posts
    2k Views
    A
    On the bright side support for video on iOS with Quick may come in Qt 5.5, so stay tuned.
  • How do I enable/disable ANGLE?

    7
    0 Votes
    7 Posts
    8k Views
    O
    dxdiag both over Remote desktop and on the broken machine shows DirectX 11. My application isn't printing anything relevant to console. I also added this code: @ connect(this, &QQuickWidget::sceneGraphError, [this](QQuickWindow::SceneGraphError reason, const QString &msg) { QMessageBox::critical(this, "Error", msg); });@ and expected to get some error message on the computer with the broken graphics driver, but I get nothing. It looks like "QTBUG-36065":https://bugreports.qt.io/browse/QTBUG-36065 is still present in my case, although it's marked as fixed. I'd really like to show the user at least an error message when this happens.
  • 3rd Party JavaScript Libraries

    1
    0 Votes
    1 Posts
    422 Views
    No one has replied