Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Debugging Qt applications with Momentics IDE: (4 Items)
   
Debugging Qt applications with Momentics IDE  
Notes on integrating Qt applications into the IDE for source line debugging can be found here:
 
http://dl.dropbox.com/u/13676760/Qt_debugging.pdf
Re: Debugging Qt applications with Momentics IDE  
Question about "Using Momentics IDE with Qt"...

Thanks for the information in your “Using Momentics IDS with Qt.

I am compiling the Qt demo Moveblocks. I got it compile with debug information (I am running the Imx53 board)

I got up to section 1.5 Step 9. 

There is no /ramdisk on the target board. If I try to debug, iget an error message “Validation failed for remote file 
‘/ramdisk’.

Do I need to setup something to create a ramdisk?

Bob 
Re: Debugging Qt applications with Momentics IDE  
Bob-

You really do need /ramdisk.  The /tmp directory is writeable but you cannot create subdirectories there (for one thing.
)

Here is the piece of the boot script which creates /ramdisk on i.mx53.  

#######################################################################
## create /ramdisk for qtembedded-0
#######################################################################
display_msg Starting filesystems...
# create 4M ramdisk /dev/hd1t77 for /qtembedded-0
# must 'dinit -h' and mount
devb-ram ram capacity=8192 &
waitfor /dev/hd1
dinit -hq /dev/hd1t77
mount /dev/hd1t77 /ramdisk


Of course you need to add these components to your system –

dinit
mount
devb-ram
libcam.so.2
cam-disk.so
io-blk.so
fs-qnx4.so

...more if I missed any.


You can download “ready to run” Qt demo images for i.mx53 SDcard if you like:

VGA:
http://dl.dropbox.com/u/13676760/qnx_mx53.pdf
http://dl.dropbox.com/u/13676760/qnx_mx53.zip

LCD:
http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.pdf
http://dl.dropbox.com/u/13676760/qnx_mx53_lcd.zip


Re: Debugging Qt applications with Momentics IDE  
hello,kellly!
    I can not open the web of http://dl.dropbox.com/u/13676760/qmake_qnx.pdf
    Can you give me some doc of qnx+qt, my email-box is :
   maying123450@163.com
    I want to debug the QT app in the qnx Momentics IDE4.7, please give me some advices.
    Otherwise, I  decompress the qt_qnx_host_win32_x86  and qt_qnx_targets to the directory :C:\QNX650
    Is it right?


  Thanks very much , best wishes!