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
6 answers

How can I go about debugging this SIGSEV in gdb?

I am building previously working code, but I am getting a seg fault and I can't figure out what went wrong. gdb catches the error, but it doesn't point to an obvious cause. The source line it shows is a function name, so it doesn't even get into the…
CptanPanic
  • 609
  • 8
  • 22
2
votes
1 answer

How to show Qt (widgets) app on QNX based on specific location and size?

I'm trying to make my Qt widgets-based app to run on QNX device on a specific location and size using QWidget::setGeometry(..), but it always get shown in full screen. The app uses QMainWindow with menu bar and a QGLWidget as the central widget. The…
Surya Wijaya Madjid
  • 1,823
  • 1
  • 19
  • 25
2
votes
2 answers

How to boot QNX on x86 system from USB drive?

I downloaded and built the (generic) QNX BSP and copied it on a flash drive. The target is a x86 system. The problem now is that the bios does not recognise the flash drive / bsp and therefore cannot boot the OS. Is there some trick I forgot? Please…
Boernii
  • 131
  • 1
  • 3
  • 12
2
votes
2 answers

What's the difference between QNX 6.5.0(SP1) and 6.6.0 (backwards compatibility)?

Couldn't find actual release notes that point out the exact difference between QNX 6.5.1 and 6.6.0. I know that Photon's not supported anymore. So far, I've got SDP 6.6.0 but it might be that I need my software also to run on 6.5.0. So what is the…
Jim McAdams
  • 1,034
  • 1
  • 14
  • 30
2
votes
1 answer

Adding a route or default gateway to QNX

We have a system running QNX that normally connects to two other hosts on a 10.10.X.0 network. We are installing two remote systems that need to be able to talk to those servers on our 56.x.y.z network. We can type: route -n add 56.x.y.0/24 56.a.b.1…
Dean Petty
  • 21
  • 1
  • 2
2
votes
2 answers

How to get the QNX Kernel source code?

I'm wondering how could I fetch the latest version of QNX kernel source code? I've tried the following command: svn checkout --username http://community.qnx.com/svn/repos/coreos_pub/trunk while replacing with my email address I can…
moorara
  • 3,897
  • 10
  • 47
  • 60
2
votes
0 answers

how to handle interrupts in qnx?

/*kernel calls attach the interrupt function handler to the hardware interrupt specified by intr(i.e irq) */ // InterruptAttach() : Attach an interrupt handler to an interrupt source // interrupt source is handler1 for this example void…
2
votes
0 answers

ByteSize() with in Google protocol buffer

now I develop the test code using GPB in qnx as follows: Offer_event Offer; string a = "127.0.0.7"; Offer.set_ipaddress(a); Offer.set_port(9000); BufSize = Offer.ByteSize(); Length_message = BufSize +…
2
votes
1 answer

System() call returns 255, but executes afterwards

I am running mongoose 3.7 server on my qnx system. I receive http request to upgrade the firmware. On the request, I use, system() call in the request handler to upgrade the firmware. But, strangely, system() returns 255. The same call was working…
Hariprasad
  • 3,556
  • 2
  • 24
  • 40
2
votes
1 answer

how to validate a std::string for UTF-8 encoding

We have issue validating a std::string that contains a valid UTF_8 character set. The issue is I have a std::string in program, which may receive few invalid UTF-8 characters at run time. Currently i am referring glib/utf8-validate.c file for…
user2655475
  • 21
  • 1
  • 2
2
votes
1 answer

How to load image from URL in QML not in QT C++

This is my code and i want to load image from the given URL please tell if there is any way .becasue this is…
Usama Sadiq
  • 587
  • 1
  • 4
  • 21
2
votes
2 answers

Where to find QNX SP1 (not QNX SDP SP1)

I might be getting something wrong about QNX since I'm new to it. But I'm confused by QNX 6.5.0 Service Pack 1 AND QNX SDP 6.5.0 Service Pack 1, which I assume are two different things. And I'm told by my client that I need to install the former…
IsaacS
  • 3,551
  • 6
  • 39
  • 61
2
votes
1 answer

Difference in file time

I am writing a script to find the difference between file creation/modification times using a bash script. Running QNX I cannot use any common themed date functions that would make this easy. I am currently approaching this modifying the date from…
2
votes
2 answers

QNX SDK available for MAC

Is there any QNX SDK available for MAC? I had found one for Windows and for Linux.. But Can't find one for MAC... Would be so helpful if anyone help me in this. Thanks in advance.
Manoj
  • 1,482
  • 2
  • 20
  • 53
2
votes
1 answer

The client program in a simple C client/server messaging communication not working

I'm doing a lab assignment where we make a Server program and a Client program. Its on the QNX OS. Not sure if it runs in Linux. The outline is this: "Write a pair of C programs msgSender.c and msgLogger.c to demonstrate Neutrino message passing…
user2109766
  • 115
  • 1
  • 7