Greeting
I have 2 project in one session in qt creator. One is console application and the other is shared plugin. I'm loading the plugin and then call it's method. I want to enter plugin's method and debug it over there. Is it possible? If it is, Can you tell me what should i do?
QObject * plugin
= pluginLoader
->instance
();
if (plugin)
{
deviceManager = qobject_cast<DeviceManager *>(plugin);
return deviceManager->initialize(); //I want to enter this function which is in plugin project
}
else
{
delete pluginLoader;
return false;
}
QPluginLoader * pluginLoader = new QPluginLoader(pluginPath.c_str());
QObject * plugin = pluginLoader->instance();
if (plugin)
{
deviceManager = qobject_cast<DeviceManager *>(plugin);
return deviceManager->initialize(); //I want to enter this function which is in plugin project
}
else
{
delete pluginLoader;
return false;
}
To copy to clipboard, switch view to plain text mode
PS: I'm using Qt 5.6.2 with MinGW 32bit.
Thanks in advance
Bookmarks