Important: Please read the Qt Code of Conduct -

VS2008 Profile Guided Optimization and Qt Plugins

  • Hi,

    I'm developing an application using Microsoft Visual Studio 2008 and Qt 4.7.0 that consists of the main application and several plug-ins / dlls. Since performance is very important for my case, the use Visual Studio's Profile Guided Optimization feature would be very welcome. For the main application, everything works fine - I am able to compile it using PGO and run into no problems. When I try to run a plug-in's instrumented compilation, however, for some reason QPluginLoader is unable to load the plug-in. I have already tried doing this under the main application's regular Release build, under a PGO build (the whole thing), and under an instrumented build, all to no avail. I was wondering if anyone here has already bumped into a similar problem and found a solution. Is it even possible to use PGO with QT-based dll's?

    Thanks in advance for the help.

Log in to reply