#Qt apps on Appload

1 messages · Page 1 of 1 (latest)

bold dew
#

Any app I compile (Qt) opens fine on my Linux system, but when I try to open in Appload, the xovi/debug says “Failed to start process: “Child process set up failed: execve: Exec format error”
Example qtwikipedia

I can open other apps on Appload that I compiled like netsurf, reRadar24, KOReader, yaft etc

But any time it is built with qt, I get “Failed to start process: “Child process set up failed: execve: Exec format error”

candid forum
#

Sounds like you didn't compile with the toolchain loaded

bold dew
#

I sourced the sdk
Apologies but please advise the command to load the toolchain, unless I have misunderstood, appreciated

candid forum
#

If you sourced it, then it should be fine that session. Which device are you using? I don't see a role saying what device you have, and there is no tag on the topic.

bold dew
#

rM2 sorry.
codex 5.0.58-dirty
SDK dl from remarkable site correct for my device type and version

candid forum
#

What does file /path/to/qtwikipedia return?

#

Also the version of codex means little to us, we use the OS version instead

#

The one shown on the settings page

bold dew
candid forum
#

Your host machine that you compiled the application with.

bold dew
#

I downloaded the source code remarkable-Wikipedia-master and built in there from the qtwikipedia project file after sourcing in same terminal window

candid forum
#

You should use git to clone a repository instead of downloading a source zip, but this shouldn't be a problem unless the build instructions have extra steps like git submodules.

#

What was the output of the command?

bold dew
#

the file built an executable with no errors
qtwikipedia application/x-executable

i chmod +x it after loading on rM2 Appload folder (its own folder with icon and manifest) just like all the others (that do work)

candid forum
#

And the output of the command I asked you to run?

bold dew
#

$ file /path/to/qtwikipedia
/path/to/qtwikipedia: cannot open `/path/to/qtwikipedia' (No such file or directory)

candid forum
#

Looks like you didn't change the path to the correct path

#

And as I didn't know what it is, I can't tell you what it should be.

bold dew
#

For now, let me try start from scratch, appreciate you at least trying. I'm still learning here, so perhaps getting ahead of myself. Thanks for now

bold dew
#

I think my setup for Qt Creator is not working.
There used to be a guide to add the KIT for reMarkable but the links to that wiki are all dead so I am not sure if I have added the kit correctly.
Any guidance or a working link to a guide would be appreciated

candid forum
#

Use the Wayback machine for the old wiki

bold dew
#

Got it all sorted thanks Eeems
Tried to rebuild some of the old projects from Toltec but some of the errors and coding required are above my pay grade.
But progress, and I am learning day by day.
At least Qt Creator now set up properly and I can build.
Got some reading and learning for the coming months

#

I’m going to try find some working qt projects that I can learn from so I can build in Qt Creator and hopefully deploy/use in Appload on my rm2