[PyQt] openRPT and pyQT

John johnf at jfcomputer.com
Thu Apr 22 23:54:57 BST 2010


On Thursday 22 April 2010 03:03:42 pm Matt Newell wrote:
> On Thursday 22 April 2010 14:10:33 John wrote:
> > On Wednesday 21 April 2010 07:55:38 am John wrote:
> > > I'm wondering if anyone has written an interface for openRPT.  As I
> > > understand it "openRPT" is written in QT.    So I'm guessing that
> > > openRPT could be used by pyQT.
> > >
> > > Any help or discussion would be helpful.
> > >
> > > Johnf
> >
> > Did I ask a dumb newbie question?  I'm surprized no one even commented.
>
> Probably because nobody on the list has heard of openRPT.  I hadn't.  Looks
> like an interesting project.
>
> I think if anyone had written bindings they would either announce it on the
> list here, or there would be info on the openRPT website.
>
> It seems to me the main use of bindings for an app like that would be to
> embed python so you could use it to manipulate the sql data before it gets
> to the page.  That would probably require a decent amount of work on the
> application, besides writing the actual bindings.  Unlikely that someone
> would do that work unless they had specific requirements to fulfill.
>
> Matt

Thanks for the response.  I guess I'm surprized that others don't know about 
openRPT.  I wonder what everyone is using for a report writer?  I'm using 
pyQT to write a CRUD app.  And I need a report writer.  I looked at reportlab 
but soon discovered openRPT.  The xTuple folks use it (both xTuple and 
openRPT writer were written in QT).  

So I guess the question is what is required to interface pyQT to other QT 
programs written in C++.  I realize that the question is very general.  But I 
hope others will provide at least a starting point for me.  What is implied 
also in my question is the assumation that because openRPT (and others) were 
written in QT that should be some sort of standard way to interface from 
pyQT.

BTW - openRPT has some sort of way of passing parms to a SQL engine built-in 
the openRPT program.  

Thanks in advance,

Johnf






More information about the PyQt mailing list