I had created my Qt C++ application and now I am thinking to provide it as a plugin or as library in Eclipse. I know there is CDT plugin, but I don't won't to write my code again.
Is there any way to achieve this?
Snippet for QPushbutton in qt I have like as follow:-
LibTest::LibTest()
{
QPushButton pb;
pb.setText("Hello World !");
QObject::connect(&pb,SIGNAL(clicked()),&pb,SLOT(called()));
}
void LibTest::called()
{
qDebug()<<"It was called.";
}
here called() is a slot function and clicked() is a signal. I want to integrate as plugin or perspective in eclipse?
Is there is a way to use SWT that I can put my application into it and call from java? Than how to achieve through that?