cannot set property of undefined
Hi, i build my project without errors, but when i tried start EXE files, i got this error. Cannot set ‘focus’ of undefined function create_newgame(num) { sound_main.stop();...
View ArticleHow I can use tooltip for QML component.
Hi everyone! How I can use tooltip for all QtQuick Components. As I know I can use tooltip only for ‘Button’. How I can add a tooltip for Label? Thanks for the any help.
View Articlecannot set property of undefined
No i didn’t say remove the if, just look at the code I provided you forgot the {} around “game.focus = true” :) you need to use it like this (again): if (component.status == Component.Ready) {...
View ArticleQML Listview onClick event(solved)
Don’t forget to take into account originX and originY as well. There is no need for that if you use a MouseArea in the delegate or what do you mean!?
View ArticleAccess to children modules inside a custom module
I’ve make a custom module that is composed by others custom modules. Now when I use this module I need to access to the instaces of the children modules. It is possible?
View ArticleHow I can use tooltip for QML component.
Hi, Yes, I have tried this but in Qt 5.3.0 (beta) this component doesn’t supported. When I tried it I’ve received this error: ‘ToolTip is not a type’
View ArticleAndroid Bug With 5.3 Beta ?
Thanks for sharing ! I would recommend posting a zip file with the project ready to build so it’s easier for the devs to test
View ArticleQt 5.3 QML Application crashes with associative array
are you sure that worked before? I could never get it to work to assign objects to properties directly. I thought that is a feature of QML and the {} are parsed as a function like you do with slots...
View Article[Solved] How I can change menu style?
http://qt-project.org/wiki/New-Features-in-Qt-5.3 MenuStyle and MenuBarStyle introduced.
View Articlecannot set property of undefined
well I’m sorry to tell you this but the code is not the same. if (component.status == Component.Ready) var game = component.createObject(main_Window, {});...
View ArticleAccess to children components inside a custom component
Oh accessing children in a component is much easier :D the way I use is just setting an alias property that works well, e.g. (CompA.qml) Item { property alias textItem: textId // item alias...
View ArticleQt 5.3 QML Application crashes with associative array
No, it’s related to the associative array. Qt provided already a fix https://codereview.qt-project.org/#change,82113
View ArticleHow I can use tooltip for QML component.
@Xander. You’re right. Here is the link QML Tooltip… [doc.qt.digia.com] After some more investigating seems it is part of Qt Quick Components for symbian / harmattan. My mistake, but on the other hand...
View Article[Solved] Deploying QML library/imports
So it worked out like this: I created a subdir project with library and application. To the library I added this: folder_01.source = imports folder_01.target = DEPLOYMENTFOLDERS += folder_01 ...
View ArticleQtQuick Layouts with Designer
I would recommend to use Layouts where it is suitable like here. You can not use anchors inside a row as far as I understand. Practically for Layouts just take a look at Layout.fillWidth...
View ArticleSwipe Gesture with Qt Quick 2.0 and Qt 5.2
Dear all, I can’t find a way to recognize a swipe gesture using Qt Quick 2.2 and Qt 5.2 on a mobile devices (multi-touch screen). Searching on the forums, I saw various post about the Qt.labs...
View ArticleQQmlFileSelector not working on Android from assets folder
Hi, I have the following problem using QQmlFileSelector: I create a custom QQmlFileSelectorfor QQmlEngine, let’s say “test”. Now I create two qml files to test the selector: SelectorTest.qml: import...
View ArticleQt DBus Monitor Method Calls
I’m using QtQuick 2 And C++ in my application.(Qt 5.2) I would like to monitor dbus method calls and I don’t know if this is possible from Qt DBus Library. For example I would like monitor Notify...
View Article