[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: qt designer and mysql

On Friday 04 October 2002 02:47 am, you wrote:
> On 03.Okt 2002 - 22:07:14, Earl F Hampton wrote:
> > On Thursday 03 October 2002 06:31 pm, you wrote:
> > > On 03.Okt 2002 - 10:51:24, Earl F Hampton wrote:
> > > > I've got qt3-dev and libqt3-mysql installed. I'm running woody.
> > >
> > > Can you connect to the Database using qt-designer? Have you installed
> > > libqt3? Is your program multithreaded? If so install libqt3-mt and
> > > libqt3-mysql-mt.
> >
> > No I can't connect with qt-designer.
> >
> > No the app isn't multithreaded but I did install mt libs and give it a
> > shot but had no better results.
> Thats really strange. What version of qt3 are you using ?(please post
> the deb - Versions of all parts) Have you tried to remove the
> libqt3-mysql and install it again? Check the Paths' for qt using
> qtconfig, maybe qt cannot find the library. Here all qt-stuff, except
> the libs, which are under /usr/lib is under /usr/share/qt (and
> symlinked to /usr/bin etc.) and the plugins are under
> /usr/lib/qt3/plugins/sqldrivers/, there should be a libqsqlmysql.so.

I didn't know there was a qtconfig. Awesome!! For some reason the lib path 
was set to /usr/share/qt. Needless to say there is no link there to /usr/lib 
or more importantly /usr/lib/qt3/plugins for getting the sql to work.

Thanks for the help.

Earl F Hampton

Reply to: