After building successfully QtAda for Mac OS X, I'm trying to compile
the "HelloWorld" application for QtAda. I just save the "main.adb"
file of the "t1" tutorial example, located in /usr/local/examples/
qtada/tutorial , as "helloQtAda.adb" in a random directory. I then
'cd' to this random directory and do the following:
gcc -I/usr/local/include/qtada/core -I/usr/local/include/qtada/gui -c
gnatbind -aO/usr/local/lib/qtada helloQtAda
gnatlink helloQtAda -lqt4ada-core -lqt4ada-gui -lgnat -lgnarl
The executable is produced, but when I run it, it doesn't draw
anything, no window appears. The executable just launches and then
"hangs". What is the problem with the commands I use? And what is
(are) the proper command(s) to compile a QtAda application?
Thanks very much,