[Qt-jambi-interest] jambi jdbc

Chani chanika at gmail.com
Mon Nov 17 10:07:01 CET 2008


>
> This project is included into Qt Jambi 4.4, so if you download the
> latest package you will find it in:
>
> com.trolltech.qt.sql.QJdbc

yes, eskil helped me off-list :) thanks anyways

>
> I see that its not mentioned in the API docs, so I'll have a look at why...
>
> > and while I'm here... I can't seem to get *anything* to compile from the
> > commandline. I have all my env vars set up, eclipse works just fine, but
> > javac tells me "package com.trolltech.qt.gui does not exist"
>
> In this case you are missing the qtjambi-4.4.3_01.jar in the CLASSPATH

yep, I figured that out earlier today. funny thing is though, I have to specify 
the full path to each jar on each call to javac; the jambi docs led me to 
believe I could just set my env vars and forget, but that doesn't seem to be 
the case.

>
> > ..this makes me nervous, because pretty soon I have to compile my 
project
> > on a windows computer where eclipse doesn't work properly,  and I 
have
> > less experience with windows than with java. :)
>
> There is a shell script in the package that should set the env for you.
> On windows this should work without problems, on linux there might be
> some hickups if you have a non-standard shell interpreter.
>

oh right, I forgot about that script... I see it also passes all the jars to 
javac, so I guess I really do need to always do that. hmm.
...I still have no idea how to handle generated files n'stuff, but one of my 
group members says he managed to get things working on windows, so he 
should be able to explain it to me. :)

now if only we could get the school's damn sql server to grant us access 
from somewhere other than a school windows comp. :P

-- 
This message brought to you by eevil bananas and the number 3.
www.chani3.com



More information about the Qt-jambi-interest mailing list