[Gambas-bugtracker] Bug #2414: Add CopperSpice support as gb.copperspice?

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Wed Dec 8 22:33:03 CET 2021


http://gambaswiki.org/bugtracker/edit?object=BUG.2414&from=L21haW4-

Comment #5 by miilvyxg TN5TLSYN:

I will try working on it if I have time. Porting from Qt to CopperSpice is not that hard. Especially when your Gambas binding code for Qt is very limited. If it's something like Qt4Pas or Qt5Pas of the Lazarus Free Pascal guys then I'm really afraid. Qt4Pas and Qt5Pas is a monster. Who created it and maintained it is really talented.

Adapting the code for gb.qt4 and gb.qt5 to gb.copperspice could do by hand because there are not much of code. CopperSpice's most notable different to Qt is their removal of MOC, so everywhere you have Q_OBJECT you have to replace it with CS_OBJECT(classname), note classname is required because CS_OBJECT is just a macro. There are not much to replace, though.

CopperSpice doesn't have QtWebEngine but they have QtWebkit, modifying code for gb.qt4 to gb.copperspice maybe easier.

I suggest you playing with it a bit further before just rejecting the idea. Just my 2 cents.




More information about the Bugtracker mailing list