snehil_1 0 Newbie Poster

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?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.