Coder Social home page Coder Social logo

Comments (5)

jes avatar jes commented on May 29, 2024

I get the same error myself over SSH if I try to execute asteroid-stopwatch without using invoker, so I thought that might be what QtCreator is doing. I went into the "Projects" mode (?) and "Run Settings" pane, and set "Alternate executable on device" to "/usr/bin/invoker" with "Use this command instead", and set "Command line arguments" to "--type=qtcomponents-qt5 /usr/bin/asteroid-stopwatch", and now it says this:

11:36:37: Starting /usr/bin/invoker --type=qtcomponents-qt5 /usr/bin/asteroid-stopwatch...
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: hwcomposer, minimal, offscreen, vnc, wayland-egl, wayland.

11:36:38: Remote process crashed.

Which is the same as before, except now confirms that it is actually trying to run invoker instead of asteroid-stopwatch directly.

from meta-smartwatch.

MagneFire avatar MagneFire commented on May 29, 2024

This is indeed not the best place to place issues like this, generally the best location would be here: https://github.com/AsteroidOS/asteroid/issues

Though I am not familiar with running AsteroidOS apps through QtCreator, this error looks familiar to me. Can you try to set the QT_QPA_PLATFORM variable to wayland? And maybe also EGL_PLATFORM to wayland? https://doc.qt.io/qtcreator/creator-run-settings.html has some information that describes adding environment variables.

from meta-smartwatch.

jes avatar jes commented on May 29, 2024

OK, thanks. I'll post there next time!

I set those environment variables but they didn't obviously change anything, I'm getting the same errors. I think I can cope with just running stuff through SSH though, so actually this isn't as big a problem as I thought it was. I'm currently printing a pogo pin adapter & have ordered some pogo pins, although I wasn't quite sure what length I needed so I just guessed.

from meta-smartwatch.

MagneFire avatar MagneFire commented on May 29, 2024

Weird, but ok 👍 The documentation also doesn't mention how to do it. Maybe no one succeeded at doing that.

Here is a link to the pogo pins I am using: https://www.aliexpress.com/item/32767984398.html

So total length is around 16.54mm and diameter is around 1.02mm

from meta-smartwatch.

jes avatar jes commented on May 29, 2024

Thanks!

from meta-smartwatch.

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.