[SOLVED] Conversion from ascci to char in QML
-
thank you, it worked.
@Pradeep-Kumar.M You're Welcome :)
-
one more question
i tries Qt Integration
here is ex: of main.cpp
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
QObject *topLevel = engine.rootObjects().value(0);
QQuickWindow *window = qobject_cast<QQuickWindow *>(topLevel);
window->dumpObjectTree();
QQuickWindow *window1 = topLevel->findChild<QQuickWindow * >(objectname);can i have QQMLContext, QQMLComponent & QQMLEngine,
if so
can u provide code of it, along with component item. -
one more question
i tries Qt Integration
here is ex: of main.cpp
QQmlApplicationEngine engine;
engine.load(QUrl(QStringLiteral("qrc:/main.qml")));
QObject *topLevel = engine.rootObjects().value(0);
QQuickWindow *window = qobject_cast<QQuickWindow *>(topLevel);
window->dumpObjectTree();
QQuickWindow *window1 = topLevel->findChild<QQuickWindow * >(objectname);can i have QQMLContext, QQMLComponent & QQMLEngine,
if so
can u provide code of it, along with component item.@Pradeep-Kumar.M Do you mean an example ?
-
yeah but
to replace the lines above which i sent in previous post -
yeah but
to replace the lines above which i sent in previous post -
for wat exactly setcontextproperty is used
-
for wat exactly setcontextproperty is used
@Pradeep-Kumar.M To expose C++ objects to QML.
-
do we have QQMLContextItem or QQMLComponentItem
-
do we have QQMLContextItem or QQMLComponentItem
@Pradeep-Kumar.M None. We have
QQuickItem
. -
QML is scripting language,
QtQuick is module required for writing QML Applications,diff between QtQuick and QML please?.
-
QML is scripting language,
QtQuick is module required for writing QML Applications,diff between QtQuick and QML please?.
@Pradeep-Kumar.M Yes you have the answer. Check out what-is-qml and what-is-qt-quick.
It's all in the docs. You should go through it. -
@Pradeep-Kumar.M Yes you have the answer. Check out what-is-qml and what-is-qt-quick.
It's all in the docs. You should go through it.@p3c0
k