Custom Designer Plugins

It is possible to add widgets from a custom designer plugin to the Widget Box of the Qt Eclipse Integration, just as it is for the standalone Qt Designer application. To do so, you need to perform the following steps:

  1. Build your custom designer plugin with the same Qt version as the Qt Eclipse Integration, configured with -qtnamespace QtCppIntegration in release mode. For the Qt Eclipse Integration 1.4.1, you need Qt 4.4.1. The Qt configure command will look like this:
     ./configure -release -qtnamespace QtCppIntegration
  2. Put your Qt Designer plugin libraries in the com.trolltech.qtcppdesignerplugins directory in Eclipse's plugins directory. Depending on the location of your Eclipse installation, the directory may be in one of the following locations:
     Linux:
     /usr/local/eclipse/plugins/com.trolltech.qtcppdesignerplugins
     /usr/lib/eclipse/plugins/com.trolltech.qtcppdesignerplugins
     Windows:
     C:\\eclipse\\plugins\\com.trolltech.qtcppdesignerplugins
  3. Make sure that your plugin finds all its dependencies.


Copyright © 2008 Trolltech Trademarks
Qt Eclipse Integration 4.4.1