Development:Third-Party Preference Panes

From Camino Wiki
Jump to navigation Jump to search

This page is very much under development

How do I build a prefPane for Camino?

  • In order to make your prefPane as inline with the Camino UI experience as possible, we suggest using the guidelines laid out in Development:Editing_Nibs.

Error messages

Undefined Symbols

it compiles ok, but if it's in deployment mode I get an undefined symbol error

  • Get info on your target (or project) and set "Other Linker Flags" to "-undefined dynamic_lookup" for all configurations
  • You only need the appropriate header files (the header files for the classes you're using/subclassing) if you're using -undefined dynamic_lookup; you don't need to link against the Gecko code (often, this is just PrefPaneBase.h)

Camino doesn't like my prefPane; it says it has to have a 'MOZC' signature

  • Get Info on your prefpane target
  • Go to "Properties"
  • Change the "Creator" field to "MOZC" (without quotes)