hello ,i'm new to qt/qnx,now i encounter a question ,that is how i run my own qt app on the target based on qnx (my host is
 
winxp,and target is vmware).i don't really know how it works, i guess:
1)the first step :  i make a project by qt-creator and run ,debug to make sure it will run well.
2)the second step : i make the resource that is needed to run on qnx again .
 
According to this thought,i did the following things:
1)first i create a project "hello  world" in the qt-creator ,and it works well
2) as the "read me"says,i enter C:\Qt\hello,and create a makefile including
"LIST=OS CPU VARIANT
MAKEFILE=GNUmakefile
include recurse.mk
##eof"
3)Inside the same directory, create subdirectories called nto-x86-o,including "GNUmakefile"
 ifndef QCONFIG
QCONFIG=qconfig.mk
endif
include $(QCONFIG)
include $(MKFILES_ROOT)/qmake-qt.mk
##eof
 
4)from cmd prompt,i enter the C:\Qt\hello,and run "make" ,but it shows mingw32-make  is Not internal or external command,
 
also not be operation of the procedure or a batch file.
5)so i enter"ksh",run "make",it shows errors as the attachment shows ,but it produce a .project and a hello file.so i
 
transfer the hello file to the vmware ,the app  absolutely failes to run .
 
another question ,i know that qt can be intergrated with eclipse which makes the developer  convenient,however, can it be
 
intergrated into the momentics (run and debug in the momentics environment)?
 
 
 

thank you ,and I look forward to your  reply
 
2012-05-18

qhzbit

发件人:Dennis Kellly
发送时间:2012-05-15 23:40
主题:Re: 回复: Re: unable to execute qtdemo
收件人:"general-qt"<general-qt@community.qnx.com>
抄送:
 
>>>from the terminal ,it shows  
>>>QQnxScreen: Attached to Device, number of displays: 1 
>>>QQnxScreen: Attached to Display 0, resolution 1024x768, refresh 60 Hz 
 
These are "normal" messages... not errors. 
 
But you should see two more lines like 
QQnxMouseHandler: connected. 
QWSQnxKeyboardHandler: connect 
 
Have you set the environment variables? 
QWS_DISPLAY=qnx 
QWS_KEYBOARD=qnx 
QWS_MOUSE_PROTO=qnx 
 
 
 
 
_______________________________________________ 
 
Qt General 
http://community.qnx.com/sf/go/post93098 
To cancel your subscription to this discussion, please e-mail general-qt-unsubscribe@community.qnx.com