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

Qt Quick doesn't build on Mac

Which version of Qt are you using ?

View Article


Best way to draw a gradient with model colors

Hi, is there a quick solution to draw a gradient with informations from a model (dynamic gradientsteps with different colors) ? Thank you

View Article


Getting OpenGL context > 2.1 on Mac OS X 10.10 (Yosemite)

Thank you for your reply (I had already read this article, very useful even if not exactly my case as I think this problem might be qtQuick/OSX specific). Ok so I managed to switch context (I forgot...

View Article

Set Sampling in QQmlApplicationEngine

Hey everyone, I was working through the bezier curve [qt-project.org] example for subclassing a QQuickItem, and I ran into some issues with turning on multi-sampling. In the example code from main.cpp...

View Article

[QML]javascript global "this"

In my QML project, //test.js function func() {    //func is the entrance function.     foo.apply({a:100},[]) }   function foo(){    ...

View Article


[QML]javascript global "this"

Hi, In QML, “this” is only defined when used in property bindings of QML components. There is no global “this”. See: Using this with Property Binding [qt-project.org] JavaScript Environment...

View Article

Is Qt Quick the right tool for my app ?

Hello and welcome to devnet, your GUI seems quite sexy so far. I will try to provide you an answer to all the points you mentioned: be able to recursively encapsulate elements Should be possible, you...

View Article

Disable window maximizing/showing in QML

I have an application in the QML/C++ that shouldn’t be able to be maximized/showed by user. It should stay minimized in taskbar whole time and when it receives a message from a server then it should...

View Article


QtQuick plugin not loading

I’m using Qt 5.4.0-RC on OSX Yosemite. Previous versions of my app were using older versions of Qt/QML without issue. After upgrading to 5.4.0-RC and updating my project files to get shadowed builds...

View Article


[SOLVED] ProgressBarStyle in a styling Singleton

The solution was to add a qmldir file with: singleton Style Style.qml

View Article

Problem with macdeployqt on Qt 5.4 RC

Today I’ve updated my Qt to Qt 5.4 RC and found the problem with macdeployqt tool. When I use this tool my application doesn’t load and in console I see this error: QQmlApplicationEngine failed to load...

View Article

Problem with macdeployqt on Qt 5.4 RC

Thanks, I asked a question today about the plugin not loading. I’ve created a bug for the invalid symlink: https://bugreports.qt-project.org/browse/QTBUG-42954 As for part 2 of your question, I’m...

View Article

Video element plays video at wrong position on IOS

See QTBUG-42721 [bugreports.qt-project.org] I raised this as an issue with iOS video placement (using the QML VideoOutput, but it presumably sits on the same underlying code as the C++ ) a week or so...

View Article


Disable window maximizing/showing in QML

Hi, If you are using Window then set Window visibility to Maximized and then call requestActivate() when messaged is received from server.

View Article

Disable window maximizing/showing in QML

Hey, like p3c0 already said; the window visibility should do the trick. Example code with a Window-type Component: import QtQuick 2.2 import QtQuick.Window 2.1   Window {    ...

View Article


How can I combine C++(QtWidget) UI with QtQuick UI in the same app?

Hi everyone , QQuickWidget class was introduced with the advent of the new version of Qt 5.3 and works perfectly if the application runs on Windows / Linux but I noticed that the Android platform is...

View Article

How can I combine C++(QtWidget) UI with QtQuick UI in the same app?

Hmm, i think the problem here can be the fact that Android can’t handle multiple global windows. But the sample application tried to create two separate windows this can be the problem here.

View Article


Interaction with OpenGL Verticies in a custom QQuickItem

Hmmm i think this is not a really a QtQuick problem more an OpenGL specific task. With google and words like hit test or collision detection or mouse picking u will find tons of tutorials.

View Article

Video element plays video at wrong position on IOS

Well, then I guess it is not the same problem as I am using Qt 4.8.5.

View Article

[SOLVED] Clipping of a QML item object slightly bigger than the text itself

Ok, so the solution was indeed nesting the labels inside a rectangle on which I set clip to on. Once this was done, I had to slightly enlarge the height of the rectangle to allow for the missing text...

View Article
Browsing all 4972 articles
Browse latest View live