comp.lang.ada
 help / color / mirror / Atom feed
From: rogermc@iinet.net.au
Subject: Re: Announce : Qt5Ada version 5.11.0 (548 packages)  release 26/05/2018 free edition
Date: Wed, 12 Dec 2018 21:50:29 -0800 (PST)
Date: 2018-12-12T21:50:29-08:00	[thread overview]
Message-ID: <47745e8d-84b1-4026-9f30-64fe786ae0fb@googlegroups.com> (raw)
In-Reply-To: <1d26fae0-6c92-4b91-9f46-77ab92decf9e@googlegroups.com>

On Sunday, 27 May 2018 13:25:43 UTC+10, leonid...@gmail.com  wrote:
> Qt5Ada is Ada-2012 port to Qt5 framework (based on Qt 5.11.0 final)
> Qt5ada version 5.11.0 open source and qt5c.dll,libqt5c.so(x64) built with Microsoft Visual Studio 2015 in Windows, gcc x86-64 in Linux.
> Package tested with gnat gpl 2012 ada compiler in Windows 32bit and 64bit , Linux x86-64 Debian 9.2
> 
> It supports GUI, SQL, Multimedia, Web, Network, Touch devices, Sensors,Bluetooth, Navigation and many others thinks.
> 
> Changes for new Qt5Ada release :
> Added  new packages: Qt.QStringView,Qt.QGraphicsCustomItem,Qt.QGLContext
> 
> My configuration script to build Qt 5.11.0 is: configure -opensource -release -nomake tests -opengl dynamic -qt-zlib -qt-libpng -qt-libjpeg -openssl-linked OPENSSL_LIBS="-lssleay32 -llibeay32" -plugin-sql-mysql -plugin-sql-odbc -plugin-sql-oci -icu -prefix "e:/Qt/5.11" 
> 
> As a role ADA is used in embedded systems, but with  QTADA(+VTKADA) you can build any desktop applications with 
> powerful 2D/3D rendering and imaging (games, animations, emulations) GUI, Database connection, server/client, Internet browsing , Modbus control and many others thinks.
> 
> Qt5Ada and VTKAda for Windows, Linux (Unix) is available from
> http://hybrid-web.global.blackspider.com/urlwrap/?q=AXicFc47DoJAEIDhOYKnsHMBIb4SotHYqRFiLOxgd4VJZnfI8goXtLbwIB5B7P8v-ScHeH0Avm8AR0MU5qJ2nTAZkmTbOCYh2UAfJWvpW-kH0WK5AmKLSigmk9kdajk2AgnKpqnqjecph50WBXNB-s-9J5PSrkPdb1HF_n6etI8T69mA19xckpRW4TlQt_R-nLZ1Fddl5tAWAFCMWz_OvTcj&Z (google drive. It can be mounted as virtual drive or directory or viewed with Web Browser) 
> 
> The full list of released classes is in "Qt5 classes to Qt5Ada packages relation table.docx" 
> VTKAda version 8.1.0 is based on VTK 8.1.0 (OpenGL2) is fully compatible with Qt5Ada 5.11.0
> 
> I hope Qt5Ada and VTKAda will be useful for students, engineers, scientists and enthusiasts
> With Qt5Ada you can build any applications and solve any problems easy and quickly.
> 
> If you have any problems or questions, tell me know.
> 
> Leonid

I have obtained Qt5Ada from AdaStudio last July but have lost track of which website I obtained it from.
I am using a Mac OSX 10.13.6
I have built the library successfully. It generated libQtada_Lib.a.
However, I am having trouble linking the first demo.  
It compiles OK.
I tried changing the QT version to:
Version_QAda    : string(1..6) := "5.12.0";
QT_VERSION      : constant Integer :=  16#050C00#;
which compiled OK.

Its failing 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)
plus numerous others

My gpr file:
with "../../../../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/usr/local/Cellar/qt/5.12.0/lib", "-framework", "QtWidgets", "-framework", "QtGui", "-framework", "QtCore", "-framework", "DiskArbitration", "-framework", "IOKit", "-framework", "QtMacExtras", "-framework", 
         "OpenGL", "-framework", "AGL", "-L/Ada_Source/AdaStudio/qtada/lib", "-lQtada_Lib");
   end Linker;

end Simple;

I added the "-L/Ada_Source/AdaStudio/qtada/lib", "-lQtada_Lib" but this didn't fix the problem.

Any assistance will be appreciated,
Roger


      parent reply	other threads:[~2018-12-13  5:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27  3:25 Announce : Qt5Ada version 5.11.0 (548 packages) release 26/05/2018 free edition leonid.dulman
2018-05-29 20:13 ` Dan'l Miller
2018-12-13 15:43   ` Olivier Henley
2018-12-13  5:50 ` rogermc [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