QM  4.0.1
Code Generation License Dialog Box

As mentioned in the section What's Special about QM, much of the simplicity of QM™ derives from the fact that the models you create with QM™ are based on one of the QP™ active object frameworks. An important implication of this design is that the code generated by QM can only run within the QP framework, which means that such code must comply with the same licensing terms as the underlying QP framework (qpc, qpcpp, or qpn).

The structure of the Code Generation License Dialog Box reflects the dual-licensing policy of the QP frameworks. The dialog box allows you to choose between the two QP licensing options: (1) the open source GNU General Public License (GPL), and (2) one of the traditional closed source commercial licenses.

Attention
The choice of the licensing option made in the Code Generation License Dialog Box is reflected in the top-level file comments generated by QM (see also Code Engineering).
license_gpl-btn.png
Code Generation Toolbar with the license button

Open Source Projects

The following screen shot shows the Code Generation License Dialog Box when the open-source GPL license is selected:

license_gpl-dlg.png
Code Generation License Dialog (GPL License)
  • the Register Commercial QP License button allows you to register a commercial license. This button opens the standard file-open dialog box through which you locate the Quantum Leaps QM license certificate file (file with extension .qlc), which is provided with your commercial license.

Closed Source Projects

Commercial license is registered by means of a QM license certificate file that commercial Licensees receive with their license. The following screen shot shows the Code Generation License Dialog Box when a commercial QP license is selected:

license_com-dlg.png
Code Generation License Dialog (Commercial License)
  • the Switch to GPL button allows you to switch back to the GPL open source license
  • the Change Commercial License button allows you to register a different QM license certificate file (file with extension .qlc)
  • the License File Relative to the Model checkbox specifies that the name of the license certificate should be saved inside the QM Model File, as a relative path to this model file. When the checkbox is not checked, the full absolute path to the license certificate is stored in the QM Session File.
Note
If you are a commercial licensee and for some reason you did not receive your QM License Certificate file, please send email with your license number to support@state-machine.com to request your copy.

Next: Customizing QM GUI