Re: C++ to Java: using QString
William S Fulton <[email protected]> Tue, 30 Apr 2024 18:20:07 +0100
| Newsgroups | gmane.comp.programming.swig |
|---|---|
| Message-ID | <CANGqftC04PA833jG9hzu8O7uMyVzu53Wv5v=6PyLZoXh7QUEwQ@mail.gmail.com> |
--===============7428892427887627919== Content-Type: multipart/alternative; boundary="000000000000017d54061753972d" --000000000000017d54061753972d Content-Type: text/plain; charset="UTF-8" Hi SWIG tries to support standard C and C++ library types out the box and QString is not in either of these standards. You'll need to obtain typemaps for non-standard types from wherever the types originate or provide/maintain them in an appropriate project. William On Tue, 30 Apr 2024 at 07:56, Alessandro L. <[email protected]> wrote: > Hello everyone, > I have some methods in C++ that return and take as arguments instances of > QString. > I'd like to understand if there are any typesettings for QString in the > new SWIG. > > If not, could you give some advice on what to read and what could be the > steps to do so? > I am not new at SWIG, but it's been a while since the last time I used it > and I am trying to remember things :) > > Thank you so much for your attention and participation. > Alessandro Lensi > _______________________________________________ > Swig-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/swig-user > --000000000000017d54061753972d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi<div><br></div><div>SWIG tries to support standard C and= C++ library types out the box and QString is not in either of these standa= rds. You'll need to obtain typemaps for non-standard types from whereve= r the types originate or provide/maintain them in an appropriate project.</= div><div><br></div><div>William<br></div></div><br><div class=3D"gmail_quot= e"><div dir=3D"ltr" class=3D"gmail_attr">On Tue, 30 Apr 2024 at 07:56, Ales= sandro L. <<a href=3D"mailto:[email protected]">[email protected]</a= >> wrote:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px= 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><di= v dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:verdana,san= s-serif">Hello everyone,</div><div class=3D"gmail_default" style=3D"font-fa= mily:verdana,sans-serif">I have some methods in=C2=A0C++ that return and ta= ke as arguments instances of QString.</div><div class=3D"gmail_default" sty= le=3D"font-family:verdana,sans-serif">I'd like to understand if there a= re any typesettings for QString in the new SWIG.</div><div class=3D"gmail_d= efault" style=3D"font-family:verdana,sans-serif"><br></div><div class=3D"gm= ail_default" style=3D"font-family:verdana,sans-serif">If not, could you giv= e some advice on what to read and what could be the steps to do so?</div><d= iv class=3D"gmail_default" style=3D"font-family:verdana,sans-serif">I am no= t new at SWIG, but it's been a while since the last time I used it and = I am trying to remember things :)</div><div class=3D"gmail_default" style= =3D"font-family:verdana,sans-serif"><br></div><div class=3D"gmail_default" = style=3D"font-family:verdana,sans-serif">Thank you so much for your attenti= on and participation.</div><div class=3D"gmail_default" style=3D"font-famil= y:verdana,sans-serif">Alessandro Lensi</div></div> _______________________________________________<br> Swig-user mailing list<br> <a href=3D"mailto:[email protected]" target=3D"_blank">Swig-u= [email protected]</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/swig-user" rel=3D"n= oreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/listinfo/s= wig-user</a><br> </blockquote></div> --000000000000017d54061753972d-- --===============7428892427887627919== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============7428892427887627919== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Swig-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/swig-user --===============7428892427887627919==--