Help please!!! Compile and then run the application in qnx!!!

Hello!
I beg for your help! Installed Windows 7 64! In VMWare installed QNX! Download and install Qt 5.0.2 for Windows 32-bit (MinGW 4.7, 650 MB)! Established connections to ssh with QNX!
Run any instance of Qt Creator, but it compiles and runs on Windows! A must for QNX! Tell me, please, what you need to do the settings, what software is installed and the libraries for some ways to push for the creation of applications for the launch of the QNX! Need more inskruktsiya possible! Thank you! Perhaps cash reward!
P.S. I'm from Russia, so the text is translated from Russian to English translators)))

I'm not going to be helpful on the topic, but I'd like to at least point you to the "Russian languge part of Qt forum":http://qt-project.org/forums/viewforum/29/. You can post there as well in your native language while still getting some attention.

I'm certainly not new to Qt on Windows and Unix/Linux, but I am new to Qt on QNX and new on this forum. I am also new to the company I work for now, where we try to switch from Photon to Qt.
I was able to configure and build the Qt library on a Windows 7 PC, with this configuration:

We work with QNX Momentics and I was able to build an application after having added the Qt include and lib directories to the project properties. I copied the Qt libraries to the QNX (virtual) machine, moved my executable to the QNX machine and tried to execute it. It aborts with the following errors:

Failed to load platform plugin "qnx". Available platforms are:

Abort (core dump)

After having read some items on the internet I copied
C:\Qt\4.8.5-qnx\plugins\platforms\libqminimal.so
to
/usr/lib/Qt/plugin/platforms/

but that didn't help.
I understand that you have got it working. Could you please help me out. I would be very grateful.

Thanks for your fast reply. I tried killing Photon (>slay Photon), but that killed everything immediately and shutdown the machine. I set the QWS environment variables. I don't have devi/touch0 and devi/mouse0 devices, so I don't know whether that will have any effect. Alas, executing my app with the -qws option did not work for me.
I will try your configuration parameters, though I know that a number of them will not be accepted by the Windows version of configuration. But I give it a try anyway.

Start keyboard and mouse driver

/usr/photon/bin/devi-hid -Pr kbd mouse

Start touch driver

/usr/photon/bin/devi-elo -Pr smartset -b9600 -R fd -d/dev/ser2 abs -f/etc/calib
@
Instead of killing photon you can try ending session in Photon environment - you click on some exit button and then you can choose if you want to logout, or logout and exit Photon. I don't remember exactly, I am on holiday and don't have any QNX virtual with me to have a look:)
After starting keyboard,mouse and touch drivers it will look like freezed - but it isn't - you have to control your machine via telnet or ssh.
I would recommend you to try compiling Qt for QNX on linux, it's easier.

I was able to build the Qt library for QNX on Linux and run a demo Qt app on QNX without photon running. You were right to build the library on a Linux host, as you definitely need a number of configure parameters that the Windows version of configure doesn't support/understand.
At the moment I'm struggling to get a Qt app running with photon running as well.

Just back from holidays, I saw your request for help. I think you should specify a different xplatform. I used '-xplatform qws/qnx-i386-g++'. I use the same Qt and QNX versions and it worked for me. This is the whole configure command I used: