Package Details: android-x86-64-qt6-sensors 6.8.0-1

Git Clone URL: https://aur.archlinux.org/android-x86-64-qt6-sensors.git (read-only, click to copy)
Package Base: android-x86-64-qt6-sensors
Description: Provides access to sensor hardware and motion gesture recognition (android)
Upstream URL: https://www.qt.io
Licenses: custom, GPL3, LGPL3, FDL
Groups: android-x86-64-qt6
Submitter: Martchus
Maintainer: Martchus
Last Packager: Martchus
Votes: 0
Popularity: 0.000000
First Submitted: 2024-10-15 01:46 (UTC)
Last Updated: 2024-10-25 17:36 (UTC)

Latest Comments

Martchus commented on 2024-10-25 17:28 (UTC)

I have created a commit myself now. I'll the fixed package once I tested the build.

Martchus commented on 2024-10-25 16:51 (UTC)

If you want to help, you can provide a .patch file that I can easily cherry-pick.

Martchus commented on 2024-10-25 16:50 (UTC)

@nicholascw I also noticed the build error. If you need the module I can patch the PKGBUILD. Please don't write a comment on all variants, this just needlessly fills my inbox :-)

nicholascw commented on 2024-10-25 16:49 (UTC)

--- /src/plugins/sensors/android/sensormanager.cpp      2024-10-25 11:21:54.745723128 -0500
+++ /src/plugins/sensors/android/sensormanager_new.cpp  2024-10-25 11:22:03.362834348 -0500
@@ -90,7 +90,7 @@
     m_looper = ALooper_prepare(0);
     m_waitForStart.release();
     do {
-        if (ALooper_pollAll(5 /*ms*/, nullptr, nullptr, nullptr) == ALOOPER_POLL_TIMEOUT)
+        if (ALooper_pollOnce(5 /*ms*/, nullptr, nullptr, nullptr) == ALOOPER_POLL_TIMEOUT)
             QThread::yieldCurrentThread();
     } while (!m_quit.loadRelaxed());
 }

All android-{arch}-qt6-sensors needs the above patch to successfully build as ALooper_pollAll causes error: Qt bug report