Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread Mathias . Born
Hi, In case you are on M$-WIndows, I'd like to mention a nasty bug in Visual C++ 2012 that took me days to dig out of google: http://bugs.python.org/issue17797 In short: when you embedd the python interpreter into an application compiled as "WINDOWS" (not as "CONSOLE"), the operating system doe

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread Matt Newell
> > If you would forward an example to me it would very helpful. I think > both of you are suggesting that I wrap the C++ (BTW a very large app) > and then write the entire program using PyQt. Is that correct. In reality you only need to wrap a very very small part of the API to make the app

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread John Fabiani
On 10/01/2013 11:52 AM, Matt Newell wrote: That sounds encouraging. But it lacks a little detail - like how does one embed python (PyQt) into a C++ app. The sip I sort of understand and it is doable. I only need a few C++ classes and that makes sense. But I don't have a clue how or where to st

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread Matt Newell
> > That sounds encouraging. But it lacks a little detail - like how does > one embed python (PyQt) into a C++ app. The sip I sort of understand > and it is doable. I only need a few C++ classes and that makes sense. > But I don't have a clue how or where to start on embeding PyQt. Does > some

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread John Fabiani
On 10/01/2013 09:04 AM, David Boddie wrote: On Tue Oct 1 16:08:23 BST 2013, John Fabiani wrote: On 10/01/2013 08:00 AM, David Boddie wrote: [...] You don't have to wrap the entire API or rewrite the whole application. You just need to identify which classes need to be exposed to Python and w

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread David Boddie
On Tue Oct 1 16:08:23 BST 2013, John Fabiani wrote: > On 10/01/2013 08:00 AM, David Boddie wrote: [...] > > You don't have to wrap the entire API or rewrite the whole application. > > You just need to identify which classes need to be exposed to Python and > > wrap those. [...] > I'm so sorry

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread John Fabiani
On 10/01/2013 08:00 AM, David Boddie wrote: On Tue Oct 1 15:16:58 BST 2013, John Fabiani wrote: If you would forward an example to me it would very helpful. I'll try to dig something out. I sent a broken example to the mailing list a few days ago, but I'm sure I could put something else togeth

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread David Boddie
On Tue Oct 1 15:16:58 BST 2013, John Fabiani wrote: > If you would forward an example to me it would very helpful. I'll try to dig something out. I sent a broken example to the mailing list a few days ago, but I'm sure I could put something else together. > I think > both of you are suggesting

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread John Fabiani
On 10/01/2013 02:46 AM, David Boddie wrote: On Tue Oct 1 03:05:55 BST 2013, John Fabiani wrote: Sorry if I mis-led you somewhere. The C++ app has been around for many years and is NOT going to be rewritten anytime soon. I want to integrate a python solution that will allow me to create new co

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-10-01 Thread David Boddie
On Tue Oct 1 03:05:55 BST 2013, John Fabiani wrote: > Sorry if I mis-led you somewhere. The C++ app has been around for many > years and is NOT going to be rewritten anytime soon. I want to > integrate a python solution that will allow me to create new content > using python all running withi

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-09-30 Thread John Fabiani
On 09/30/2013 06:36 PM, Glenn Ramsey wrote: On 01/10/13 14:22, John Fabiani wrote: On 09/30/2013 06:11 PM, John Fabiani wrote: Original Message Subject: Re: [PyQt] c++ app integrate PyQt Date: Mon, 30 Sep 2013 17:51:28 -0700 From: John Fabiani To: Matt Newe

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-09-30 Thread Glenn Ramsey
On 01/10/13 14:22, John Fabiani wrote: On 09/30/2013 06:11 PM, John Fabiani wrote: Original Message Subject:Re: [PyQt] c++ app integrate PyQt Date: Mon, 30 Sep 2013 17:51:28 -0700 From: John Fabiani To: Matt Newell On 09/30/2013 05:24 PM, Matt Newell wro

Re: [PyQt] Fwd: Re: c++ app integrate PyQt

2013-09-30 Thread John Fabiani
On 09/30/2013 06:11 PM, John Fabiani wrote: Original Message Subject:Re: [PyQt] c++ app integrate PyQt Date: Mon, 30 Sep 2013 17:51:28 -0700 From: John Fabiani To: Matt Newell On 09/30/2013 05:24 PM, Matt Newell wrote: > On Monday, September 30, 2013 04:5

[PyQt] Fwd: Re: c++ app integrate PyQt

2013-09-30 Thread John Fabiani
Original Message Subject:Re: [PyQt] c++ app integrate PyQt Date: Mon, 30 Sep 2013 17:51:28 -0700 From: John Fabiani To: Matt Newell On 09/30/2013 05:24 PM, Matt Newell wrote: On Monday, September 30, 2013 04:51:24 PM John Fabiani wrote: Hi, I have an exi