Could not find the executable please find one .
Hello, I’m trying to run the text editor example in the Qt creator tutorial (a project that combines qt quick , qml and c++) but when I want to run the project this error occurs : “ Could not find the...
View ArticleCould not find the executable please find one .
well actually ,I found out that the build directory of the project was outside the project directory hence I moved it into the project directory. When I try to run the project it still says could not...
View ArticleHow can I use Layouts in ' Qt Quick ' ?
Hello, I want t use Qt/c++ layouts with my personalized widget (that I’ve created using ‘ Qt quick ‘) but I didn’t know how to realize this(in my case I want insert a picture and a button at the center...
View ArticleHow can I use Layouts in ' Qt Quick ' ?
Hi, See Qt Quick Layouts [qt-project.org] By the way,instead of creating your own button, you can use the official QML Button [qt-project.org] and change its looks using ButtonStyle [qt-project.org]
View ArticleQML context of dynamically generated items
I have defined the objectName in MyTab.qml. findChildren<>() should return a list of all Items with the given objectName. Any suggestions how I can access the TabController within var...
View ArticleAdd object to QAbstractListmodel-derived model from QML
Now going through your original way, 1. Registering the Game. 2. Embed Game in Component [qt-project.org]. 3. Create the Game object dynamically using createObject [qt-project.org] 4. Then store that...
View Articleswitched from Qt 5.2 to 5.3 leads to "Object destroyed during incubation" error
Hello i just tried to move my Qt Quick projekt to Qt 5.3.1 this basically works but I got an error that says “Object destroyed during incubation”. Is there anyone who ran in this error too ? And may...
View ArticleHow can I use Layouts in ' Qt Quick ' ?
Thanks JKSH I used Qt Quick Layouts and the QML Button. Actually the QML Button is much more easier tan creating my own button .
View ArticleCould not find the executable please find one .
You are building the plugin. This is QmlPlugin. This QmlPlugin is used in other project inside the other project. Please look at how QmlExtension Plugins work. This will help you to use the project you...
View ArticleHow to know if a property has a property binding?
Is there a way to know if a property has a property binding or is just a constant? For example, the following binds object.x to root.x: Window { id: root x: object.x } When a...
View Articleqml project
Just like any other Qt project. Instead of creating a widget, though, use QQuickView to run QML code. Or, if you prefer, you can copy the project template from Qt Creator.
View ArticleSet the currentIndex of ListView immediately (without animation)
Dear all, I have a ListView that depending on the user interaction I need to display it starting from a current index different from “0”, but without animating it. More in details, I have one ListView...
View ArticlePinchArea scale in and scale out touch coordinates
Hi I am working on pinch area and i would like to know whether i scaled in or scaled out..i was able to scale in and scale out,bt i want to know wen i scale out the image,I am bit confused with that..i...
View ArticleSet the currentIndex of ListView immediately (without animation)
Have you tried using http://qt-project.org/doc/qt-5/qml-qtquick-listview.html#positionViewAtIndex-method I’m not 100% sure it works, but I vaguely remember that using this method does not involve...
View ArticleBeste way to store downloaded XmlModel in LocalStorage with qml
Hey there, I am building an Android app. The app should display different text and image contents from the web. Caught via XmlListModel. I want to cache these data to give the user the possibility to...
View ArticleExample is a little difficult to follow
I did the same thing but poof everything just went away. I plan on just starting back at square one. Maybe, I’ll discover what happened. I appreciate the help it did clear some things up.
View Articleindex undefined for elements in ObjectModel?
according to Qt document http://qt-project.org/doc/qt-5/qml-qtqml-models-objectmodel.html#index-prop An item can determine its index within the model via the index attached property. my object model...
View ArticleWhere is the alpha of a color stored?
Setting the color of an Item with a hexadecimal quad such as #99FFFFFF (semi-transparent white) works. However, when I access the color property of the Item, it only gives back the triplet of the color...
View Article