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

[SOLVED] import components from qrc

Thanks for your replies. Solved.

View Article


[Solved]Get ListModel count outside of delegate...

Thanks for your quick response! I am impressed by the speed I can get help from this forum.

View Article


MultiTouch ASSERT: "itemForTouchPointId.isEmpty()"

Hello, i have problems with Qt5.1.1 on an embedded linux device. When i use a MouseArea Element and i touch with multiple fingers on the display the programm aborts with the following message: ASSERT:...

View Article

How to make QQuickView scrollable?

Ok, thank you for answer. Meanwhile I decide to use QGraphicsScene and set QQuickView aside, in spite of advantages like QML 2.0. I set this thread not as solved, in case somebody else still searching...

View Article

Socketcan in QTQuick

Does anyone has a sample or example of Socketcan in QTQuick without using qwt just a simple working one. I am trying to use it and develope a software for embedded linux system.

View Article


Socketcan in QTQuick

socketcan is like a regular socket – you can use a QSocketNotifier and the usual IO classes offered by Qt, that can deal with a socket descriptor. But as you don’t want to use Qwt your question seems...

View Article

ComboBox is empty when loaded by asynchronous Loader

How do you release “cbPage” loaded by the loader before you load “cbPage” again by loader?

View Article

Get 3D coordinate of mouse position from onClicked in QML

I created a 3D room by using Quad in QML. It looks like this, view from the top I would like to implement the “add furniture” function. When I click on the ground of the room, a table will appear at...

View Article


[solved] Collision detect of items doesn't work or suported in Quick 2.0!

See https://bugreports.qt-project.org/browse/QTBUG-34712 It a bug in Item.contains() :-(

View Article


How to resize QQuickView?

Hi, I tried to set the size of a QQuickView window in a container widget, but it doesn’t resize. I would like to fill complete container widget with QQuickView window, like a foil over a ground. Also...

View Article

i have a question about rectangle, thanka!

in my program , when first run the program ,the rectangle read the listmodel’s data. i want to click the button in the rectangle to reste the data that rectangle readed. how to make it? for example:...

View Article

i have a question about rectangle, thanka!

Hi, Can you explain what do you mean by reset ? Do you want to default it to 0 ? Then just access the Rectangle using its id and set X and Y to 0.

View Article

WebView has Weird question on Qt 5 (size problem)

My code was as simple as those:             WebView {                 id:...

View Article


Define ListElement at an external file

hello I want define the ListElement in different file and use code like this: MyListModel.qml import QtQuick 2.0   ListModel {     dynamicRoles: true    ...

View Article

Change implementation according to different platform

ex : Rectangle{ android{ width: 320 height: 240 } win32{ width: 640 height: 480 } } I remember I saw something like this before, but can’t find it now(what keyword?).

View Article


What is the associate type of QList in qml?

class whatever: public QObject {     Q_OBJECT public:     explicit generalUnitConverter(QObject *parent = nullptr);      ...

View Article

initialize error of ComboBox : Cannot read property 'constructor' of undefined

When I try to initialize the model of ComboBox, weird error pop out import QtQuick 2.2 import QtQuick.Controls 1.1   Rectangle {     width: 100     height:...

View Article


How to capture an QML child element to an png?

Hi, I see this method: [stackoverflow.com] but it doesn’t work. I substitue QDeclarativeItem by QQuickItem: void Capturer::save(QQuickItem *item) {     QPixmap...

View Article

How to capture an QML child element to an png?

I also try this method. [qt-project.org] Don’t work. Item is null. I try with QML Rectangle and QML Image as imageObj.

View Article

Module QtAudioEngine is not installed

Hello all! I have trouble situation with qml audio engine. When i import QtAudioEngine 1.0 and click Run i have this: module “QtAudioEngine” is not installed I tried find audioengine module in QtDir,...

View Article
Browsing all 4972 articles
Browse latest View live