qqmlapplicationengine Questions
7
I'm having trouble loading one qml through another.
Basically, I have created a qml type MyTabView in MyTabView.qml:
import QtQuick 2.3
import QtQuick.Controls 1.2
TabView {
width: 360
height: 3...
Flabellum asked 17/11, 2014 at 9:34
3
Solved
I have a QML-based app that loads a main.qml file from the file system like this:
myEngine->load("main.qml");
This works fine, but I'd like to "reload" the engine in case the main.qml was rep...
Exterminatory asked 12/5, 2015 at 16:5
4
I have loaded MyItem.qml as a source component onto Loader element. Now i want to remove or unload that page from Loader element. I tried to set source : "" & sourceComponent : "" , also source...
Logging asked 15/2, 2017 at 15:42
2
I found this older post which faces the same problem: How to mock a QML component
Unfortunately, there's no solution. To recap the problem:
I have a QML TestCase which imports a module. But this m...
Whoops asked 11/10, 2015 at 17:1
2
Solved
I'm using QQmlApplicationEngine as follows:
QGuiApplication app(argc, argv);
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
app.exec();
But now I want to ena...
Knop asked 20/10, 2016 at 11:37
1
I would like to connect the activated signal from a QML ListView to a pyqtSlot decorated method from my Python3/PyQt5 (5.6) code.
My current approach is to load the QML scene in my code through QQ...
Naevus asked 14/7, 2016 at 6:53
1
© 2022 - 2024 — McMap. All rights reserved.