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

qml file not found

The C:/Users/emb-raghshu/build-TestProject-Desktop-Debug is your working directory. Your app is looking for the qml file in the working directory. But if you start the program the qml file ist still in...

View Article


Run QtQuick tests from main.cpp

how can I run tests for QtQuick-Applications in the main.cpp? The main.qml have a rectangle and inside some buttons. The test class MouseClick.qml implements the javascript test functions who should...

View Article


Crash Application when I using QAbstractListModel as subclass to custom...

Hi everyone! I need help with QAbstractListModel. I develop application where I need show items as tree. I use QML component from here [qt-project.org]. I’ve created the model list object as subclass...

View Article

TestCase - Test Driven Development (TDD) in QML

Hi, I get the same error but I haven’t a solution.. I think you get this error for using TestCase{} without QUICK_TEST_MAIN(example) Maybee this is a Bug…

View Article

Distributing QtQuick application on Windows

I don’t think qt.conf is required. Some users are reporting some additional dependencies, please search this forum. Also, please consider consulting the deployment guide [qt-project.org].

View Article


Error while building/deploying project on ios

I have the same problem. Here how I solved: – Go to Xcode, connect my device to Xcode automatic create provisioning profiles. – Go to QtCreator and set up Qt iOS Device kit, select the iPad I connected.

View Article

QT 5.2 - Including / Importing a JavaScript Resource from Another JavaScript...

In my qml project I use a.js, bs.js and z.js. a.js and b.js use functions of z.js. So I included z.js with the following code in a.js and b.js: Qt.include("z.js") This worked...

View Article

Implementing updatePaintNode causes other QML elements to also draw incorrectly

I am trying to learn how to do basic drawing with a subclassed QQuickItem. Using this simple code to draw a line, my QML element does in fact draw a line, but having an implementation of this function...

View Article


QML Styling issues

Ad 1. Currently no. It is controlled by QT_QUICK_CONTROLS_STYLE env variable evaluated when first controls is used. Ad2. By using above variable but be informed that it is PRIVATE API and can be...

View Article


Implementing updatePaintNode causes other QML elements to also draw incorrectly

I have discovered that @geometry->setLineWidth(3); @in the code above extends to other QML elements and can distort them, even if those other QML elements are “normal” QML elements (with no...

View Article

[Solved] Is it possible? I want to paint on QGraphicsScene !!HELP..

hey thanku :)

View Article

[SOLVED] Howto use BusyIndicator?

Hi! In the meantime I have found a solution: import QtQuick 2.2 import QtQuick.Controls 1.1   Rectangle {     id: main     width: 360    ...

View Article

Animate smoothly to an specific index

Hi! I’m working to get a PathView (same problem goes for ListView) how do you scroll smoothly to an defined index? You can use PathViewId.incrementCurrentIndex() or PathViewId.decrementCurrentIndex()....

View Article


ListView is updated wrong when custom QSortFilterProxyModel changes

Hi I’m using a QML ListView which has a C++ class that extends QSortFilterProxyModel as a model. The filter can show all elements from the original model or filter some of them, depending on the value...

View Article

Crash Application when I using QAbstractListModel as subclass to custom...

Try Qt example. examples\quick\models\abstractitemmodel Thanks I will check!

View Article


How to pass ListModel data to C++ function

Hi, You can iterate and add the model data into an array and pass that array as QVariantList to the C++ function.

View Article

Multiple meshes or different colored vertex sets on a single QQuickItem?

Is it possible to have more than one draw call for a QQuickItem subclass? It seems to only support one QSGGeometry instance, which suggests it cannot. For example, suppose I am drawing a multi-colored...

View Article


Share data between dialogs

Hi, I have two dialogs with one lineEdit in each, and I wanna pass the text of the one lineEdit to the other lineEdit, but I don’t know how. Any idea?? thanks.

View Article

QML Video plays mp4 video flipped (upside down) on Qt5.2 Mac OS

Hi, I have the same problem with Qt5.1.1, on Windows 7 64, with an .avi video. Not what I would expect :).

View Article

Providing absolute/relative file path

File path passed from qml is taken in relative to Build directory qml path.I want it to be relative of source directory paths I am passing it. One option would be to copy given folder path inside qml...

View Article
Browsing all 4972 articles
Browse latest View live