create custom plugin [solved]
-
Hi
We are students working on a final project
The project was divided into 2 projects leaders, and plug-in from which we run the script.
We could not connect the two projects
We based the example of "plugandpaint" and the compiler displays a message UNDIFINED REFERENCE TO realization of the PLUGIN interface.
the compiler says that the moc_ file not found..
Is anybody know how we can solve this problem?
tnx! -
Hi and welcome to devnet,
What was the problem ?
-
the problem was that we made plugin and it wasn't recognized in our project.
we take a look at the plug&paint example and it was not good for us..
we wanted to build a plugin for our project and not for qtCreator..
we found the solution in the link below:
http://forum.qt.io/topic/52650/solved-qpluginloader-unable-to-load-a-qt-plugin
we took his code as example for how to implement plugin like this.