Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.0k Topics 77.3k Posts
  • QML video speed

    3
    0 Votes
    3 Posts
    3k Views
    S
    Also, this seems to grow in memory usage by about 50-100MB/s, which is insane. Is this just not being used by anyone? Just not on a mac? I used the latest released qt-mobility compiled from scratch, if that's helpful.
  • Why QML TextInput's setInputMask is removing spaces?

    Locked
    2
    0 Votes
    2 Posts
    3k Views
    V
    Is it intentional that you almost repeated your question you asked in this "thread":http://developer.qt.nokia.com/forums/viewthread/5331? Edit: closed for this very reason; Andre
  • QtQuick and QWebFrame::toPlainText()

    7
    0 Votes
    7 Posts
    4k Views
    V
    Im not unwilling to chat with you, but i dont know why we should. As i told you that i cannot help you out with your problem. I meant, maybi you can chat "here":http://irc2go.com/webchat/?net=freenode&room=qt and ask your questions.
  • VS 2010 + Qt Quick App.

    3
    0 Votes
    3 Posts
    4k Views
    M
    Use @qmake -tp vc@ on your .pro file. This will make proper .sln file to be loaded in Visual Studio.
  • Chaining painting to images [SOLVED]

    5
    0 Votes
    5 Posts
    3k Views
    M
    Well, it doesn't depend if I paint or not in paint() method. Which is more strange. All I have done is this @m_myImage = QImage(w, h, QImage::Format_ARGB32_Premutliplied); QPainter myImagePainter(&m_myImage); @ Nothing more. And I am still getting the same error.
  • Communication between C++ and QML

    6
    0 Votes
    6 Posts
    4k Views
    H
    Thanks everyone. I figured it out due to your help.
  • Qt Quick designer working with video element

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Dynamical theming of QML objects

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [SOLVED] Binding from javascript

    8
    0 Votes
    8 Posts
    5k Views
    F
    Thank you, I compiled qtquick11-stable clone, but it didn't help; I found other workaround, though - if someone would have similar problem (with dynamically created bindings of dynamically created items): *Firstly I created js stateful lib with declared two variables and assigned some objects to them (no matter what they were, just couldn't be nulls): @var firstHook = someExistingObject1 var secondHook = someExistingObject2@ *Next I created a wrapper component with my custom Line element including mentioned lib with properties 'startingPoint' and 'endingPoint' binded to these variables: @import QtQuick 1.0 import Lines 1.0 import "../../js/Curve.js" as CurveFunctions Line { id: line penColor: "red" penWidth: 2 startingPoint: Qt.point(CurveFunctions.firstHook.x, CurveFunctions.firstHook.y) endingPoint: Qt.point(CurveFunctions.secondHook.x, CurveFunctions.secondHook.y) }@ *Then I added two functions to my component which change values of those variables and simulated 1px move back and forth of previous binded objects, so properties could update properly: @ function setFirst(first) { CurveFunctions.firstHook = first someExistingObject1.x += 1 someExistingObject1.x -= 1 } function setSecond(second) { CurveFunctions.secondHook = second someExistingObject2.x += 1 someExistingObject2.x -= 1 }@ and it works. 'someExistingObjects' could have opacity 0.0, or be any accessible objects. I'm not proud of it, but I wasn't able to figure out some other solution.
  • Issue about sending an event to the QGraphicsScene/QML code.

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • GridView && horizontal scroll [Solved]

    3
    0 Votes
    3 Posts
    8k Views
    D
    Please, don't forget to mark thread as [solved]
  • QGLWidget Methods Not Called (InitializeGL, PaintGL, resizeGL)

    3
    0 Votes
    3 Posts
    5k Views
    H
    Thank you for the response. I've done that too. It doesn't address why I can't break at the QGLWidget's internal functions if it is used as the viewport. I've looked briefly at QGLView, which is in 4.8. It looks like that might be a good place for me to start.
  • Animation on coordinate

    3
    0 Votes
    3 Posts
    2k Views
    D
    We're looking into adding support for this at some point, so that the interpolation between coordinates along a great circle will be handled for you. Unfortunately we don't have that at the moment, so there'll probably be a bit of maths involved. This page should be helpful if you decide to go down that road - http://www.movable-type.co.uk/scripts/latlong.html
  • Bizarre QML animation bug

    3
    0 Votes
    3 Posts
    4k Views
    M
    Thanks - clearly I didn't read the documentation thoroughly enough. :) Purely in the spirit of improving the docs, it would be easier to find the right thing if the PropertyAnimation documentation mentioned PropertyAction for immediate property changes. Actually, looking at it again I can see I was in a hurry because I've used PropertyAnimation and NumberAnimation almost randomly - completely independent of whether the property is actually a number! I'll give PropertyAction a try and see if it makes any difference. It's not a major issue because I get what I wanted by just switching the last two items in the sequence.
  • Problem with textbox

    5
    0 Votes
    5 Posts
    3k Views
    H
    So is there any workaround for it? I found that Quick Search application in Symbian can do this.
  • Adding lines and shapes to a QML display?

    14
    0 Votes
    14 Posts
    11k Views
    mzimmersM
    Inkscape is as ugly as tobacco subsidies. The UI makes me feel like I'm back in the 1980s. I'm going to try to find something -- anything -- else.
  • [solved] QML and fragment shader

    3
    0 Votes
    3 Posts
    2k Views
    M
    It look awesome. Thanks
  • Anchors problem with several texts

    5
    0 Votes
    5 Posts
    3k Views
    M
    Of course, here is the image for baseline usage t1/t2 and code snippet from last post for t2/t3 :) !http://www.treggs.de/img/Image1.png(Baseline image)! Edit: fixed image tag. Image tag gets screwed if you don't enter an alternative text; Andre
  • [Solved] Qt.labs.particles...

    5
    0 Votes
    5 Posts
    7k Views
    D
    The same problem came up again with Qt 4.7.2 on Kubuntu natty. To fix it an additional package needs to be installed. libqt4-declarative-particles
  • Mixing QML GUI and GraphicsView painting

    8
    0 Votes
    8 Posts
    4k Views
    Z
    I would start by trying to port the "Scribble":http://doc.qt.nokia.com/latest/widgets-scribble-scribblearea-h.html example that ships with Qt to QGraphicsView and take it from there.