Skip to contentSkip to conversation

#include[yocto] [meta-mingw] Build win sdk with qt compilation errors.

DISCUSSION shuai cao 1 participant 1 message Dec 1, 2020

lore
Share & tools
lore

shuai cao

author
#0 lore raw

Hi , Everyone
I'm generating win sdk with yocto and I get nativesdk-qtbase compilation errors.

tmp-glibc-glibc/work/x86_64- nativesdk-mingw32-niic_sdk- mingw32/nativesdk-qtbase/5.11. 3+gitAUTOINC+08de243eaa-r0/ git/qmake/library/ioutils.cpp: 208:19: error: cannot convert 'LPWSTR' {aka 'wchar_t*'} to 'LPSTR' {aka 'char*'} |                    (LPWSTR)&string,
|                    ^~~~~~~~~~~~~~~
Makefile:211: recipe for target 'ioutils.o' failed

I need to generate a sdk with a qt environment.
Can you tell me how to handle this problem?

Thanks.