JetbrainsOleg ZinovyevTutorial
Getting Started With QNX® Projects in CLion
Summary
QNX is a Unix-like real-time operating system used in digital cockpits, medical devices, and robots. Starting with CLion 2026.3.0.3, the QNX OS for CLion plugin enables building, deploying, and debugging QNX applications from the IDE. The integration currently only works with Makefile projects and requires the QNX Software Development Platform (SDP) 8.0. Developers can debug on a QNX target over SSH, including across shared library boundaries, using a QEMU virtual machine or a physical Raspberry Pi 5 board. The post walks through setting up the SDP, configuring a QEMU target, connecting CLion, and running a sample project on both virtual and real hardware.
Context
QNX is a Unix-like real-time OS used in digital cockpits, medical devices, and robots. Starting with CLion 2026.3.0.3, the QNX OS for CLion plugin enables building, deploying, and debugging QNX applications from the IDE. The integration currently only works with Makefile projects and supports debugging over SSH, including across shared library boundaries.
Approach / What changed
Install the QNX SDP 8.0, set up a QEMU or Raspberry Pi 5 target, install the QNX OS for CLion plugin, configure the SDP path and SSH target in CLion settings, create a Makefile project, and use a QNX-specific debug profile with the SDP’s GDB.
Takeaways
The QNX OS for CLion plugin requires CLion 2026.3.0.3 or later and only supports Makefile projects.
Debugging a QNX application in CLion works over SSH to a target, including across shared library boundaries, using the SDP’s GDB.
For testing and non-commercial use, both CLion and QNX SDP are free; commercial development requires licenses for both.
FAQ
What are the prerequisites for using QNX in CLion?
You need CLion 2026.3.0.3 or later with the QNX OS for CLion plugin enabled, QNX SDP 8.0 installed through the QNX Software Center, and a QEMU or Raspberry Pi 5 target. For testing and non-commercial use, both CLion and QNX SDP are free; commercial development requires licenses for both.
What project types does the QNX plugin support?
The integration currently only works with Makefile projects. CLion recognizes the Makefile and loads the project by analyzing what make would do, skipping source files whose targets are already up to date.
How do I debug a QNX application in CLion?
You can debug on a QNX target over SSH, including across shared library boundaries. You need to create a QNX OS debug profile in CLion settings, selecting the SDP's GDB for your target architecture (e.g., ntox86_64-gdb for x86-64).
Source and freshness
- Source
- blog.jetbrains.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.