CopperSpice Overview  1.5.2
PepperMill

The PepperMill utility is a translator and is run one time on your C++ header files. It will convert your application header files to standard C++ header files and change the syntax of Signal and Slot Declarations. The conversion will update your existing code to work with CopperSpice.

Minor modifications may be required after PepperMill is run. Review the list found in the section below labeled Additional Conversions. For a complete list of the macros which were changed, refer to MetaObject Macros.

The following steps are required to convert your existing Qt application header files to standard C++ header files.

Download PepperMill

Click on the following link to download the PepperMill utility.

PepperMill

Running PepperMill

To run PepperMill on one .h file use the following syntax:

PepperMill --onefile <your_path>/about.h -f


To run PepperMill on one folder use the following syntax:

PepperMill --onefolder <your_path>/my_app -f


To run PepperMill recursively use the following syntax:

PepperMill --recursive <your_path> -f


Additional Conversions

  • If you declared an overloaded Signal or Slot replace the the CS_SIGNAL_2() or CS_SLOT_2() with CS_SIGNAL_OVERLOAD() and CS_SLOT_OVERLOAD()

    For examples of Signal and Slot macros refer to Sample CS Macros
  • If you had parameters being passed to a method which has an associated tag, modify the CS_TAG() macro parameter list