Git Product home page Git Product logo

Comments (4)

jrtberlin avatar jrtberlin commented on July 22, 2024 1

QML online seems like a possible base too. It uses web assembly and has a code editor, samples and sharing built-in.
Source code

image

from asteroidos.org.

TheLastProject avatar TheLastProject commented on July 22, 2024

When trying to work on this, I found out that QMLWeb doesn't support Canvas yet (only a stub according to https://github.com/qmlweb/qmlweb/projects/8, and it failed to load all the current watchfaces, even when removing the AsteroidOS specific bits like in the documentation page), which is really necessary for the AsteroidOS watches. It still seems to be very incomplete.

So, unfortunately, this seems to not be possible with QMLWeb for now. Not for creating actual watchfaces at least. Quick research of the alternatives gives me the following info:

Qt Quick WebGL streaming: Planned to be released in Qt 5.10, which is scheduled for November 2017. Will require a server.

PureQml framework: Seems possible, but will require a server.

Qt/QML + Emscripten: Can't find any source code with instructions and have no experience with any of this. Most links on the page are dead. Hacker news talks about it being a 30MB JavaScript library, that will hurt to run in any browser.

I probably won't be working on this as it's too much work for me to want to bother with right now, but I hope this info helps whoever tries next.

from asteroidos.org.

FlorentRevest avatar FlorentRevest commented on July 22, 2024

Maybe https://www.qt.io/blog/web-based-qt-design-viewer could do the trick :)

from asteroidos.org.

beroset avatar beroset commented on July 22, 2024

I've been working on this with the previously mentioned QML online. Its implementation of QML is definitely sufficient: https://tinyurl.com/2ormgzq9
Here is what I think would be needed

  • modify it so that globals such as wallClock and displayAmbient are available within the QML
  • create a way to upload other resources such as fonts, jpgs
  • provide a means of exporting
  • provide a method for taking a snapshot of just the watch face

from asteroidos.org.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.