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.
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)
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.