QML Quick2 WebView and zoom in/out
A WebView element now renders the complete page and fits it onto the width set on the WebView. It implements flicking up/down. Is it still possible to flick right/left ? Suppose we have a limited...
View ArticleQDataWidget Mapper in qml
Can QDataWidgetMapper [qt-project.org] be used in QtQuick? The only documentation I can find is implementing it within a C++ source file.
View ArticleQtLocation fails to compile (latest stable branch)
/usr/local/Qt-5.1.0/include/QtQml/5.1.0/QtQml/private/qv8_p.h:42:24: fatal error: private/v8.h: No such file or directory This is the error. Has someone already compiled the QtLocation module ?
View ArticleRegistering enum in QML: does not work in QtQuick2
Hi I’m porting an application from Quick1 to Quick2, and got problems with registering an enum. I have the following which works with Quick1: keyboardcontrol.h #include <QObject>...
View ArticleQtLocation fails to compile (latest stable branch)
The issue is still the same with Qt 5.1.1
View ArticleMenu Style?
I was looking through the docs for creating context menu’s using QtQuick controls, and while the menu/menuItem combo is perfect for me, i would really like to style it to match the rest of my...
View Article[SOLVED] Need help to integrate C++ and QML
Hi JKSH, For this school project, I’m assuming that both clients know each other’s IP, so what I do is for the client to try to connect to the peer’s IP, and if it doesn’t succeed, it becomes the...
View ArticleListView not being updated at runtime to follow the model
Hi, I have exactly the same problem. The difference to my application is, that the calls for adding/removing items to/from the QAbstractListModel are triggered from a C++ library which runs in its own...
View ArticleQtLocation fails to compile (latest stable branch)
Problem is solved by using Qt 5.2.0. It seems that Qt 5.1 cannot be used, probably due to the change of Javascript engine.
View ArticleHow to perform state change that changes animation gracefully?
I have on object that I want to have different states, being: 1: off, invisible, no animation - would prefer to set invisible for performance reasons but might have to set opacity 0 instead. ->...
View ArticleUsing an instantiated item as ListView delegate
In a QtQuick-ListView I want to display different QQuickItems which were instantiated in a C++-Backend. Therefore I created a QObjectList which is used as model: QObjectList items; items.append(new...
View ArticleHow to load a piece of an image to QML-form on timer signal
Hello everybody, This is my first experience in QML. My task is to load a random piece (square) of a big image to QML-form on timer signal. The least of application is wriiten in C++, so I decided to...
View ArticleQt Quick 1.1 Calendar example
Hi I’ve been browsing round for a Calendar control for qt quick 1.1/ qt4., but cant find what I’m looking for, I only get qt5 stuff. if anyone has an example, or can point me in the right direction,...
View ArticleRegistering enum in QML: does not work in QtQuick2 [SOLVED]
That solves the problem, thanks a lot.
View ArticleHow to load a piece of an image to QML-form on timer signal
Hi, AFAIK, you can’t use QImage as QML element using Q_PROPERTY. Use qquickimageprovider [qt-project.org]. Or You can use QUrl and then expose its setter getter using PROPERTY. ie. Q_PROPERTY(QUrl...
View ArticleHow to make ListView content to follow anchor changes
Have you figured out the solution for this problem? I am having the same issue and been desperately looking for the solution for this same problem.
View ArticleCrash when creating QQuickView from QTimer event
I try to create a QQuickView in a function that is triggered by a timer, but it triggers an exception. (The inferior stopped because it triggered an exception. …read access violation…) If I create a...
View ArticleDrag inside scaled item.
Hello everyone! I have a paroblem with dragging item inside scaled item. Simplest way to explain is a little qml test program: import QtQuick 2.1 import QtQuick.Controls 1.0 ...
View ArticleBug in AnimationController?
Hi This is my first post here. I have tried searching the web to see if my problem is already reported, maybe my problem is related to https://bugreports.qt-project.org/browse/QTBUG-25967 ? I’ve been...
View ArticleColumn and limitations
Hi, I have read about column limitations in Qt4.8 http://qt-project.org/doc/qt-4.8/qml-column.html#limitations I have got only a quick question because in Qt5.0...
View Article