From: John S. <cap...@ya...> - 2007-12-18 10:34:37
|
Hmm, well of COURSE I'm missing some gnatlink arguments... > John Stoneham wrote: > > [...] > >Then, I try: >C:\GNAT\examples\qtada\tutorial\t1>gnatlink main >...and get a zillion "undefined reference to" errors. > Here's what's missing: C:\GNAT\examples\qtada\ui_dialog>gnatlink main -lqt4ada-core -lqt4ada-gui -lqt4ada-uitools -lgnat Ok, now this completes without errors. However, now when I try to run the program, I get "Cannot mix incompatible Qt libraries". So something is still not right in the installation. Perhaps the version of Qt which I installed (4.3.3) is incompatible with the version which was used to build the QtAda Windows binary package? The documentation doesn't say, except that Qt 4.3.2 or greater is required. Would this difference (between 4.3.2 used for QtAda and 4.3.3 being the version of Qt installed) cause that error when trying to run the compiled program? And why would it generate an error during compilation if that's the case? Also it's not clear from the documentation which files (e.g. DLLs) are needed to redistribute a program compiled with QtAda. And by this I mean which files are needed to run the program, not which ones are required by the license. Thanks in advance, John ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping |