Benjamin,
Thank you for indirectly telling me where to look to get this to work.
I have run a few of the qt examples that incorporate SQL, and everything is
working.

In case you want to incorporate it into the next release.
I just added the flag -qt-sql-mysql to the configure line in the .info file.
At this time, I did the usual fink install qt3.

Then the only other problem I had was some of the makefiles needed to be
modified so that it could locate the mysql.h.
So for the INCPATH line, I added -I/sw/include/mysql
At this time, I had to finish installing qt by using:
make
make install
And then everything worked out.
But I'm sure if you could have the mysql.h in the INCPATH from the beginning
fink could do it all.

Again, thank you, but not just for this, but for fink itself.
Scott

On 2/27/2003 9:40 PM, "Scott Smith" <[EMAIL PROTECTED]> wrote:

> On 2/27/2003 8:19 PM, "Benjamin Reed" <[EMAIL PROTECTED]> wrote:
> 
>> Scott Smith wrote:
>>> I don't know if this is the right mailing list, but...
>>> 
>>> I am trying to install qt3 with the MySQL integration.
>>> I know that I need use
>>> configure -qt-sql-mysql
>>> Flag for the configure script, but when I try this, the configure script can
>>> not find a qt_mac.h file.
>> 
>> You will need to do a lot more work than just recompiling; the fink
>> patch against qt is 10 or 20k.
>> 
>> I'll look into adding database support to fink's qt, if you'd like.
>> 
> 
> I was looking at the qt3-3.1.1-5.info file, and it looks like I only need to
> add the -qt-sql-mysql to the line
> 
> echo "yes" | ./configure -DQ_OS_DARWIN -DQ_OS_FREEBSD \
>       '-I$(QTDIR)/include' -I/usr/X11R6/include/freetype2 -I%p/include \
>       -buildkey qt3-jaguar -platform darwin-g++ -xplatform darwin-g++ \
>       ...
> 
> I know that that you might not be able to tell me this is going to work, but
> I'm more wondering what files I need to back up.
> I am thinking the following:
> .deb file
> .info file
> .patch file
> 
> Are there any others?
> Or do you know for a fact this won't work.
> 
> Thank you for your help so far.
> Scott
> 
> 
> 
>>> I have already gotten qt3 and MySQL to install on my box (I did this before
>>> I knew that I needed to compile them together), and they work fine
>>> independently.
>>> I have tried using "apt-get install qt3 -qt-sql-mysql", but apparently fink
>>> add several other flags, because although this compiles, it does not work
>>> when I try to run qmake and other qt programs.
>> 
>> apt-get gets pre-built binaries, they would have to have been configured
>> with the database stuff already.
>> 
>> 



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to