comp.lang.ada
 help / color / mirror / Atom feed
From: leonid.dulman@gmail.com
Subject: Re: Announce : Qt5Ada version 5.12.0  release 21/12/2018 free edition
Date: Sat, 22 Dec 2018 21:19:31 -0800 (PST)
Date: 2018-12-22T21:19:31-08:00	[thread overview]
Message-ID: <7ae826f6-fb12-4b82-a0f1-17b20355c622@googlegroups.com> (raw)
In-Reply-To: <3a57a111-4538-417e-bcde-6b10ff0c3fe1@googlegroups.com>

On Saturday, December 22, 2018 at 1:20:10 PM UTC+2, rog...@iinet.net.au wrote:
> Mac OSX 10.13.6
> XCode 10.1
> 
> I built the library with out problem.
> However,   01.Introduction to QT5 toolkit/SimpleExample compiles OK but the link fails with:
> Undefined symbols for architecture x86_64:
>   "_QApplication_create", referenced from:
>       _qt__qapplication__qapplication_create__2 in libQtada_Lib.a(qt-qapplication.o)
>   "_QApplication_destroy", referenced from:
>       _qt__qapplication__qapplication_invoke in libQtada_Lib.a(qt-qapplication.o)
>       _qt__qapplication__qapplication_invoke__2 in libQtada_Lib.a(qt-qapplication.o)
> and many more undefined symbols.
> 
> My gpr file is:
> with "../../../../qt5adasrc/qt5ada.gpr";
> 
> project Simple is
> 
>    for Source_Dirs use ("SimpleExample");
>    for Object_Dir use "obj";
>    for Main use ("mywindow.adb");
> 
>    package Linker is
>       for Switches ("ada") use ("-F/Applications/Qt5/5.12.0/clang_64/lib", "-framework", "QtWidgets", "-framework", "QtCore", "-framework", "QtGui", "-framework", "DiskArbitration", "-framework", "IOKit", "-framework", "QtMacExtras", "-framework", "OpenGL", "-framework", "AGL", "-L/Ada_Source/AdaStudio/qtada/qt5adax86-64/usr/local/lib", "-lqt5c", "-L/Ada_Source/AdaStudio/qtada/lib", "-lQtada_Lib");
>    end Linker;
> 
> end Simple;
> 
> Any help appreciated,
> Roger

I built qt5ada version 5.12 for win32 and linux x86-64 only, but not for MAC OSX


      reply	other threads:[~2018-12-23  5:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-21 18:56 Announce : Qt5Ada version 5.12.0 release 21/12/2018 free edition leonid.dulman
2018-12-22 11:20 ` rogermc
2018-12-23  5:19   ` leonid.dulman [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox