Cannot build DBKit projects

When using DBKit in my project, I am not able to Build it. I see instead a windows that asks me to buy a license. Why is that?

Enhanced licenses are needed if using DB servers. Local SQLite engine does not need it. But probably DBKit has DB servers support in it triggering this need.

So I will not be able to build a project that uses DBKit when I use a lite licence (MacOS)?

Exactly
tried that a while ago with my macOS Lite license


Erm, didn’t you chaps know that when purchasing the Lite? As I recall, the Ts&Cs state that with Lite, you get SQLite use but not server-related (mySQL and the like) use.

Sure we know (o;

Besides
never had the need for a license supporting database servers as my databases are anyway remote and offer a REST API with limited IP access (fixed IPv4 and IPv6 at home ;o).

Once DBKit gets released (stable, out of beta), open a feature request asking for a “Lite Version”, that is basically the same thing without everything related to remote DBs.

People could use the lite one, and later replace it with the full one without problems.

2 Likes

Mmm, yes I see. Perhaps check whether dbkit can be modified to allow conditional compilation of the database type - or indeed whether a Lite type can be made for SQLite only (being ignorant of dbkit I don’t know whether that makes any sense, of course).

Currently I guess not. It would demand a #If TargetLicenseLite that I think does not exist, at least not documented.

No, I didn’t know that so I wasted some days with this. So now I will have to add the normal db code again as usual. Thanks.

You can comment/remove the code that reference to:

  • MySQLCommunityServer
  • ODBCDatabase
  • PostgreSQLDatabase

then it should work.

I was able to build with Mac Lite with these changes (not tested, just commented code until I didn’t get the ‘need license’ dialog):
dbkit-light.xojo_binary_project.zip (90.8 KB)

1 Like

hello
I can’t get to grips with the template and have programmed a simple way to access eddies-electronic.sqlite.
By using your eddies-electronic.sqlite DB you should be able to access it

mydbkit-simply-3.xojo_binary_project.zip (26.4 KB)

So, I just figured out what’s going on. This feature starts in version 2024R3, and my license is only up to on R2. For now, I’m not planning to renew because my app is working great for me. The only reason I might renew is if there’s a word processor-like object added to Xojo. That’s still something I want to build into my app before I release it. I don’t think a text field is very professional to use in a writing app, which is what my app is all about.