This is something I experienced a couple weeks ago. The solution is to link
your final executable against the 'contrib' libraries that ECL has compiled.
You need to add something like this to your compiler step: `-L/path/to/ecl
-lasdf`
This email from last month's mailing list archives has more
As far as i can tell, my central registry isn't set up. After starting
ECL and loading ASDF, when I check asdf:*central-registry*, it is
empty.
It must be noted, however, that to get to :str package that I want to
use, I must load :ecl-quicklisp, which adds path ~/quicklisp/quicklisp
to the centra
Updating works now as well, so I'm going to leave you guys alone for
now.
I've uploaded what I have here: https://git.sr.ht/~aerique/pusfofefe so
you can comment on how to improve my QML and EQL code if you like.
Thanks for your patience!
Some progress, although I haven't tried updating the model from Lisp
yet, but to make sure you guys don't dive into it. This works for the
model defined in ECL and showing it in a QML ListView:
(defun set-my-model ()
(eql:qlet ((data (eql:qvariant-from-value *pushover-messages*
"QStr
On 12/16/20, Erik Winkels wrote:
> So hopefully I just need to call the EQL5 version of `qmlRegisterType`
> as is done here:
> https://github.com/sailfishos/cppqml-sample/blob/master/src/cppqml.cpp
>
> But I cannot find any examples of it, nor do I see it available in EQL5.
This would only make s
On 12/16/20, Erik Winkels wrote:
> However, I'm not sure what to do with the `qml:*quick-view*`
In the C++ template you cited there is this call:
eql_fun ("app/qml:ini-lib", Q_ARG (QQuickView*, view.data ()),
Q_ARG (const char*, mainQml.toLocalFile ().toLatin1 ().constData ()),
On 2020-12-16 11:04, Erik Winkels wrote:
tl;dr:How can I use a list of strings defined in ECL as a ListView
model in QML in Qt 5.6?
So hopefully I just need to call the EQL5 version of `qmlRegisterType`
as is done here:
https://github.com/sailfishos/cppqml-sample/blob/master/src/cppqml.cpp
tl;dr:How can I use a list of strings defined in ECL as a ListView model
in QML in Qt 5.6?
===
So I'm really not familiar with Qt, but since it is the GUI toolkit for
Sailfish phones I have to use it.
I'm trying to make a list of strings in ECL available as model to a
ListView which has bee