Products Overview

Quantum Leaps Products

Our products form a comprehensive suite of embedded software and tools wrapped around the QP™ active object frameworks — the unique reactive platform designed to provide the architectural reuse and enforcement of the best practices of concurrent programming, which leads to safer code with high conceptual integrity and dramatic improvement of software quality.


All our software is available for download from the SourceForge and GitHub repositories.

Additionally, on SourceForge you can also find: free support forum, download statistics, feature requests, bug tracking, and Git repositories.

QP™ Frameworks

QP™ (Quantum Platform) is a family of lightweight software frameworks for building reactive real-time embedded applications as systems of asynchronous event-driven active objects (actors). The QP family consists of QP/C, QP/C++, and QP-nano frameworks, which are all strictly quality controlled, thoroughly documented, and available in full source code.

The behavior of active objects is specified in QP by means of hierarchical state machines (UML statecharts). The frameworks support manual coding of UML state machines in C or C++ as well as automatic code generation by means of the free QM modeling tool.

All QP™ frameworks can run on bare-metal single-chip microcontrollers, completely replacing a traditional RTOS. The frameworks contain a selection of built-in real-time kernels, such as the cooperative QV kernel, the preemptive non-blocking QK kernel, and the preemptive, blocking QXK kernel that provides all the features you might expect from a traditional RTOS kernel. Native QP ports and ready-to-use examples are provided for major CPU families.

With almost 60,000 downloads a year, the QP™ framework family is the most popular such solution on the embedded software market. It provides a modern, reusable architecture of embedded applications, which combines the active-object model of concurrency with hierarchical state machines. This architecture is generally safer, more responsive and easier to understand than shared-state concurrency of a conventional Real-Time Operating System (RTOS). It also provides higher level of abstraction and the right abstractions to effectively apply modeling and code generation to deeply embedded systems.

QP™ Frameworks Feature Comparison

You can hover the mouse pointer over the highlighted items to see additional information related to the feature.
Feature QP/C QP/C++ QP-nano
Most Recent Version (Download) /
Release Date (Revision History)
Intended target systems /
(Representative hardware)
32-bit/16-bit MCUs
(ARM Cortex-M)
32-bit/16-bit MCUs
(ARM Cortex-M)
8-bit/16-bit MCUs
(MSP430, AVRmega)
Programming language C (C89) C++ (C++98) C (C89)
Code (ROM) / Data (RAM) footprint 4KB / 1KB 5KB / 1KB 2KB / 0.5KB
Supported by the free QM modeling tool
Active Objects
Maximum number of active objects 64 64 8
Dynamic events with arbitrary parameters 0..4 bytes
Automatic event recycling not needed
Direct event posting (FIFO)
Direct event posting (LIFO)  
Publish-Subscribe event delivery  
Event deferral  
Number of system clock tick rates 0..N 0..N 0..4
Number of time events per active object Unlimited Unlimited 1 per tick rate
State Machines
Hierarchical State Machines (QHsm-strategy)
Hierarchical State Machines (QMsm-strategy)  
Sub-machines and sub-machine states  
Built-in Kernels
Cooperative kernel (QV)
Preemptive non-blocking kernel (QK)
Preemptive blocking dual-mode kernel (QXK)  
3rd-Party RTOS/OS
Portable to 3rd-party RTOS kernels  
Available port to POSIX (Linux, etc.)
Available port to Windows
QP/Spy™ software tracing  
QUTest™ Unit Testing Harness  
Source Code Quality
MISRA compliance MISRA-C:2004 MISRA-C++:2008 MISRA-C:2004
PC-Lint/FlexeLint support package

QM™ Modeling Tool

QM™ (QP Modeler) is a freeware, graphical modeling tool for designing and implementing real-time embedded applications based on the QP frameworks and hierarchical state machines (UML statecharts). QM™ is available for Windows, Linux and macOS.

  The QM™ modeling tool is offered under a simple click-through EULA license.

QTools™ Collection

QTools™ is a collection of various open source host-based tools for working with the QP frameworks, such as: QP/Spy™ software tracing and testing system, QWin™ GUI toolkit for prototyping embedded systems on Windows, QClean™ for cleanup of source code files, QFSGen™ for generating ROM-based file systems for embedded web servers, QCalc™ programmer's calculator, etc. The QTools collection for Windows provides also the MinGW C/C++ compiler (GNU GCC) and GNU make for Windows, as well as the related file utilities (rm, touch, etc.)

  Most tools included in the QTools collection are distributed under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

The TCL/TK 8.4 package is distributed under the terms of the TCL LICENSE AGREEMENT, included in the file TCL_LICENSE.txt in the root directory of the QTools distribution.

QSPY QP/Spy™ Tracing and Testing System

QP/Spy™ is a software tracing and testing system built into the QP/C and QP/C++ active object frameworks. QP/Spy consists of the code instrumentation inside QP/C and QP/C++ and the console application called QSPY (available for Windows, Linux and macOS hosts). The job of QP/Spy is to receive the trace data produced by an instrumented QP/C or QP/C++ application running on an embedded Target, visualize the data, and optionally to save the data in various formats (such as MATLAB or MscGen). QP/Spy can also send commands to the Target for unit testing (QUTest™) and monitoring (QSpyView™).

The QSPY host application is easily adaptable to various target-host communication links. Out of the box, the QSPY host application supports serial (RS232), TCP/IP, and file communication links. Adding other communication links is straightforward, because the data link is accessed only through a generic Platform Abstraction Layer (PAL).

QUTest™ Unit Testing Harness

QUTest™ (pronounced cutest) is a powerful Unit Testing Harness, which is specifically designed for deeply embedded systems, but also supports unit testing of embedded code on host computers ("dual targeting"). QUTest™ is the fundamental tooling for Test-Driven Development (TDD) of QP/C/C++ applications, which is a highly recommended best-practice.

QSpyView™ Visualization & Monitoring

QSpyView™ is a powerful visualization and monitoring facility, which allows embedded developers to rapidly create virtual Graphical User Interfaces to monitor and control their embedded devices from a host (desktop) computer. The interfaces created by QSpyView™ can visualize the tracing data produced by QP/Spy™ and can also send various commands to the embedded target.

QWIN QWin™ GUI Toolkit

QWin™ is a simple GUI toolkit for prototyping (dual-targeting) embedded systems on Windows in the C programming language. QWin™ allows you to build realistic embedded front panels consisting of LCD displays (both graphical and segmented), buttons, and LEDs. QWIN is based on the raw Win32 API to provide direct mapping to C for easy integration with embedded code.

Legacy QDKs

Legacy QP Development Kits (QDKs)

QP Development Kits (QDKs) are separate QP ports and examples for various embedded processors, toolsets, and boards.

Why "Legacy"?

Starting with QP release 5.4.0, all officially supported ports and examples are bundled into the QP downloads, as opposed to being distributed as separate QP Development Kits (QDKs). The QDKs released for earlier QP versions are called "legacy-QDKs" and are available for download from SourceForge.

  The "legacy-QDKs" are not recommended for new projects. The "legacy-QDKs" do not come with commercial support from Quantum Leaps, although questions about "legacy-QDKs" are welcome on the Free QP Support Forum.

How to Find QDK You Want?

All "legacy QDKs" are distributed in ZIP archives named according to the following general convention:

  • qdkxxx denotes the QP framework type, whereas qdkc stands for QDK for QP/C, qdkcpp for QP/C++, and qdkn for QP-nano
  • <cpu> denotes a QDK for standalone QP for the given embedded CPU type, such as AVR, M16C, R8C, etc.
  • <rtos> denotes a QDK for QP running on top of a given RTOS, such as eCos, VxWorks, etc.
  • <toolset> denotes a port to specific toolset, such a IAR, GNU, Renesas, etc.
  • <board> denotes that the examples are for the specified boars, such as SKP3607, YRDKRX62N, etc.
  • <version> denotes the compatible version of the QP framework.
  NOTE: All QDKs have been developed and tested with the specified <version> of the QP framework. A QDK might work with the newer QP version as well, but might require some modifications.

QDK Installation

The installation procedure for most "legacy QDKs" is as follows:

  1. Download the QDK that you like and check its <version> number.
  2. Download and install (unzip) the corresponding QP <version>. For example, if your QDK file starts with qdkcpp_ and ends with _4.5.02, you should download and install QP/C++ version 4.5.02.
  3. Unzip the QDK to a temporary directory.
  4. Copy the contents of the QDK directory to the QP installation directory. For example, if your QDK unzipped into directory qdkcpp_avr-iar_4.5.02, you should copy the content of this directory inside the QP/C++ installation folder (typically, inside C:/qp/qpcpp/). Note that you will need to give your consent to overwrite the already existing directories examples/ and ports/.

QDK Documentation

Every "legacy QDK" contains the "QDK Manual" in PDF in the main directory of the ZIP archive.

QP on Git

Git Repositories

If you are interested in the latest QP code, even before it is officially released, the complete QP source code trees, including all ports and examples, are available in SourceForge Git repositories as well as on GitHub. The Application Note Accessing QP Git Repositories on SourceForge describes how to access the QP source code via Git repositories on SourceForge.