Questions tagged [qnx]

QNX mainly known as a Real-Time Operating System that is both full-featured and robust, but can also scale down to meet the constrained resource requirements of realtime embedded systems. It features a UNIX like environment, microkernel based design and POSIX compliance. There are other software products that now carry the name QNX.

QNX is the name of a family of products focused on real time and safety critical embedded systems written by QNX Software Systems. It is most widely associated with the Real Time Operating Systems of the same name, but their portfolio has expanded to include development systems, middleware and services under the name QNX. Some examples include:

RIM own QNX Software Systems and their development tools, such as the QNX Momentics IDE (based on Eclipse) and qcc compiler (based on gcc), are provided as the Native Development Kit for the Blackberry Tablet. The Blackberry Tablet OS runs on top of the QNX Neutrino RTOS.

Software going under the name of QNX

RTOS

QNX is most famous for being the Real Time Operating System of which there are two versions: QNX RTOS v4 is an older product but is still used in many existing systems and still supported by the company. More recently QNX Neutrino RTOS (v6) was released. It is based on a microkernel architecture, modular design and message passing to make it robust and scalable.

HMI and Graphics

QNX Core Graphics provides underlying libraries that developers can target for hardware accelerated 2D and 3D rendering with little CPU overhead (based on OpenGL ES) or the need for screen/widget builder tools.

QNX Photon microGUI is a windowing system for small embedded HMIs providing the developer with a widget toolkit, callback based event handlers and remote graphical connections via Phindows.

Multimedia

QNX Aviage is a pair of frameworks for multimedia applications and acoustic processing. The multimedia suite allows you to create anything from simple media players to in-car entertainment systems. The acoustics processing suite focuses on improving voice communications (such as in-car telephony) and recognition.

Development Tools

QNX Momentics is the name of the development suite that QNX provides to target its RTOSes and libraries. It is based on Eclipse as the IDE and gcc as the toolchain, but there are many other tools included such as a system builder (for building and configuring your embedded system image), application/system profiler and memory analysis.

What kinds of questions should have this tag?

This tag should be applied to questions which are asking about programming for the QNX RTOSes, using the QNX development tools or are programming against the QNX libraries, middleware APIs or frameworks.

Questions about using the QNX development software to target the Blackberry Tablet OS Native development kit are suitable for this tag. Questions specifically about the Blackberry Tablet OS should probably not have this tag unless you are coding directly against the underlying QNX Neutrino RTOS APIs.

Important Links

495 questions
2
votes
5 answers

Multitasking RTOS on AVR

I have an AT90USB162 AVR chip which I want to run a multitasking RTOS, so I am evaluating possible RTOS for using with my AVR chip. Which multitasking RTOS's are supported by AVR? Maybe QNX? (Is it possible to run a QNX kernel on an AVR microchip?).…
Rego
  • 1,118
  • 1
  • 18
  • 40
2
votes
1 answer

QNX_HOST environment variable not set

I am compiling mlpack using QNX.Keep reporting the following errors: CMake Error at CMakeLists.txt:28 (message):QNX_HOST environment variable not set!!! I have added the following to CMakeLists.txt: set (QNX_HOST “/data/QNX/qnx700/host/linux”) set…
2
votes
1 answer

How to build qnx application by cmake

I am trying to use cmake to build a very simple app with QNX toolchain. I can build it with qcc command line without any problem, but if I using cmake, it always show this error. Does anyone know how to solve it? Thanks! QNX SDK: v7.1 cmake:…
Rigel Chen
  • 861
  • 7
  • 14
2
votes
2 answers

VideoDisplay fullscreen

How does one do fullscreen with VideoDisplay? I am using: stage.fullScreenSourceRect = new Rectangle(video.x, video.y, video.width, video.height); stage.scaleMode = StageScaleMode.NO_SCALE; stage.displayState = StageDisplayState.FULL_SCREEN; But…
Omar Mir
  • 1,500
  • 1
  • 19
  • 39
2
votes
1 answer

Launch QNX on QEMU emulating Cortex-A15

I have IFS images supposed to run on board similar to OMAP5 uEVM. I am trying to run it on a QEMU virtual machine with the same Cortex-A15 CPU. I have a bundle of questions, but first of all I would like to ask is it eminently doable? TLDR I decided…
Evgeni Lipatov
  • 326
  • 3
  • 12
2
votes
1 answer

Why is gdb refusing to load my shared objects and what is the validation operation

Main question: In Ubuntu trying to debug an embedded application running in QNX, I am getting the following error message from gdb: warning: Shared object "$SOLIB_PATH/libc.so.4" could not be validated and will be ignored., Q: What is the…
2
votes
1 answer

Is there any guarantee that multiple type_index instances for a type will compare equal?

I have some code which expects type_index instances for a particular type created in a shared library and instances created in an executable (for the same particular type) to compare equal. However, I have encountered a case where this does not work…
steveire
  • 10,694
  • 1
  • 37
  • 48
2
votes
2 answers

Trying to Write a Basic Test for QNX Functions MsgReceive(), MsgSend(), and MsgReply()

I am attempting to write a simple test case exercising MsgReceive(), MsgSend(), and MsgReply() but I feel like I am fundamentally misunderstanding how these functions work. Here is my attempt: printf("Testing MsgReceive()...\n"); printf("Receives…
2
votes
3 answers

Changing syslog log path

How do I change the log path of syslog daemon during runtime? My goal is to rotate log file every filesize or date, but I don't have logrotate in QNX/POSIX. Do I just do an edit and hope that the syslogd checks the .conf file everytime, or is there…
freonix
  • 1,605
  • 3
  • 22
  • 35
2
votes
1 answer

Is it possible to use Clang-Tidy with QNX?

I have a QNX specific code and I want to use clang-tidy for static analysis. Is this possible? I am struggling because clang-tidy is supported by the clang compiler, and QCC (QNX compiler) is based on GCC.
I. Hamad
  • 307
  • 2
  • 14
2
votes
1 answer

QNX gdb integration with VS or VSCode

I am trying to set up a project in VSCode or Visual Studio (both actually), to build and debug software on QNX target. So far, I can get debugging by attaching to process to work properly, however, when I am setting up debugging session to run the…
Serge
  • 1,027
  • 14
  • 21
2
votes
1 answer

How to detect screen resize events coming from ncurses in QNX?

I can not configure to receive events about changing the size of the terminal using ncurses QNX Momentics. I am using Putyy as a terminal and data is transmitted through the COM port. My question is how to realize the reception of screen change…
J. Konor
  • 33
  • 5
2
votes
2 answers

Can I use std:fixed or std::setprecision() with >> operator?

std::istringstream loses precision when converting a string to long double. Can I use something similar to std::fixed or std::setprecision()? I am using c++ 11 and targeting QNX platform. #include #include #include…
I. Hamad
  • 307
  • 2
  • 14
2
votes
2 answers

Only pwd command succeeds in Paramiko, others fail with "ksh: ...: cannot execute - No such file or directory"

Successfully able to create an SSH connection between my windows machine and an QNX (~linux) system. Only command that gets any output (stdout) is 'pwd`. # SSH Connection stuff stdin, stdout, stderr = client.exec_command('pwd') output =…
2
votes
2 answers

How to run Google tests (C++ unit tests) in a QNX Virtual machine, using resharper?

Currently how I run my unit tests: I have a visual studio project, which builds a C++ google test (unit test) executable. I then copy this exe to my Virtual Machine with QNX and run it manually, to get the unit test results. Can I use resharper to…
Manjunath K Mayya
  • 1,078
  • 1
  • 11
  • 20