Chani wrote: >> 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.
That is not true. if you do: > export CLASSPATH=$JAMBI/qtjambi-4.4.3_01.jar:$JAMBI/qtjambi-linux32-gcc-4.4.3_01.jar and then > javac JambiExample.java it will work. >>> ..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. not the qtjambi.sh script... the set_jambi_env.sh script. It will set CLASSPATH for you. _______________________________________________ Qt-jambi-interest mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest
