You cannot run both. In Qt Creator, I simply open the “Plug and Paint” project and the “Plug and Paint Plugins” project. The “Plug and Paint Plugins” is not runnable, but is required by the other project and you must manually compile it first. It builds two plugins, a static one and a dynamic one, and copies them both in the “Plug and Paint” project in the /plugins directory. If the copy fails, it won’t work. Once it’s compiled, run the “Plug and Paint” project.
What errors are you getting? Check the compile output and look for failed copy or permission errors. In the “Plug and Paint” project configuration, you can also add a dependency to the plugins project to always make it compile before the main app.
↧