Drag a copy of an item to Droparea
I’ve been attempting to implement something similar to the QtQuick example drag and drop: http://doc-snapshot.qt-project.org/5.0/qtquick/quick-draganddrop.html It seems quite straightforward to drag...
View ArticleQtQuick.LocalStorage 2.0 on Blackberry Playbook
Initializing the database on my playbook does not work like on the desktop so I had a few questions: 1) Where the database is stored on the device? 2) If it is...
View ArticleglPopAttrib and glPushAttrib on GLES for rendering fbo to a qquickitem
Hi guys, I’ve extended QQuickitem to create an area where I can call open gl calls directly. Only problem is on GLES/ANGLE platforms I cant push and pop like so This is the preprocess in my...
View ArticleCan QtQuick1 and QtQuick2 be used in a same program?
Yes. Qt5.1 is only a few weeks away, anyway. You can already start testing it by compiling from git dev branch.
View ArticleHow to enable threaded scene graph rendering on Windows?
Hi, could you, please, tell me where should I set the QML_FORCE_THREADED_RENDERER variable to enable threaded renderer on Windows? Thank you!
View ArticleglPopAttrib and glPushAttrib on GLES for rendering fbo to a qquickitem
Hi, If i’m not wrong, your calls are reversed, glPushXXX should be call before glPopXXX, otherwise you will have an “underflow” of what you’re trying to push/pop.
View ArticleQQuickItem::updatePaintNode() or QSGNode::preprocess() ?
Hi, I see there are two functions for updating content of a custom visual QML item: QQuickItem::updatePaintNode() and QSGNode::preprocess(). In first one we initially create and add new node to the...
View ArticleHow to enable threaded scene graph rendering on Windows?
Control Panel->System->Preferences->Advanced->Environment variables. Or make a .bat script and add there: set QML_FORCE_THREADED_RENDERER="1" I think that...
View Article[SOLVED] QtQuick.LocalStorage 2.0 on Blackberry Playbook
I’m sorry, it was all working properly. You can not remove all tables from the database with one command, only separately, eg var db = Sql.LocalStorage.openDatabaseSync(..); function...
View ArticleProgram with qml in resource file don't open non-main qml files
I installed Qt 5.0.1 for Windows 32-bit (MinGW 4.7, 823 MB) Then I created simple Quick 2 application. I have two simple qml files: main.qml import QtQuick 2.0 Rectangle { ...
View ArticleDrag a copy of an item to Droparea
It’s C. Is somethink like this: onReleased: { if(tile.Drag.target !== null ) { cppModel.copyItem(tile.Drag.target) } ...
View ArticleQQuickItem::updatePaintNode() or QSGNode::preprocess() ?
I think the main difference is that QSGNode try to use as many GPU threads as posible. So the performance can be better.
View ArticlePerform movement across path
It sounds like you can use use the PathView [qt-project.org].
View Article[SOLVED] Creating a QQuickView with a shared opengl context.
It’s not really an elegant solution but i think i found one. Before setting QML file, (setSource) connect a slot to QQuickWindow::sceneGraphInitialized() signal like this : connect(this,...
View ArticleQtCreator/Qlm2Puppet cannot render item with "imperative code"
That seems to be a bug, please report it [qt-project.org].
View ArticleDrag a copy of an item to Droparea
So that works for adding the item to the C++ model. I still am not sure how to drag a “copy” of the object to add to the model.
View ArticleHow to use DropArea ?
Forgive my poor English. I write two samples as following. Sample1: import QtQuick 2.0 Item { width: 200; height: 200 DropArea {...
View ArticleQtQuick‘s contents displayed slower than QQuickView’s Window on Windows7
On Windows7,When I started a QtQuick1.x application(Any official example),QDeclarativeView’s Window and qml contents simultaneously displayed as normal,while when started a QtQuick2.0 application(Any...
View ArticleaddImportPath - QDeclarativeView?
Hi guys, i have an application which loads a Qml-File with the “QDeclarativeView”. My Qml-Files are extended by several QtQuick-Plugins, these are located in a custom directory. I found several things...
View Article