Hi, On Feb 3, 2011, at 9:59 AM, ext [email protected] wrote:
> Hi, > > We have created a plug-in for qt-creator IDE using the Qt SDK for windows > (MinGW). > > We have followed the following compilation process. > > • Compile Plug-in DLL in debug mode > • Compile the qt-creator source in debug mode > • Refer the qt-creator build and src build tree in the .pro file > • Compile the plug-in DLL in debug mode and copy to the qt-creator > location (compiled in debug mode) > • Plug-in successfully loads and we are able to execute our testing. > > • Compile Plug-in DLL in release mode – copy the DLL to the qt-creator > location(qt sdk default qt-creator location) > • Compile the qt-creator source in release mode > • Refer the qt-creator build and src build tree in the .pro file > • Compile the plug-in DLL in release mode and copy the DLL to the > qt-creator installation location (This is the location in which qt-creator > along the qt-sdk for windows gets installed) > • Plug-in not loading successfully > • We get the following error. > • Incompatible library Expected Windows msvc release full config, got > Windows mingw release full config Yes, that's to be expected, you need to use the same configuration for Qt Creator and its plugins. > • Compile Plug-in DLL in release mode using msvc2008– copy the DLL to > the qt-creator location(qt sdk default qt-creator location) > • Compile the qt-creator source in release mode > • Refer the qt-creator build and src build tree in the .pro file > • Compile the plug-in DLL in release mode and copy the DLL to the > qt-creator installation location (This is the location in which qt-creator > along the qt-sdk for windows gets installed) You mean you copy the plugin to a different Qt Creator version than it was compiled with? That will not work. Different Qt Creator versions are not binary compatible. > • Plug-in not loading successfully > • We get the following error. > • Cannot load library. The specified procedure could not be found The most probable reason I can imagine for this, is that you compiled the plugin against different libraries (versions) than you are trying to run them with. Br, -- Eike Ziller Software Engineer Nokia, Qt Development Frameworks Nokia gate5 GmbH Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B Umsatzsteueridentifikationsnummer: DE 812 845 193 Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
