mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 23:01:01 -08:00
add readme/screenshot for 'QML Live Preview and Slime'; revisions
This commit is contained in:
parent
d7a999acdb
commit
be2b4520d1
17 changed files with 107 additions and 32 deletions
|
|
@ -77,7 +77,14 @@ int main(int argc, char* argv[]) {
|
|||
arguments.removeAll("-norc");
|
||||
}
|
||||
else {
|
||||
LQML::eval("(x:when-it (probe-file \"~/.eclrc\") (load x:it))");
|
||||
#if (defined Q_OS_ANDROID) || (defined Q_OS_IOS)
|
||||
// mobile: don't hang on startup
|
||||
LQML::eval("(x:when-it (probe-file \"~/.eclrc\")"
|
||||
" (ignore-errors (load x:it)))");
|
||||
#else
|
||||
LQML::eval("(x:when-it (probe-file \"~/.eclrc\")"
|
||||
" (load x:it))");
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef INI_LISP
|
||||
|
|
@ -99,6 +106,10 @@ int main(int argc, char* argv[]) {
|
|||
}
|
||||
}
|
||||
|
||||
#ifdef SWANK
|
||||
slime = true;
|
||||
#endif
|
||||
|
||||
if (slime) {
|
||||
// fallback restart for conditions while processing the Qt event loop
|
||||
LQML::eval("(loop (with-simple-restart (restart-qt-events \"Restart Qt event processing.\")"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue