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

Can't get menu bar in Qt Quick Components, using C++ and QQmlApplicationEngine

I should also note that the window itself does show, and any components (such as a text area) I put in it will show as well, just not the menu bar. In case it makes a difference I’m on Ubuntu 14.04

View Article


Usage of setContextProperty

qml editor? are you using some kind of qml editor? because that code is entirely valid, all things otherwise.

View Article


qml image sub region (spritesheet) but with centered image

Is there no qml element that can both let me disable stretching, and let me sample from a subregion of an image? Using animatedsprite, but without animation loads it fine how I want it. But there is no...

View Article

How to rotate and change location of a png in GraphicsView

hi i have to create hand motion animation but not advanced just rotate and change location by small distance in loop is enough but i dont have any idea please help my code is here: QPixmap...

View Article

How to add integers into array

Hello i am new at QT so some errors i have i need to record three audio channel data streaming in. So i have created three arrays and checked how is it working but it seems array is not working...

View Article


What do I have to write on the QML Video source property in order to show rtsp ?

I want to show streaming media (rtsp) through QML Video element. I tried to write: source: “rtsp://10.1.30.244:554/rtpvideo1.sdp” but the error string is: “Resource not found”. What do I have to write...

View Article

How to access C++ type from JavaScript code?

Did you import the type in main.qml? Eg: import org.world.hello 1.0 How is obj defined? Is it null when the error occurs?

View Article

How to add integers into array

Hi, Why static arrays ? Why are you using a pointer to a QStringList ? This class is implicitly shared Why are you assigning the string list each time in the for loop ? Once at the end is enough. Are...

View Article


QtQuickItem with custom opengl draw - after first frame, item dissapear

Basically i have this simple window with one GridLayout (for simplicity i added just one column and two rows). In first row, i have GLViewer, which is QtQuickItem, that is drawing custom gl in...

View Article


Dynamically adding items

I want to dynamically add items to a custom component when it’s created. According to http://qt-project.org/doc/qt-4.8/qdeclarativedynamicobjects.html , I can do this by creating an external JavaScript...

View Article

QtQuickItem with custom opengl draw - after first frame, item dissapear

pleas Qt guys, does anyone know where is problem?

View Article

Bug when using Loader in a directly instantiated QQuickView

Hey guys, There’s an issue on x86/win where when you create a QGuiApplication & subsequent QQuickView your application hangs when trying to call setSource any which way you try it (thru the...

View Article

Dynamically adding items

Oops, you’re right! The status is 3 (Component.Error), and the errorString is: “Cannot assign object to property”. Hmm, apparently the following causes the problem:     property...

View Article


ComboBox not draw on core profile?

ComboBox not draw on OpenGL core profile? If i use OpenGL 4.3 Core profile application crash. Qt 5.3

View Article

Best practice associating event handlers with state changes

Hi, Given the bug here: https://bugreports.qt-project.org/browse/QTBUG-27300 – what would be the “best practice” associating specific handlers with state? If you were implementing a vi-like keyboard...

View Article


Is there a way to see QML files in "live" ?

if you mean live preview, it’s been answered elsewhere. see this thread [qt-project.org] But I’ve seen some QtDD QML videos, they just re-run (Ctrl+R in Qt Creator) the program. Because you don’t...

View Article

Bug when using Loader in a directly instantiated QQuickView

File a bug report on http://bugreports.qt-project.org/

View Article


PathView with gesture [QML]

Hi, Can you send some code please else won’t be easy to help you. Thanks Sincerely

View Article

Create and Control a QML Component from C++

Hello, I am a beginner in qt-qml, I am trying to implement a client-sever application an hmi (a minimal one), the client receives data from server as messages and the client has to display the data on...

View Article

Create and Control a QML Component from C++

This is how I did it, please go through it and suggest any changes or different approaches for doing the same. QtQuick2ApplicationViewer *viewer = QtQuick2ApplicationViewer::instance(); QQmlContext...

View Article
Browsing all 4972 articles
Browse latest View live