Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Browsing all 4972 articles
Browse latest View live

resolution independent gui

Get this book [qt-project.org] and do some examples. You will get it in no time; layouts are easy. Or dive into Examples [qt-project.org]. Read about the Qt Designer [qt-project.org]. And read the...

View Article


How can I access the "currentItem" of a ListView before it is changed by...

I actually did get it to work by handling the up and down key events. Problem is that if you handle the key event then that bypasses the normal behavior of list navigation by the keys so you have to...

View Article


Error installing Qt3D with QtCreator and qt5

Hi You beat me to it, cudo’s!! Running it now. Would be nice if you made the above in a final document and send it to the Qt3D developers. I bet there are much more NOOBS like us wanting to use it. And...

View Article

Passing QLists to QML

Whats the point of getting Lists into QML ? Why is the support of model handling so neglected ? Why is there no way to just pass a simple QList<CustomObject*> to qml ? I found nothing...

View Article

Using Flickable::resizeContent with mouse

Hi! I want resize content on onDoubleClicked, but Flickable::resizeContent demands the third parameter as QPointF type. How can I obtain this from mouse. I have only mouse.x and mouse.y...

View Article


How can I view PDF files on QML (QtQuick 2) ?

Try use a Poppler library [poppler.freedesktop.org]

View Article

Can we change a rootcontext ?

When we run a rootContext() on say QQuickView or QmlEngine, it returns a qml context. I was wondering if I can set/change this with a new one (qml context) ?

View Article

C++ Registered Type QInvokable Call

Hello, I have built a little QML-Application and have a problem: When i call a C++ Function, exposed by QINVOKABLE macro, the GUI freeze until the call returns. Details: I build a c++ class database...

View Article


QML project can't be run by Static Qt linking version , Qt 5.2

I can’t run QML project by Static Qt linking version , Qt 5.2 rc1 on Windows 7 or Windows 8 An error occurred: Project ERROR: Unknown module(s) in QT: quick qml It’s very simple project of built in qml...

View Article


Android Google Play Services integration with qt5.2

Hi, I am developing mobile app in qt and now need to add Google Play Services in qt project. I have successfully added the AndroidExtras to use the android native code in it. But I am struggling to...

View Article

QML project can't be run by Static Qt linking version , Qt 5.2

You’re welcome. I’ll see what else i can find about your issue.

View Article

Accessing model roles in qml

Hi, The usual way of accessing roles is using model.roleName ListModel { id: mod ListElement { role0: "hello"; role1: "aaa" } ListElement { role0:...

View Article

How I can draw shadows on the QQuickPaintedItem?

Hi everyone! I have a UI element as a subclass of QQuickPaintedItem. This class must draw a some datas using paint “method”. How I can draw shadow for this element? For now I create a QML file which...

View Article


QML placeholder

Ah, I think my sleep-adled brain didn’t understand what you meant – I thought you meant placeholder text in a tooltip. I edited my previous post to correct the link (I am, obviously, new here, though...

View Article

Motion blur moving a rectangle

Hello: I’m trying to add some motion blur to the movement of a rectangle. Mi rectangle is this one:     Rectangle{         color:...

View Article


Android kit for Qt Quick UI

Hello, I’m trying creat a project as Qt Quick UI. When I was creat the project, the right side showed that support the on android platform even though I can not compile in android kıt.

View Article

cath the event of quit from application

ok, I will try controll from c++. Thank you for interest

View Article


Android kit for Qt Quick UI

This is a simple how to video that I followed and was able to get everything to work. It might help you, but without more information, I’m just taking a guess to what is wrong. Tutorial [youtube.com]

View Article

Qt 5.2 c++ model update stops working after a while

Hi everyone, I have an App, that works under Qt 5.1 (Windows), where I update a c++ model quite often, and show the result in two nested ListViews. But under Qt 5.2, after a few seconds the ListViews...

View Article

Qt 5.2 c++ model update stops working after a while

Hi, Can you write a minimal application that reproduces this ? If so, it might be a bug/regression. You should have a look at the bug report system [bugreports.qt-project.org] to see whether it’s...

View Article
Browsing all 4972 articles
Browse latest View live