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

Qt 5 - qmlRegisterType gives "module is not installed".

Perhaps you are performing the registration too late? Try at least moving it before setupUi() is called. I’ve tried it, and it didn’t change anything. I’ve also tried to add this line in main.cpp,...

View Article


QML MouseEvent

Hi, The following are my qml codes. I am creating the task component on a mouse click on main.qml. Can you please specify where I have to accept/reject the mouse events. main.qml import QtQuick 2.0...

View Article


qml dynamic component creation - Mouse Events

Hi, The following are my qml codes. I am creating the task component on a mouse click on main.qml. I have an issue regarding the mouseEvents. When I make any mouse click on Taks.qml (dynamically...

View Article

Compile project with UI dialogs which will have QML version and classic...

Does it is possible to have same project which will have UI dialogs that are realized with Widgets and QML and to compile specific version of that project. Example i want to compile project with...

View Article

qml dynamic component creation - Mouse Events

try enabled:false in inside the onClicked handler in main.qml.

View Article


Looking for Scene Graph Examples That Don't Use C++

It was recently suggested that I use Scene Graph instead of Canvas for building 2D graphic apps with QML and JavaScript. However, all of the Scene Graph examples I found use some or all C++ and I’d...

View Article

Network of Nodes/Arcs with Scene Graph

I found an example of a network of nodes and arcs called elasticnodes that uses Graphics View. Is there anything similar that uses Scene Graph? Are there any node/arc examples using Scene Graph?...

View Article

Qml Buttons and onClicked

I just made it a mouse area and used onPressed and onReleased

View Article


Compile project with UI dialogs which will have QML version and classic...

Thanks Dheerendra, Yes, can you share some code example about your statement “It is better you include conditional statement inside the code itself call either Qt Widget UI or QML UI”?

View Article


Extending QtQuick.Controls ApplicationWindow to set OpenGL format

Hello everyone, I am trying to write a simple OpenGL desktop application using QtQuick with QtQuick.Controls. In particular I want to make use of the MenuBar, StatusBar, ToolBar etc. features defined...

View Article

Passing QImage to Qml

Right now i have got a Delegate of a PathView which Inherits a Image which get’s its source from the PathView Model. I am passing the source of my QImage’s to my PathView Model by adding it as a...

View Article

Passing QImage to Qml

Thanks for your reply Vincent007, but that doesnt look like what i am searching for. I am trying to implement a QImage or QPixmap in QML without having a source or path.

View Article

Extending QtQuick.Controls ApplicationWindow to set OpenGL format

Using ApplicationWindow stuff is very convenient. It’s unfortunate that one can’t change their OpenGL version/profile when using it. This seems like a very typical use case for desktop application...

View Article


Getting the Axis aligned Bound Box of an item is has transformations...

I need to find a way to retrieve the AABB of an item that works even if it has transformations applied. I thought anchors was always AA, but left can look to bottom with a rotation of -45 degrees. I...

View Article

Does anyone use QML Video element with Qt 5.2 ?

Does anyone use QML Video element with Qt 5.2 ?

View Article


Passing QImage to Qml

Request sent to Digia including this code: main.cpp: #include "Model.h" #include <QDeclarativeContext> #include <QDeclarativeView> #include...

View Article

Getting the Axis aligned Bound Box of an item is has transformations...

I got the solution, I just miss Rect are Axis Aligned so we can simply apply the item transformation to get the AABB : AABB.qml import QtQuick 2.1   Rectangle {     id: aabb...

View Article


Hello I am looking to try and use QAudioOuput within my QT program. I am...

Hi, Please don’t post the same question multiple times Duplicate [qt-project.org]

View Article

Adding a MouseArea and/or signal handler to an object created through...

Hi all, There seems to be 2 ways of creating Qt Quick items dynamically, as described in http://qt-project.org/doc/qt-5/qtqml-javascript-dynamicobjectcreation.html . I’m currently creating new copies...

View Article

How to bind QML /C++ class on QtQuick2ControlsApplicationViewer

Currently I’m developing QtQuick application by QtCreator3.0.0, Qt5.2.0, and MSVC2012. I want to make an application that calls C++ function from qml. Based on this article [qt-project.org], it works...

View Article
Browsing all 4972 articles
Browse latest View live