Questions tagged [qt-quick]

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Quick is a framework that provides a declarative way of building custom, highly dynamic user interfaces with fluid transitions and effects, which are becoming more and more common especially in mobile devices.

Qt Declarative is a runtime interpreter that reads the Qt declarative user interface definition, QML data, and displays the UI that it describes. The QML syntax allows using JavaScript to provide the logic, and it is often used for this purpose. It is not the only way, however: logic can be written with native code as well.

Qt Quick and QML are officially supported in Qt 4.7 (with Qt Creator 2.1), and it is a commercial option in mobile applications when Qt 4.7 is available for deployment in Symbian and Maemo/MeeGo devices.

Qt Quick provides everything needed to create a rich application with a fluid and dynamic user interface. It enables user interfaces to be built around the behavior of user interface components and how they connect with one another, and it provides a visual canvas with its own coordinate system and rendering engine. Animation and transition effects are a first class concept in Qt Quick, and visual effects can be supplemented through specialised components for particle and shader effects.

Video Course

Pluralsight offers a course, Qt Quick Fundamentals, which specifically targets learning Qt Quick. It is part 2 of a three part course on the Qt framework.

Pluralsight is subscription based, but if you're only interested in Qt or Qt Quick you can send the author @todgentille a private tweet and request a week long VIP pass. You'll get unlimited access to the higher subscription level for a week that allows viewing online and offline and you can download the course materials.

884 questions
0
votes
1 answer

QML save image file on device

I have successfully downloaded image file from web by sending it with base64 from server. I used this tutorial to save that image on the device, but I need to specify the image directory according to different devices so I used the…
Nadarian
  • 962
  • 9
  • 22
0
votes
1 answer

HTML-like tables in pyqt

I'm currently starting a little program in python and pyqt. I have little to no experience on GUI programming but I need a table to present some items (like one in this website HERE ). I was wondering if there was any way to do this in pyqt (qtquick…
Dinesh Khadka
  • 67
  • 1
  • 3
  • 10
0
votes
1 answer

Qt 5.3.0: process crashes complaining about free() in QQmlImageProviderBase when closing QQuickView

I am working on a project recently migrated to Qt 5.3.0 (previously it was running on Qt 5.2.1). My project is based on a QQuickView object being filled with some QML files, depending on some command I receive from a communication protocol... Since…
Morix Dev
  • 2,700
  • 1
  • 28
  • 49
0
votes
2 answers

How do I manually scroll a TextArea of ScrollView (Qt Quick)?

If I have a TextArea or ScrollView, how can I manually set the scroll position, and ideally react to it too. This is to create a log window - I want it so that if I append text and the view was previously scrolled to the bottom, it is scrolled there…
Timmmm
  • 88,195
  • 71
  • 364
  • 509
0
votes
1 answer

QtQuick 2 Pass function to elements

I have a QML element "Button" which has a MouseArea element inside. What I want to do is to send a function to the item and then pass it to MouseArea: Example: Button{ id: smth ... ... onClicked: console.log("Someone Clicked…
George Sofianos
  • 1,141
  • 1
  • 13
  • 26
0
votes
1 answer

Change style property of QML element over event

I have a component which displays a custom combo box: Column { anchors.top: parent.top anchors.topMargin: 200 anchors.left: parent.left anchors.leftMargin: 30 Rectangle { id: rectangle1 …
sk2212
  • 1,688
  • 4
  • 23
  • 43
0
votes
1 answer

Need to send data to this file, don't know how to proceed

File:DropDown.qml import QtQuick 1.1 Rectangle { width:parent.width height: parent.height color:"transparent" Rectangle { id:comboBox property variant items:[1,2,3] signal comboClicked; width: 141 height:…
Jino
  • 345
  • 1
  • 2
  • 16
0
votes
0 answers

How to use QtQuick 2.2 components when my complete project is in QtQuick 1.1?

My project was made using QtQuick 1.1 and when I try to change it using import QtQuick 2.2, it shows error module "QtQuick" version 2.2 is not installed import QtQuick 2.2. I want to use QtQuick 2.1 and QtQuick 2.2 components. How can I do so? I…
Jino
  • 345
  • 1
  • 2
  • 16
0
votes
2 answers

QtQuick animation freezing on list and open serial ports

I wrote a C++ method to find all serial ports, open, write and close and use to Q_INVOKABLE to call this method from a QML. At QML, first I push a LoadingPage.qml to StackView and then I call the find() Serial Ports, inside the onClicked: Button…
Ricardo
  • 667
  • 9
  • 25
0
votes
1 answer

I have this version of Qt. still unable to use Qt.controls and QtQuick 2.0.

I have updated my Qt version to Qt Creator 2.7.1 Based on Qt 5.0.2 (32 bit) Built on Sep 6 2013 at 08:23:22 Still I am not able to use Qt Quick controls and Qt Quick 2.0. I get this error module "QtQuick" version 2.0 is not installed import…
Jino
  • 345
  • 1
  • 2
  • 16
0
votes
0 answers

Qt Quick Font Rendering Distortion when run inside Qt Creator

I am running this code inside Qt Creator 3.0.1 with Qt 5.2.1 (fresh install). http://qt-project.org/doc/qt-5/qml-tutorial2.html I get an error with font rendering similar to this issue: Qt font renders weird on OS X But it looks even worse: How can…
ecoe
  • 4,994
  • 7
  • 54
  • 72
0
votes
1 answer

View Qt.point value while debugging QML application

Ho can I view valie of point created with Qt.point() in Expression panel while debugging in Qt Creator? Now I see only 'object' without value. I can only debug points with console.log(point) but is is very inconveniently. In QML/Js console, if I…
folibis
  • 12,048
  • 6
  • 54
  • 97
0
votes
1 answer

Can't run the standard Hello World Qt Quick 2.0 project on Samsung Galaxy Tab 3 7" with Qt 5.2

I just bought a Samsung Galaxy Tab 3 7" with Android version 4.1.2. To do a simple test I wanted to run the Qt 5.2, Qt Quick 2.0, "Hello World" application. The program starts, but only a black screen is shown. I also tried the "QuickForecast" from…
uniquenamehere
  • 1,869
  • 3
  • 31
  • 60
0
votes
1 answer

How to print the value changed through the NumberAnimation on console?

import QtQuick 1.0 Rectangle { id: rect width: 100; height: 100 color: "red" property int hh:0 Text { text: hh } MouseArea { anchors.fill: parent onPressed: { animation.start() …
Aquarius_Girl
  • 21,790
  • 65
  • 230
  • 411
0
votes
0 answers

QML app chrashes after user-triggered drawImage call

I have this code: import QtQuick 2.1 import QtQuick.Controls 1.0 Rectangle { width: 640 height: 600 id: win Image { id: img source: "../../../../../Users/Public/Pictures/Sample Pictures/Hydrangeas.jpg" …
Andrey Kon
  • 747
  • 2
  • 6
  • 16