Import directory in QML
This directory is outside the qml main files. Try to use QMLEngine.addImportPath(…) and qmldir to define the QML components.
View ArticleToolButton clicked() signal is not emitted on Windows 8
You are using your own ToolButton. Can you try adding MouseArea to MyToolButton.qml file and see whether events are caught.
View ArticleHow can I debug the dread jom "error 2" problem?
error 2 ? This is clearly file not found issue. For which file it is giving this error ?
View ArticleLooking at throughput in Qt Quick
Thanks sletta for this post. Cleared lot of my doubts :)
View ArticleQtQuick 2 stuttering problem.
It is hard to say what might have changed. If you didn’t change Qt and you didn’t change your application, then chances are that it was something in the system. Maybe the vsync driver change wasn’t...
View ArticleQQuickView embedded in NSView flickers like hell when being resized
Hi all, this one is a complicated one – at least for me, as I’m totally stuck. What I do is this: on the Mac I create a QQuickView from scratch and re-parent it to an existing NSView. There’s...
View ArticleQQuickFramebufferObject is flipped on Y axis in QML
Hello, This is my first post on qt-project. I have created a new QML project, and I use a custom QML item to integrate raw OpenGL. If I take a screenshot using...
View ArticleChange HTML Style in QML
thank you for your suggestion. this methods are available only in QWidgets and not in QML, is it right? However, I’m trying to use your code but the content of my WebView doesn’t change. this’s my code...
View Articlecalling Component destroy with a Menu open crashes app on Mac only (even if...
Hi, I recreated my issue on a sample app. I need to add several clickable components to a Rectangle, which all show Menu items on clicks. But some times, I need to remove everything from the UI. 1) If...
View ArticleDoes QQuickImageProvider use QPixmapCache ?
Does QQuickImageProvider use QPixmapCache ?
View ArticleQQuickFramebufferObject is flipped on Y axis in QML
We should allow flipping the y coordinate more easily in the QQuickFramebufferObject class, see https://bugreports.qt-project.org/browse/QTBUG-41073 A QML way to do the same would be to set a...
View ArticleDoes QQuickImageProvider use QPixmapCache ?
IIRC, changing the source explicitly evicts the image element from the cache, so you want to avoid that as much as possible. What you want is to create one Image element for each of the sources and...
View ArticleQQuickFramebufferObject is flipped on Y axis in QML
Hmmm take a look at this [qt-project.org]. But use QSGSimpleTextureNode instead of QSGGeometryNode. A simple rendering can look like this. QSGNode *YourClass::updatePaintNode(QSGNode *oldNode,...
View Article[SOLVED] Import directory in QML
My problem is solved if I use the following syntax: import "file:///D:/QML_Modules" If the “file:///” part is used, my path gets imported. Hopefully this would help someone else. I’ll...
View ArticleDoes QQuickImageProvider use QPixmapCache ?
No, changing the size doesn’t make much sense. The cache is for unreferenced stuff. What you want is to explicitly reference your images.
View ArticleSearching for a particular text in a combo box
I am creating a plugin in which I load topic to a combo box. It works as follows: ComboBox1(CB1): Has two topics, upon selcting one of them it loads two other topics to...
View ArticleAuto-resize tabs to fit content in TabView
I am trying to create a TabView control with some content inside. The problem is that tab does not get re-sized to fit all the content. As the result the last label in the following example goes out...
View ArticleSearching for a particular text in a combo box
Hi, First thing, are you really using QtQuick for that ? From your post text it looks more like a widget version.
View ArticleCoercion to interface not working for context property
Hi, I have a property which is a pointer to an interface. I want to assign that property with an object which implements the interface. It works if the object is instantiated in qml. Is there some...
View ArticleAuto-resize tabs to fit content in TabView
Yes this is indeed not a good idea. Remember that you have different content on each tab, so adjusting a tabs size to whatever is on the first tab is simply not a good idea. You can certainly hack this...
View Article