ddvk / remarkable-stylus

hack to get the button of a lamy pen working
GNU Lesser General Public License v3.0
185 stars 10 forks source link

libqevdevlamyplugin.so no longer works for 3.9.3.1986 (Qt 6.5.2) #27

Open mb1986 opened 11 months ago

mb1986 commented 11 months ago

Starting from reMarkable 3.9.3.1986 (current) the Qt Framework version has been bumped up to 6.5.2.

09:22:51.942 qt.core.plugin.factoryloaderlooking at "/usr/lib/plugins/generic/libqevdevlamyplugin.so"
09:22:51.942 qt.core.plugin.loader    Failed to find metadata in lib /usr/lib/plugins/generic/libqevdevlamyplugin.so: '/usr/lib/plugins/generic/libqevdevlamyplugin.so' is not a valid ELF object (.qtmetadata section has incorrect magic)
09:22:51.943 qt.core.plugin.factoryloader"Failed to extract plugin meta data from '/usr/lib/plugins/generic/libqevdevlamyplugin.so': '/usr/lib/plugins/generic/libqevdevlamyplugin.so' is not a valid ELF object (.qtmetadata section has incorrect magic)" 
         not a plugin
mb1986 commented 11 months ago

Ok, I've been able to build the plugin, Dockerfile:

FROM arm32v7/debian:latest
RUN apt-get update
RUN apt-get install -y build-essential
RUN apt-get install -y qt6-base-dev
RUN apt-get install -y qt6-tools-dev
RUN apt-get install -y qt6-declarative-dev
RUN apt-get install -y qt6-base-private-dev
RUN apt-get install -y libts-dev

Binary temporarily placed: https://github.com/mb1986/remarkable-stylus/blob/master/dist/libqevdevlamyplugin6.so