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
1 answer

Running Qt applications on QNX

I'm trying to get Qt applications running on QNX 4.5. I've compiled Qt 4.6.3 on a linux box with this configuration: ./configure -xplatform unsupported/qws/qnx-i386-g++ -embedded i386 -no-gfx-linuxfb -no-mouse-linuxtp -no-kbd-tty -no-qt3support…
lunafiko
  • 135
  • 2
  • 8
2
votes
1 answer

qnx get resmgr_context_t of old resource manager

I trying to create my own process manager for qnx 6.6 over /proc/{pid}/as. But I need to change only one operation (io_open), all other operations should continue work with old file (/proc/{pid}/as). Can I just get pointer to resmgr_context_t (from…
2
votes
0 answers

How to create a QNX neutrino 7.0.0 bootable cd image?

I am a newbie in QNX and I have a question: How to generate a QNX 7.0.0 bootable image for x86 (32-bit) that I can burn on a CD disk and boot on my pc? I have asked a question that looks similar to this, but it was about booting with Photon…
2
votes
1 answer

How to create a QNX neutrino 7.0.0 bootable cd image with Photon?

I am a newbie in QNX and I have a question: How to generate a QNX 7.0.0 bootable image for x86 (32-bit) that I can burn on a CD disk and boot with Photon. There is an ISO image on the internet that does exactly that I want to. It called "QNX demo"…
2
votes
2 answers

Finding an exact match in QNX without using grep -w

I'm writing a script that needs to find an exact match in a file that is compatible with QNX and POSIX compliant Linux more detail: Im trying to find the user of a process so the original command I wrote was user=$(ps -aux | awk '{print $1 " " $2}'…
2
votes
0 answers

Cross compiling gcc 6.2 for QNX

I'm trying to cross compile GCC or clang for qnx and I am not able to find any good set of instructions that explain cross compiling to other operating systems. I already have access to qnx and a GCC compiler version 4.7 for the target. I've tried…
Sriram
  • 345
  • 2
  • 14
2
votes
2 answers

Regarding getting time in milliseconds

I am working on logger using C language on QNX platform using Momnetics to print time in following format 2010-11-02 14:45:15.000 I able to get date, hour, minutes, and seconds using time(&timeSpec); struct tm gmt; int iSysTimeSec = timeSpec; …
Venkata
  • 513
  • 1
  • 9
  • 15
2
votes
1 answer

Share data between two indexpendent processes in C

How do I share data (struct) between two independent(no fork) processes. What I want to do is basically something like this: process1: Server(PID-399341): Waiting for input.... then in another terminal process2: Enter server…
Senri
  • 107
  • 1
  • 1
  • 9
2
votes
1 answer

qnx6 fs cannot be mounted read/write, standard hd

I am running Neutrino 6.4.0 with an attached standard 2.5" , 250GB Toshiba hard disk with 6 pre-existing qnx6 partitions. All of them can be mounted read-only; however, I cannot mount any of those as read/write. For instance: mount -r -t qnx6…
gcaglion
  • 131
  • 1
  • 12
2
votes
0 answers

PowerPC: integer division does not generate SIGFPE

I have Implemented following code in QNX to handle divided by zero exception. static int st_iThreadID = -1; static sigjmp_buf fpe_env; float a = -10, b = 0; volatile float c = 0; /************************************** * * Signal Handler for…
2
votes
1 answer

How to diagnose "Entering an unknown directory"

I'm getting up to speed on this QNX project with a bunch of make files I'm still getting the gist of coming from a Visual Studio background. The build output from momentics leaves much to be desired but there's one particular error that I wish there…
jxramos
  • 7,356
  • 6
  • 57
  • 105
2
votes
0 answers

Playing audio/video in QNX Qt

I am using Qt 5.3.1 for QNX 6.6.0 + Apps and Media 1.1. I try to play audio/video from my HMI app. However, I get an error message saying "checkForDrmPermission: Unable to open bar-descriptor.xml". After some googling, I found the open source code…
cagatayo
  • 146
  • 1
  • 6
2
votes
0 answers

How to set up a breakpoint to catch the USB device getting control?

I need to understand how the code on a USB gets the control after plug-in to the QNX device. What I already done: Save slogger output (using sloginfo) during plugging the USB Through it I understand that devb-umass driver and then mme-update get…
2
votes
1 answer

JPEG image on qnx window

I'm working on a project where I have jpg files and I have to show them on the QNX screen. I want to read a JPEG file using libjpeg and decode it and show it on qnx window using window pixmap. I tried writing my code as below but it responds with…
Satish
  • 86
  • 2
  • 14
2
votes
2 answers

QNX MsgReceive Pulse

I have a problem because I don't know how _pulse receiving works. If I have my data struct typedef struct _my_data { msg_header_t hdr; int data; } my_data_t; and I am receiving only my msg I cant tell if it is a pulse my_data_t msg; ... rcvid =…
user3613919
  • 777
  • 1
  • 7
  • 17