Questions tagged [qquickview]

In the QT framework, the QQuickView class provides a window for displaying a Qt Quick user interface.

In the QT framework, the QQuickView class provides a window for displaying a Qt Quick user interface.

http://qt-project.org/doc/qt-5/qquickview.html

40 questions
0
votes
1 answer

How to Scroll inside ChartView using mousearea in QML

I wrote this code and I am expecting the ChartView to scroll right or left when mouse wheel is turning in one way or the other. ChartView { id: chartView animationOptions: ChartView.NoAnimation theme: ChartView.ChartThemeDark …
bardao
  • 914
  • 12
  • 23
0
votes
0 answers

X11VNC performance - QQuickView vs QQmlApplicationEngine

I am running a QML application and using X11VNC to remotely view the output. When the QML application uses QQmlApplicationEngine, I am only able to see 2-5 frames per second on the VNC viewer whereas when I use QQuickView, I am able to see 8-10…
Nithyesh
  • 105
  • 8
0
votes
1 answer

QQuickvew delete causing application to crash

There is a crash in Qt 5.4 when destroying QQuickView object. The crash is not seen if setQuitOnLastWindowClosed is not set, default true, qdoc. #include #include #include #include class VDestroyer…
Kamath
  • 4,461
  • 5
  • 33
  • 60
0
votes
1 answer

How to add a dynamically created QQuickitem to my application's main.qml or the QML list of items

I need to dynamically create a QQuickitem & add to my main.qml. Trying to do it, I create a QQuickitem in the following way. qml_engine->load(QUrl(QStringLiteral("qrc:/qml/main.qml"))); // Creating my QQuickItem here QQuickItem * dynamic_quick_item…
0
votes
0 answers

How to load a custom QQuickItem from inside a library so that it gets registered & updated like other QQuickItems in the application

I have a MyQuickItem class derived from QQuickItem as below // MyQuickItem.hpp class MyQuickItem : public QQuickItem { Q_OBJECT public: MyQuickItem(); virtual ~ MyQuickItem(); protected: QSGNode* updatePaintNode(QSGNode *,…
TheWaterProgrammer
  • 7,055
  • 12
  • 70
  • 159
0
votes
0 answers

Prevent flicker while loading QQuickView

I have a QStackedLayout with two QWidget objects added to it. Second QWidget is created like this: QQuickView *view = new QQuickView(); view->setColor(Qt::transparent); view->setSource(QUrl("qrc:/main.qml")); m_qmlWidget =…
Filip Hazubski
  • 1,668
  • 1
  • 17
  • 33
0
votes
2 answers

Qml flicker on animation in frameless QQuickView (QtQuick2)

main.cpp #include #include int main(int argc, char *argv[]) { QGuiApplication app(argc, argv); QQuickView *view= new QQuickView; view->setFlags(Qt::Tool|Qt::WindowStaysOnTopHint|Qt::FramelessWindowHint); …
ManuelSchneid3r
  • 15,850
  • 12
  • 65
  • 103
0
votes
2 answers

MultiPointTouchArea behaviour in QQuickWidget

I'm trying to get the MultiPointTouchArea to work correctly inside a QQuickWidget. Consider the following example qml file(MultiPointTouchTest.qml): import QtQuick 2.0 Rectangle { width: 360 height: 480 color: touch1.pressed ? "gray" :…
Player
  • 1
  • 3
0
votes
1 answer

How to change source of QQuickView

I am working on game, which is written in qml and pyqt, but should be divided into two windows (Launcher + the Game). What is the proper way to switch between these two qml files? I don´t want to use QmlLoader, because it doesnt resize the window…
Josef
  • 147
  • 2
  • 12
0
votes
1 answer

Qt5 QuickView cannot create window: no screens are available

I receive this error (title, below) whenever I try to run the following code: #include #include int main(int argc, char *argv[]){ QCoreApplication app(argc, argv); QQuickView view; …
OJFord
  • 10,522
  • 8
  • 64
  • 98
1 2
3