Qt with FB

User projects written in or related to FreeBASIC.
Posts: 1284
Joined: Sep 25, 2007 0:26
Location: the Netherlands

Re: Signals and Slots

Post by AGS »

Stueber wrote:Today, I was able to write a slot in FreeBASIC and connect it with a signal! I connected the slot with the clicked signal of a button and it worked. I clicked the button and the signal was emitted.

Here's the example src (~22kb): *Link*
Here's the example with dll's (~3.3mb): *Link*
I'm wondering how difficult it is going to be to maintain the bindings. Do you expect the bindings to break with every new QT release or is the QT Api relatively stable? With 'break' I mean that you'd need to rewrite substantial parts of the bindings with every new QT release.

It's an amazing thing you're doing, Stueber. You da man, Stueber, you da man!
Posts: 46
Joined: Nov 22, 2009 16:20

Post by Stueber »

Thanks! :)

cha0s said this 2 months ago:
Qt ftw. I wish we could use Qt with FB but I think that will never happen (the moc, for one)
Moc does a lot of thinks, the most important is generating the code for signals and slots. I wrote a tool wich generates the code for slots for all UDTs in a .bas file. You can get it here. It is a very early version and I'm happy about every comment. :) You have to call it with the console and the first parameter must be the name of the .bas file.
For Example:
Parser "test.bas"
Posts: 237
Joined: Jul 15, 2021 7:23
Location: Greece

Re: Qt with FB

Post by demosthenesk »

what happend to Qt for FreeBASIC project...
why it is abandoned ?
Post Reply