Skip to content

QML and Qt Quick

Looking for The Bling Thing(tm)? Post here!
20.1k Topics 77.5k Posts
  • Load custom textures - QSGSimpleMaterialShader

    1
    0 Votes
    1 Posts
    904 Views
    No one has replied
  • Simultaneously touch two MouseAreas issue

    2
    0 Votes
    2 Posts
    930 Views
    T
    MouseArea is not suitable for multitouch. They only handle mouse events. Try "MultiPointTouchArea":http://qt-project.org/doc/qt-5.0/qtquick/qml-qtquick2-multipointtoucharea.html for touch events. There is also "TouchArea":http://qt.gitorious.org/qt-labs/qml-toucharea/ for Quick1
  • ListView select newly added item

    1
    0 Votes
    1 Posts
    622 Views
    No one has replied
  • SequentialAnimation, how to reduce the gap.

    1
    0 Votes
    1 Posts
    691 Views
    No one has replied
  • Best practice: Integrate .js file to a project

    5
    0 Votes
    5 Posts
    2k Views
    I
    this doesn't work for me. The program didn't find the file. Perhaps this is because of my mac system. But in Qt Creator this is an error, too.
  • [SOLVED] Installing QtQuick Controls

    21
    0 Votes
    21 Posts
    34k Views
    J
    weiyuemin: That worked. thanks!
  • Combining ParentChange with AnchorChanges

    9
    0 Votes
    9 Posts
    3k Views
    M
    Thanks maxus for posting your find! It makes sense now.
  • Call .qml from javascript

    4
    0 Votes
    4 Posts
    1k Views
    M
    Put your javascript logic that populates your controls in the QML source or pass the QML item reference (id) over to your javascript librarys functions as an argument?
  • "Proper" way of handling events for a node-based editor / system.

    5
    0 Votes
    5 Posts
    2k Views
    U
    Too bad there is no childAt() method in QML.
  • 0 Votes
    3 Posts
    2k Views
    I
    Thank you, @moeg687 ! This helped a lot.
  • [SOLVED] TypeError: Object has no method 'process' - BUT IT HAS

    3
    0 Votes
    3 Posts
    1k Views
    U
    Yep, one more time I forget to include the Q_OBJECT macro - IDE code generation is spoiling me.
  • 0 Votes
    2 Posts
    1k Views
    SGaistS
    I would say, don't allow to return from you editor until the user has given a valid input. That's not the job of the model to check that.
  • QML remote debugging doesn't work - symbol lookup error, undefined symbol

    9
    0 Votes
    9 Posts
    5k Views
    T
    Hi all! I got some additional information regarding my problem. When I try to start the application (Ctrl+R) instead of debugging it (F5) I basically see the same error from the application output: @/home/root/firstqml: symbol lookup error: /home/root/firstqml: undefined symbol: _ZN28QDeclarativeDebuggingEnablerC1Ev@ As it makes no difference if I use the Release or the Debug build configuration I think it is a fundamental problem with the Run/Deployment options and not a debugging issue in fact?!
  • At a loss

    4
    0 Votes
    4 Posts
    1k Views
    D
    Thanks. I have another question. Instead of the images being loaded from a folder can I have the images come from a .js
  • Qt Contols:Cannot build it in Qt 5.0.1 (Ubuntu 12.04.2 LTS)

    6
    0 Votes
    6 Posts
    2k Views
    S
    Yes,it solved my problem.Thanks!
  • Debugging a crash in libQtDeclarative (Qt 4.8.1)

    2
    0 Votes
    2 Posts
    1k Views
    S
    I just wanted to inform you guys about the solution to my problem. In summary, the problem seemed to be a C++ / QML-engine interfacing and memory management issue: I was lucky enough to identify a small set of candidate revisions of the software which potentially caused the described behavior. In these changes, there was noticeable that in the QML/Javascript code there was a lot of manual fiddling with list models. For example, specific list-model entries (provided by the C++ core) were accessed via ListModel.get(), and they were in turn stored as static property values. I assumed that this is dangerous because as soon as the C++ core deletes the list model entries, it is not guaranteed that the references stored within the QML engine are properly cleared. Therefore, I modified this part of the implementation, and suddenly the application was running perfectly stable again.
  • Get file info when dropping a file in DropArea

    3
    0 Votes
    3 Posts
    3k Views
    M
    The DropArea component uses the QQuickDropEvent class which does not give access to mime data like the QDropEvent class does. Why don't you try creating your own custom qml component and override the dropEvent function which uses the QDropEvent class. That way you would have access to the file path.
  • OnClicked issues

    2
    0 Votes
    2 Posts
    1k Views
    M
    Yes you can. @ MouseArea { id: mousearea11 x: 56 y: 51 width: 118 height: 110 anchors { fill:parent; rightMargin: 502; bottomMargin: 286; leftMargin: 56; topMargin: 51 } onClicked: { mainLoader.source = "load_images.qml"; page.state = 'State1'; } } @
  • Passing data to HTML file through WebView element

    1
    0 Votes
    1 Posts
    600 Views
    No one has replied
  • 0 Votes
    2 Posts
    975 Views
    T
    I'm not quite following you here - so do you want to simultaneously display data from A, B, and C? Isn't that going to mean having separate QML root contexts anyways? Do you want to display them all in the same root context, but at different times in the program's execution? In that case, can you unbind and rebind data A, B, and C from the root context?