Re: [Interest] can't debug 64bit intel windows app on ARM CPU

2022-01-25 Thread Thiago Macieira
On Tuesday, 25 January 2022 10:49:42 PST Cristian Adam wrote:
> Which Windows version are you using? Only Windows 11 has support for x64
> virtualization for Arm64 machines.

Even if it supports virtualising execution, it may not support debugging of 
virtualised content.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel DPG Cloud Engineering



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] can't debug 64bit intel windows app on ARM CPU

2022-01-25 Thread Hamish Moffatt via Interest

On 26/1/22 05:49, Cristian Adam wrote:


Hi,

Please open a bug report at https://bugreports.qt.io/

Which Windows version are you using? Only Windows 11 has support for 
x64 virtualization for Arm64 machines.




It sounds like a Visual Studio installation issue and nothing to do with 
Qt



Hamish

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt Android: how to set __ANDROID_API__ ?

2022-01-25 Thread Alexander Dyagilev

Sorry, forgot to say. As far as I know, the default value for Qt 5.x is:

ANDROID_NDK_PLATFORM=16

On 1/26/2022 1:48 AM, Alexander Dyagilev wrote:


Hello,

You need to define ANDROID_NDK_PLATFORM environment variable. You can 
do it by changing it in Qt Creator:


Or by changing using system's environment variables.

I use Qt 5.12 so I set it to ANDROID_NDK_PLATFORM=21.

For Qt 6.x, the default value (if not set by environment variable) is 
ANDROID_NDK_PLATFORM=23.



On 1/25/2022 2:57 PM, Nuno Santos wrote:

Hi,

I’m trying to call get_nprocs which is defined on #include

But it doesn’t get included because there is a macro making it 
available only when __ANDROID_API__ is >= 23


Qt Creator installs by default NDK 21.3.6528147.

Is this something defined at the NDK level? Or is this something we 
can set as a parameter somewhere, because I can’t find it…


Thanks!

Nuno



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt Android: how to set __ANDROID_API__ ?

2022-01-25 Thread Alexander Dyagilev

Hello,

You need to define ANDROID_NDK_PLATFORM environment variable. You can do 
it by changing it in Qt Creator:


Or by changing using system's environment variables.

I use Qt 5.12 so I set it to ANDROID_NDK_PLATFORM=21.

For Qt 6.x, the default value (if not set by environment variable) is 
ANDROID_NDK_PLATFORM=23.



On 1/25/2022 2:57 PM, Nuno Santos wrote:

Hi,

I’m trying to call get_nprocs which is defined on #include

But it doesn’t get included because there is a macro making it 
available only when __ANDROID_API__ is >= 23


Qt Creator installs by default NDK 21.3.6528147.

Is this something defined at the NDK level? Or is this something we 
can set as a parameter somewhere, because I can’t find it…


Thanks!

Nuno



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] can't debug 64bit intel windows app on ARM CPU

2022-01-25 Thread Cristian Adam

Hi,

Please open a bug report at https://bugreports.qt.io/

Which Windows version are you using? Only Windows 11 has support for x64 
virtualization for Arm64 machines.


Qt Creator 6.0.2 is only delivered as x64 app, so if you can run it I 
assume you have Windows 11. And being a x64 application it should work 
fine with a x64 debugger.


If you don't have an x64 debugger then I would assume it's a problem 
with the debugger installation.


I do own a Samsung Galaxy Go with Arm64 and Windows 11, I could try to 
reproduce the problem. But first... a bug report please 


Cheers,
Cristian.

On 25/01/2022 18:55, David M. Cotter wrote:
does nobody else have an M1 mac and Parallels Desktop or VMWare, who 
develops for both mac and windows?



On Jan 23, 2022, at 5:14 PM, David M. Cotter  wrote:

I have an ARM cpu, and have installed the ARM version of Windows. it 
has that "x86 emulation" built in so this *shouldn't" be a problem. 
but it is.


i've installed MSDev 2019 community edition, with a few extra 
individual components, this config is EXACTLY the same as my intel 
computer's msdev installation.


When i go to look for Debuggers in the expected folder:
C:\Program Files (x86)\Windows Kits\10\Debuggers\x64

but the folder is empty:

all the other folders DO have debugger files in them (x86, arm, 
arm64). the ONLY one that is empty is the x64 folder. which means Qt 
won't find it, which means i can't debug my Qt app.


i've seen this forum post 
, 
and i've done all the things it suggested by @Chris-Kawa, but to no 
avail.


What am I missing?

to answer on the forums, click here 
.


thanks

-dave



___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] can't debug 64bit intel windows app on ARM CPU

2022-01-25 Thread David M. Cotter
does nobody else have an M1 mac and Parallels Desktop or VMWare, who develops 
for both mac and windows?

> On Jan 23, 2022, at 5:14 PM, David M. Cotter  wrote:
> 
> I have an ARM cpu, and have installed the ARM version of Windows. it has that 
> "x86 emulation" built in so this *shouldn't" be a problem. but it is.
> 
> i've installed MSDev 2019 community edition, with a few extra individual 
> components, this config is EXACTLY the same as my intel computer's msdev 
> installation.
> 
> When i go to look for Debuggers in the expected folder:
> C:\Program Files (x86)\Windows Kits\10\Debuggers\x64
> 
> but the folder is empty:
> 
> all the other folders DO have debugger files in them (x86, arm, arm64). the 
> ONLY one that is empty is the x64 folder. which means Qt won't find it, which 
> means i can't debug my Qt app.
> 
> i've seen this forum post 
> ,
>  and i've done all the things it suggested by @Chris-Kawa, but to no avail.
> 
> What am I missing?
> 
> to answer on the forums, click here 
> .
> 
> thanks
> 
> -dave

___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


[Interest] Qt Android: how to set __ANDROID_API__ ?

2022-01-25 Thread Nuno Santos
Hi,

I’m trying to call get_nprocs which is defined on #include 

But it doesn’t get included because there is a macro making it available only 
when __ANDROID_API__ is >= 23

Qt Creator installs by default NDK 21.3.6528147.

Is this something defined at the NDK level? Or is this something we can set as 
a parameter somewhere, because I can’t find it… 

Thanks!

Nuno


___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest