Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-20 Thread Thiago Macieira
On Sunday, 20 November 2022 21:52:52 PST Jani Heikkinen via Interest wrote: > We have release test automation (RTA) which tested qmake builds from command > line with NDK 23 and it worked OK. qmake tests from Qt Creator weren't > tested by RTA but we will add that test as well. Including creation

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-20 Thread Jani Heikkinen via Interest
Manager > -Original Message- > From: Interest On Behalf Of Thiago > Macieira > Sent: perjantai 18. marraskuuta 2022 23.31 > To: interest@qt-project.org > Subject: Re: [Interest] Can't build with Qt 6.4.1 for Android > > On Friday, 18 November 2022 09:34:22 PST Alexander

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-19 Thread Alexander Dyagilev
Hello, Removing QMAKE_RANLIB helped. Thanks. On 11/19/2022 12:31 AM, Thiago Macieira wrote: On Friday, 18 November 2022 09:34:22 PST Alexander Dyagilev wrote: I use Qt Creator and qmake. I never used cmake... Looks like it's a left-over in the qmake mkspec then. mkspecs/features/android/defau

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Thiago Macieira
On Friday, 18 November 2022 12:05:26 PST Alexander Dyagilev wrote: > It's weird that I'm the only on the planet using libraries in Qt > projects for Android platform. Probably the only one using static libraries and NDK 23. -- Thiago Macieira - thiago.macieira (AT) intel.com Cloud Software Arc

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Thiago Macieira
On Friday, 18 November 2022 09:34:22 PST Alexander Dyagilev wrote: > I use Qt Creator and qmake. I never used cmake... Looks like it's a left-over in the qmake mkspec then. mkspecs/features/android/default_pre.prf has: QMAKE_RANLIB= $${CROSS_COMPILE}ranlib Which is the file you're tr

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
https://bugreports.qt.io/browse/QTCREATORBUG-28472 Happens under Linux also. The repro sample is pretty simple - project should contain library subproject. It's weird that I'm the only on the planet using libraries in Qt projects for Android platform. On 11/18/2022 8:07 PM, Alexander Dyagi

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Sharaf Zaman
I think the ranlib is set by Android NDK’s cmake toolchain and it caches the value. I’d suggest you to do a cleanbuild (especially delete CMakeCache.txt) if it is generated and retry. (Something like this would happen if you upgraded your NDK version for example). Alexander Dyagilev writes: > T

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
*Workaround* I've found for now is to just make a link (or just copy) from llvm-ranlib.exe to arm-linux-androideabi-ranlib.exe. Is there any better solution? On 11/18/2022 8:07 PM, Alexander Dyagilev wrote: Hello, Switched to the required NDK 23.1.7779620 and now getting the following weird

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
I use Qt Creator and qmake. I never used cmake... Why does not Qt Creator know about these changed in NDK 23? How could 6.4.1 be release then if Qt Creator does not support it... On 11/18/2022 8:27 PM, Thiago Macieira wrote: On Friday, 18 November 2022 09:16:04 PST Alexander Dyagilev wrote:

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Thiago Macieira
On Friday, 18 November 2022 09:16:04 PST Alexander Dyagilev wrote: > I've checked: I don't have this > C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/pr > ebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib. > > > The only ranlib there is llvm-ranlib.exe. > > Is it

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
This file exists in NDKs prior to 23.x.x versions. So?... Googling shows nothing. It seems I am the only in the world who builds for Android under Windows. On 11/18/2022 8:16 PM, Alexander Dyagilev wrote: I've checked: I don't have this C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.77796

Re: [Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
I've checked: I don't have this C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib. The only ranlib there is llvm-ranlib.exe. Is it Qt bug? Android NDK bug? My setup config bug? On 11/18/2022 8:07 PM, Alexander

[Interest] Can't build with Qt 6.4.1 for Android

2022-11-18 Thread Alexander Dyagilev
Hello, Switched to the required NDK 23.1.7779620 and now getting the following weird error: C:\Users\alexa\AppData\Local\Android\Sdk\ndk\23.1.7779620/toolchains/llvm/prebuilt/windows-x86_64/bin/arm-linux-androideabi-ranlib ..\bin\libnetwrksniff_armeabi-v7a.a process_begin: CreateProcess(NULL,