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
37
votes
4 answers

CMake cannot find GoogleTest required library in Ubuntu

Similar issue here. This is my CMakeLists.txt: cmake_minimum_required(VERSION 2.6) # Locate GTest find_package(GTest REQUIRED) include_directories(${GTEST_INCLUDE_DIRS}) # Add test cpp file add_executable(foo foo.cpp) # Link test executable…
Erich
  • 371
  • 1
  • 3
  • 5
18
votes
1 answer

gcc - how to create a mapfile of the object file

I have a .map file called a.out.map that was created from a .cpp/.obj file but I don't remember how. I've included a snippet: .plt 0x0000380c 0x848 *(.plt) .plt 0x0000380c 0x848…
Bob
  • 4,576
  • 7
  • 39
  • 107
18
votes
5 answers

Python on an Real-Time Operation System (RTOS)

I am planning to implement a small-scale data acquisition system on an RTOS platform. (Either on a QNX or an RT-Linux system.) As far as I know, these jobs are performed using C / C++ to get the most out of the system. However I am curious to know…
Gökhan Sever
  • 8,004
  • 13
  • 36
  • 38
13
votes
2 answers

Using static const + const as array bound

I'm doing something like this Class.hpp: class Class { private: static const unsigned int arraySize; int ar[arraySize+2]; }; Class.cpp: #include const unsigned int arraySize = 384; The compiler (q++, a c++ compiler for…
MBober
  • 1,095
  • 9
  • 25
11
votes
1 answer

Opening a URL using the native PlayBook browser from an Android-based application

When a link is opened in a PlayBook application that runs in the Android JVM (that is, an Android app that's been ported to the PlayBook using the BlackBerry Plug-in for Android Development Tools), an Android WebView activity is launched to display…
mjama
  • 2,650
  • 2
  • 22
  • 24
11
votes
1 answer

How to emulate GL_TEXTURE_EXTERNAL_OES texture?

I have a OpenGL ES 2.0 QNX application that uses camera input, makes some processing and renders something to screen. All my shaders take GL_TEXTURE_EXTERNAL_OES texture from the camera as input and it's format is YUV422. I want to test my…
Aleksey Petrov
  • 370
  • 2
  • 15
10
votes
8 answers

How do you install an ssh server on qnx?

I'm working on a qnx device, and I want to be able to ssh into it. Does anyone have a primer on getting something like openSSH up and running?
tsellon
  • 2,396
  • 5
  • 24
  • 33
9
votes
2 answers

Same Program code with same compiler leads to different binaries

I have an issue with my code that has some very strange symptoms. The code is compiled on my computer with the following versions: a. GCC Version: 4.4.2 b. CMAKE verson: 2.8.7 c. QNX (operating system) version: 6.5.0 And the code has a segfault…
Fantastic Mr Fox
  • 32,495
  • 27
  • 95
  • 175
8
votes
3 answers

Am I able to use C++11 in QNX?

I have some cross-platform code with some C++11 features like #include and others. I will soon be using a QNX 6.6 board, and I'm wondering if my code can compile on it, and which features will be available. QCC is the official QNX C++…
Laura
  • 152
  • 1
  • 1
  • 11
8
votes
4 answers

Realtime receiving of UDP packets with QNX RTOS

I have a source which sends UDP packets at a rate of 819.2 Hz (~1.2ms) to my QNX Neutrino machine. I want to receive and process those messages with as little delay and jitter as possible. My first code was basically: SetupUDPSocket(); while (true)…
jan
  • 81
  • 1
  • 3
7
votes
0 answers

Visual Studio Code compile on remote host

I have a project on remote host (QNX, g++, makefile if it matters). I'm using VSCode to edit sources on remote host over ftp. How could I run make utility with params from local machine on remote host with Visual Studio Code to build this project on…
Alexander G.
  • 457
  • 2
  • 14
7
votes
1 answer

Is it possible to play a gapless looped WAV file without stuttering?

I have a requirement for perfect gapless looped audio in a BlackBerry 10 app. My loops are stored as WAV files. The method I'm using for playing them is: Create a buffer for the WAV file using alutCreateBufferFromFile which returns a…
donturner
  • 17,867
  • 8
  • 59
  • 81
6
votes
2 answers

Difference between "test -a file" and "test file -ef file"

QNX (Neutrino 6.5.0) uses an open source implementation of ksh as its shell. A lot of the provided scripts, including the system startup scripts, use constructs such as if ! test /dev/slog -ef /dev/slog; then # do something fi to check whether…
tinman
  • 6,348
  • 1
  • 30
  • 43
5
votes
1 answer

GCC .obj file output is not deterministic (.debug_info, PROGBITS section)

My compile command is C:\work\PROJ-test\QNX_SDK\host\win32\x86/usr/bin/qcc -c -Wc,-frandom-seed="sadfsasafssadsa"…
Bob
  • 4,576
  • 7
  • 39
  • 107
5
votes
1 answer

how to run valgrind with qnx binaries

I picked up a valgrind banary for qnx 6.5 and was able to run the qnx binary on a sample program as below : # /usr/valgrind/x86/usr/bin/valgrind valgrind: no program specified valgrind: Use --help for more information. #…
sasim
  • 51
  • 1
  • 2
1
2 3
32 33