Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • Is it possible to apply gradient on texts?

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    G
    Hi, These are the Navigator and project structures: [image: 081b8062-142f-4c58-a08d-eb735d890c7e.JPG] [image: 4276b547-9983-4ef6-9900-083644bd88e2.JPG]
  • Opacity Mask on QT 4.8

    Solved
    5
    0 Votes
    5 Posts
    511 Views
    Matheus da Silva RibeiroM
    Hi @GrecKo ! Sorry for the delay in answering, I was not seeing this issue until yesterday. Anyway, I couldn't reproduce the effect as you suggested, but I appreciate the suggestion. To remedy the situation without delay, at least until the migration to Qt5, I used background image clippings to create the necessary effect. It was hard work with the part of the image positioning (they were 6 backgrounds and for each background were 6 cutouts), but it worked. Thank you!
  • How to smoothly change playback rate for Qml Video?

    Unsolved
    1
    0 Votes
    1 Posts
    207 Views
    No one has replied
  • ChartView & switch between ValueAxis and LogValueAxis

    Unsolved
    1
    0 Votes
    1 Posts
    153 Views
    No one has replied
  • Draw call returned Invalid argument. Expect corruption

    Unsolved
    2
    0 Votes
    2 Posts
    438 Views
    N
    @Nome007 Hello Still waiting Replay from Qt Thanks Nome
  • qml basic hash type

    Unsolved
    3
    0 Votes
    3 Posts
    583 Views
    GrecKoG
    A plain js array does that.
  • Making repeating code generic

    Solved
    8
    0 Votes
    8 Posts
    569 Views
    C
    @Circuits Fixed by making the QtObject an internal component of _theRectangle like so: //RectComp.qml import QtQuick 2.12 import QtQuick.Window 2.12 Rectangle { id: _theRectangle width: 100 height: 100 anchors.centerIn: parent color: "lightblue" property alias myObject: _theObject InternalObjectComp { id: _theObject } MouseArea { anchors.fill: parent onClicked: showComponent(_theObject); } }
  • It's bad practice to use JS for my software logic? should I use C++ instead?

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    E
    @LeLev Yes, you're right. For make http requests I think that JS is enough.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    8 Views
    No one has replied
  • How to scroll tableview in qtquick to the bottom ?

    Unsolved
    7
    0 Votes
    7 Posts
    4k Views
    S
    @arkceajin Thanks for the example. I figured out my issue isn't setting the position property. I am adding new rows to the table and calling the setposition on the tableVerticalBar. I think tableVerticalBar doesn't know about the newly added row (maybe the size of the verticalbar doesn't get updated) and it scrolls to one row before the last result. Button { text: "Add new row" onClicked: { tableModel.addNewRow(); //This is done in c++ table.tableVerticalBar.setPosition(1 - tableVerticalBar.size) } } // adding new row in table model c++ beginInsertRows(QModelIndex(), rowCount(), rowCount()); table.append(newRow); endInsertRows(); How do I know when the size of the scrollbar is updated to call the setposition? I have tried adding two buttons one inserting the table row, another to set the position of the scrollbar. Using two buttons puts the scrollbar to the last result. But how do I do it in one button press?
  • QML: Stream MP3 and MP4 from online Ressource

    Unsolved
    2
    0 Votes
    2 Posts
    210 Views
    A
    bump bump
  • Qt qml mediaplayer not playing mp4

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    IntruderExcluderI
    AFAIK on Windows DirectShow doesn't support mp4 out of box. Probably you need to install 3rd party codecs into your system. Usually installing k-lite codec pack solves the problem.
  • 0 Votes
    2 Posts
    256 Views
    R
    @r3d9u11 Ok, problem was solved Just need to export variable with correcnt video source: export QT_GSTREAMER_CAMERABIN_VIDEOSRC=imxv4l2videosrc
  • Failure Creating QOpenGLContext in Console Based Application

    Solved
    4
    0 Votes
    4 Posts
    508 Views
    B
    Ah ha! Simple creating an instance of QGuiApplication at the beginning of my test has appeared to resolve this problem, at least. Thank you for the help!
  • integrating qml and gstreamer

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi and welcome to devnet, Did you saw that these bindings are unmaintained ? There's a GStreamer sink in the gst-plugins-bad package soon to be moved to gst-plugins-base.
  • Flickering VideoOutput

    Unsolved
    3
    0 Votes
    3 Posts
    483 Views
    B
    Hi @Yunus. I've stripped down the original application and created a minimalistic sample application which also have this issue (at least at my side). Note that I used Qt 5.9.6 (32-bit) MSVC2015 (on Windows 10). You can download it from here: https://filebin.net/pw9e9ns9b8qzfdl2 Please let me know if you experience the same issue.
  • Composing QML objects from different files: Accessing functions in parent

    Unsolved
    4
    -1 Votes
    4 Posts
    256 Views
    A
    If I receive this signal in PlotOverlayA, it should bexecute a function defined in Plot.qml Do you mean "emit the signal" in here? are the PlotOverlayA only children item of Plot?
  • Scrolling inside text field

    Unsolved
    10
    0 Votes
    10 Posts
    4k Views
    A
    This can be implemented using ScrollView or Flickable. I create a demo in Github: https://github.com/arkceajin/QtDemos/tree/master/FlickableInput I think it shall match the RS that you mentioned. But it still needs some improvement for the text cursor which I will try to complete in future.
  • How to buffer the video in QML before playing it.

    Unsolved
    3
    0 Votes
    3 Posts
    257 Views
    C
    Because this question is simplified and does not require reading elaborate.
  • Repeater-like item for non-Items

    Unsolved
    1
    0 Votes
    1 Posts
    120 Views
    No one has replied