I have been trying to build t1 with gps.
main.adb compiles OK
but if I try and build I get:
/opt/gnat-gpl-2009/bin/gnatmake -d -P/Ada\ 
Projects/qtAda/tutorial/t1/qtadatutorial1.gpr -s -c
gnatmake: external source (qt4.adb) is not part of any project; cannot be 
compiled without gnatmake switch -x

I have specified -I/usr/local/include/qtada/core -I/usr/local/include/qtada/gui 
for gnatmake switches
and -largs -L/usr/local/lib/qtada -L/usr/local/lib -lQtAdaCore -lQtAdaGui for 
Ada Linker switches
but cannot figure out how to overcome the build error.



On 01/05/2010, at 1:59 PM, Roger Mc Murtrie wrote:

> I have been attempting to build Tutorial t1 from the command line.
> I have added  to my .profile file:
> ADA_INCLUDE_PATH=/usr/local/include/qtada/core:/usr/local/include/qtada/gui 
> and added /usr/local/lib/qtada:/usr/local/lib:/usr/local/lib to 
> LD_LIBRARY_PATH
> 
> gnatmake main -largs  -lQtAdaCore -lQtAdaGui
> works OK
> 
> Is there any way of not having to specify -largs  -lQtAdaCore -lQtAdaGui?
> Regards
> Roger


_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to