Re: [q-lang-users] [qlist] SDL anyone?
Brought to you by:
agraef
From: <bri...@co...> - 2006-12-27 16:36:34
|
I second the recommendation for SQLITE. It is a minor wonder :) -------------- Original message -------------- From: Albert Graef <Dr....@t-...> > Andrew Berg wrote: > > That sounds like fun. Probably a good warm-up exercise for a wrapper > > that I'm actually a bit more interested in, with the GOODS database. > > That would be great! :) Meanwhile I'm tempted to take another shot at a > decent GUI interface. A direct Qt wrapper for Q would be quite useful. > > BTW, if you're interested in database interfaces, then you should maybe > take a look at the code of q-sqlite3. I know that OODBs are different, > but q-sqlite3 might give you a couple of ideas on how to handle result > sets and callbacks into the Q interpreter. > > > Drat, the sdl site seems to be down. Or else my network here is > > messed up. > > http://www.libsdl.org seems to work ok over here. > > > Anyhow, where is the best place to look for examples? I guess I > > should start by getting q-opengl to work, then look at how that > > works, eh? > > q-opengl is rather complex, with all the callback and special > typemapping stuff, but you might wish to take a look at the Makefile to > get an idea how to set up compilation of a q-swig module. I'd suggest > that you first take a look at the basic q-swig example in > /usr/share/q/examples/swig. And then there's a bunch of additional > introductory examples in the swig-1.3.22-q-20060225.tar.gz tarball at > SWIG-1.3.22/Examples/q. It should also be useful to have a look at the > html documenation for SWIG 1.3.22 which is also in that tarball. > > I really have to write an introduction to Q-SWIG sometime, but I hope > that with the SWIG docs and the Q examples you'll be able to find your > way. ;-) Of course you could also use Q's "raw" C interface, which is > documented fairly well in the manual, but SWIG is really the only > practical option for wrapping bigger libs. > > Cheers, > Albert > > -- > Dr. Albert Gr"af > Dept. of Music-Informatics, University of Mainz, Germany > Email: Dr....@t-..., ag...@mu... > WWW: http://www.musikinformatik.uni-mainz.de/ag > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > q-lang-users mailing list > q-l...@li... > https://lists.sourceforge.net/lists/listinfo/q-lang-users |