From: Christos C. <c.c...@gm...> - 2007-10-13 09:12:11
|
Hello, 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 helloQtAda.adb 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, C.C. |