[PyKDE] Including database support in Qt runtime
stuvi at SLAC.Stanford.EDU
Thu Jan 22 22:18:01 GMT 2004
Thanks, compiling the SQL drivers as plugins works just fine with PyQt. The only thing to watch out for is that if the plugin DLL is in the plugins/sqldrivers directory it still tries to load the database runtime libraries, if I move them somewhere else then it doesn't complain.
Selim Tuvi, Research Engineering Group, SLAC
GLAST, I&T Online, MS 98
From: Phil Thompson [mailto:phil at riverbankcomputing.co.uk]
Sent: Wednesday, January 21, 2004 10:14 AM
To: Tuvi, Selim; pykde at mats.imk.fraunhofer.de
Subject: Re: [PyKDE] Including database support in Qt runtime
On Wednesday 21 January 2004 2:03 am, Tuvi, Selim wrote:
> Hi all, I recently compiled Qt 3.2.3 under Windows XP and selected
> MySql and Oracle support as 'Direct' in Advanced Options.
> The problem is that whenever a Qt or PyQt application runs it expects
> the MySql and Oracle runtime libraries to be in the search path.
> We'd like to distribute our application to sites where only MySql,
> only Oracle, or neither may be installed.
> Is there a way of getting around this? If I build Qt and specify the
> database drivers as plugins, will the PyQt build still have support
> for them?
I don't see why not. PyQt doesn't know about the different databases.
More information about the PyQt