> Ok, something weird. > > My project uses mysql db from day one. > > And today I wanted to uncheck gb.v4l because it doesn't work with v4l2, > so i ditched it in favor of embedded mplayer, so I went to my project > properties and noticed gb.db.mysql was not checked! Huh, it wasn't in my > .project file either, but mysql was working, otherwise I couldn't even > start my project. > > Library=gb.qt > Library=gb.form > Library=gb.db > Library=gb.db.form > Library=gb.desktop > Library=gb.form.dialog > Library=gb.form.mdi > Library=gb.net > Library=gb.net.curl > Library=gb.net.smtp > Library=gb.qt.ext > Library=gb.settings > Library=gb.v4l > Library=gb.xml > Library=gb.xml.rpc > > I checked it, and it appeared in my .project file too. > Unchecked it again and my project still runs without it... > > Whats the idea behind this? > Doesn't this generate dependency problems if you create a package? >
It will. But you may write a database program that does not care on the database backend (for example, the database manager). The gb.db component can automatically loads gb.db.* driver at first use, if they are present of course. But if you are sure which gb.db.* driver you need, you can check it in the project property dialog, so that you have the dependency. Regards, -- Benoît Minisini ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user