Skip navigation.
Home
The QNX Community Portal

View topic - The most simple way to create GUI qnx app ?

The most simple way to create GUI qnx app ?

Isn't the name clear?

The most simple way to create GUI qnx app ?

Postby robot_rus » Fri Nov 08, 2013 4:38 am

I need to create something like GUI version of "top" console command (process list). I have no experience in QNX programming at all. What is the most simple way to do it ? All i was available to find in google is very tricky manual about installing some QNX ide on windows (!!!), and connecting it to QNX machine.

And one more question: in QTcreator i saw an "compile to Blackberry" option. Since blackberry using QNX, could i run this app on my QNX 6.5 virtual machine without any changing ?
robot_rus
New Member
 
Posts: 4
Joined: Thu Nov 07, 2013 2:05 pm

Re: The most simple way to create GUI qnx app ?

Postby maschoen » Fri Nov 08, 2013 6:27 am

robot_rus wrote:I need to create something like GUI version of "top" console command (process list). I have no experience in QNX programming at all. What is the most simple way to do it ? All i was available to find in google is very tricky manual about installing some QNX ide on windows (!!!), and connecting it to QNX machine.


So, let's see. You don't have QNX installed. You don't have any experience in QNX programming at all. So why do you need to do this project? BTW, I have no idea what you mean by

GUI version of "top" console command (process list).

And one more question: in QTcreator i saw an "compile to Blackberry" option. Since blackberry using QNX, could i run this app on my QNX 6.5 virtual machine without any changing ?


Uh, no. While Blackberry is using QNX, it's using a new and unreleased graphics layer which does not come with QNX 6.5.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm

Re: The most simple way to create GUI qnx app ?

Postby Thunderblade » Fri Nov 08, 2013 12:37 pm

robot_rus wrote:All i was available to find in google is very tricky manual about installing some QNX ide on windows (!!!), and connecting it to QNX machine.

As QNX is an Embedded OS, that is the natural way. If you want to do anything with QNX you need to install your development tools, either on Windows, or on Linux. There is a version of QNX that can be installed on a PC including a compiler, but it doesn't have the IDE tools.

GUI version of "top" console command (process list).

If you want to display the list of processes in a window, why not open a console window and call top? :)

While Blackberry is using QNX, it's using a new and unreleased graphics layer which does not come with QNX 6.5.

With that being said, there is an "Early Access Program" with that new graphics layer (simply called "screen") so you can install it on top of 6.5.

What hardware platform are you on?
Thunderblade
Senior Member
 
Posts: 487
Joined: Thu Apr 07, 2005 11:52 am

Re: The most simple way to create GUI qnx app ?

Postby robot_rus » Sat Nov 09, 2013 4:59 am

You don't have QNX installed
I have it on my virtual machine, qnx neutrino 6.5
why do you need to do this project

It's my university project
I have no idea what you mean by

GUI version of "top" console command (process list)

Open console, type top
Do you see the result ? I want to do the but with GUI
What hardware platform are you on?

PC x86_64
robot_rus
New Member
 
Posts: 4
Joined: Thu Nov 07, 2013 2:05 pm

Re: The most simple way to create GUI qnx app ?

Postby maschoen » Sun Nov 10, 2013 9:00 pm

robot_rus wrote:
why do you need to do this project

It's my university project

Open console, type top
Do you see the result ? I want to do the but with GUI


Then you need to learn how to program with Photon.
A good place to start is with the PhAB program.

The installed version you describe has a help system that includes all the QNX 6 manuals.
I believe that there's a tutorial on writing GUI programs with PhAB.

An overly simplistic way to do this would be to pipe the output from the top command into a buffer, and display that buffer in a label widget.
maschoen
QNX Master
 
Posts: 2644
Joined: Wed Jun 25, 2003 5:18 pm


Return to GUI Programming

Who is online

Users browsing this forum: No registered users and 3 guests