From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: #include[yocto] [meta-mingw] Build win sdk with qt compilation errors. To: openembedded-core@lists.openembedded.org From: "shuai cao" X-Originating-Location: Hefei, Anhui, CN (223.244.82.16) X-Originating-Platform: Windows Chrome 87 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Tue, 01 Dec 2020 02:04:30 -0800 Message-ID: Content-Type: multipart/alternative; boundary="8tHwV5ElG7N8GIMnG7OS" --8tHwV5ElG7N8GIMnG7OS Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi , Everyone I'm generating win sdk with yocto and I get nativesdk-qtbase compilation e= rrors. tmp-glibc-glibc/work/x86_64- nativesdk-mingw32-niic_sdk- mingw32/nativesdk= -qtbase/5.11. 3+gitAUTOINC+08de243eaa-r0/ git/qmake/library/ioutils.cpp: 20= 8:19: error: cannot convert 'LPWSTR' {aka 'wchar_t*'} to 'LPSTR' {aka 'char= *'} | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(LP= WSTR)&string, | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0^~~= ~~~~~~~~~~~~ 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. --8tHwV5ElG7N8GIMnG7OS Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable 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*'}
|     &nb= sp;              (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?  
 
                &= nbsp;                    =                     &nbs= p;                     &n= bsp;                     =     Thanks.
--8tHwV5ElG7N8GIMnG7OS--