From: rogermc@iinet.net.au
Subject: Re: Announce : Qt5Ada version 5.12.0 release 21/12/2018 free edition
Date: Sat, 22 Dec 2018 03:20:08 -0800 (PST)
Date: 2018-12-22T03:20:08-08:00 [thread overview]
Message-ID: <3a57a111-4538-417e-bcde-6b10ff0c3fe1@googlegroups.com> (raw)
In-Reply-To: <e58160ad-acc5-4d8d-911f-d60ffff50523@googlegroups.com>
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
next prev parent reply other threads:[~2018-12-22 11:20 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 [this message]
2018-12-23 5:19 ` leonid.dulman
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox