mirror of
https://gitlab.com/eql/lqml.git
synced 2026-01-18 23:31:05 -08:00
fix example 'swank-server' to work again on mobile; revisions
This commit is contained in:
parent
fc662c4f48
commit
5f3b251a69
9 changed files with 59 additions and 44 deletions
|
|
@ -4,6 +4,7 @@
|
|||
#include <QCoreApplication>
|
||||
#include <QTimer>
|
||||
#include <QStringList>
|
||||
#include <QQuickView>
|
||||
#include <QDebug>
|
||||
|
||||
const char LQML::version[] = "22.3.3"; // Mar 2022
|
||||
|
|
@ -49,6 +50,8 @@ LQML::LQML(int argc, char* argv[], QQuickView* view) : QObject() {
|
|||
eval("(in-package :qml-user)");
|
||||
eval(QString("(setf qml:*quick-view* (qml:qt-object %1))")
|
||||
.arg(reinterpret_cast<quintptr>(view)));
|
||||
eval(QString("(setf qml:*engine* (qml:qt-object %1))")
|
||||
.arg(reinterpret_cast<quintptr>(view->engine())));
|
||||
}
|
||||
|
||||
LQML::~LQML() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue