QtCipherSqlitePlugin icon indicating copy to clipboard operation
QtCipherSqlitePlugin copied to clipboard

Call undeclared function vaeseq_u8 on ARM arch

Open alexandrkirilov opened this issue 1 year ago • 6 comments

The Qt version is 6.2.8. On MacOS Ventura with XCode 14.3 not working. But On MacOS Monterey with XCode 14.2 all is working.

Screen Shot 2023-05-30 at 18 53 02

alexandrkirilov avatar May 30 '23 15:05 alexandrkirilov

This trouble is more fundamental. Somehow it's related to ARM decryption. It's happening on Android too. It's about SQLite3.

alexandrkirilov avatar May 30 '23 17:05 alexandrkirilov

This is logs from Android Screen Shot 2023-05-30 at 20 27 25

alexandrkirilov avatar May 30 '23 17:05 alexandrkirilov

This trouble not appearing with Qt 6.2.8 and XCode 13.3.1 For everything higher - not working. There are troubles with building SQLite3. Already tried to find solution https://forum.qt.io/topic/145462/iso-c99-and-later-do-not-support-implicit-function-declarations-on-macos-how-to-fix

alexandrkirilov avatar May 31 '23 10:05 alexandrkirilov

New update. This trouble happening with Qt 6.2.8 arm64_v8 arch for Android with any version of Qt. All other archs is working. Tested with ndk 22.1 and 25.1 (Qt Creator defaults) and with Qt 6.2.8 and 6.5.0 and 6.5.1 on MacOS with XCode 13.3.1 and 14.2 and 14.3 on Intel and M1 devices.

alexandrkirilov avatar Jun 02 '23 05:06 alexandrkirilov

Could someone write something where to find solution for it?

alexandrkirilov avatar Jun 02 '23 05:06 alexandrkirilov

try this:

macos {
    contains(QMAKE_HOST.arch, "arm64") {
        QMAKE_CFLAGS += -mcpu=apple-m1
    } else {
        QMAKE_CFLAGS += -march=native
    }
}

it works for me,Apple M2

realericzh avatar Nov 24 '23 03:11 realericzh