From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,WEIRD_PORT autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,34c5e4948f429691 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed01.chello.at!newsfeed02.chello.at!news.hispeed.ch.POSTED!not-for-mail Message-ID: <1201303.5dLqL8CvEh@linux1.krischik.com> From: Martin Krischik Subject: Re: ANN: QtAda preview available Newsgroups: comp.lang.ada Date: Sun, 15 Apr 2007 11:28:36 +0200 References: <1176378179.964724.176000@w1g2000hsg.googlegroups.com> User-Agent: KNode/0.10.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Complaints-To: abuse@hispeed.ch Organization: hispeed.ch NNTP-Posting-Host: 84.73.230.248 (84.73.230.248) NNTP-Posting-Date: Sun, 15 Apr 2007 11:35:01 +0200 X-Trace: 05bfd4621f1c5f1ec435d21605 Xref: g2news1.google.com comp.lang.ada:15033 Date: 2007-04-15T11:28:36+02:00 List-Id: vgodunko@rostel.ru wrote: > Hello, > > QtAda is an Ada2005 language bindings to Qt 4.2. Its allow easly > create powerfull graphical user interface on Ada. QtAda use native > thread safe signal/slot mechanism, provide access to more than 70 Qt > classes, provide Ada-aware meta object compiler, support development > of custom widgets and Qt Designer's custom widget plugins, support > loading at runtime of GUI forms from Qt Designer's UI files and so on. > > Current snapshort available at > > http://sourceforge.net/projects/qtada/ Which compiler are you using? You see: -------- GCC 4.2 Snapshot --------------- make all-am make[4]: Entering directory `/work/gnuada/rpm/BUILD/gnat-gcc-qtada/x86_64-suse-linux/source/core' /bin/sh ../../libtool --tag=CC --mode=compile ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-child_events-constructors.adb ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-child_events-constructors.adb -fPIC -DPIC -o .libs/qt4-child_events-constructors.o qt4-child_events-constructors.adb:70:39: invalid tagged conversion, not compatible with type "Q_Event'Class" defined at qt4-events.ads:174 make[4]: *** [qt4-child_events-constructors.lo] Fehler 1 make[4]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gcc-qtada/x86_64-suse-linux/source/core' make[3]: *** [all] Fehler 2 make[3]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gcc-qtada/x86_64-suse-linux/source/core' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gcc-qtada/x86_64-suse-linux/source' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gcc-qtada/x86_64-suse-linux' error: Bad exit status from /var/tmp/rpm-tmp.7591 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.7591 (%build) if [ -x /opt/gnat/tools/bin/vim ] ; then LD_LIBRARY_PATH='/opt/gnat/tools/lib' nice --adjustment=0 /opt/gnat/tools/bin/vim -g -M + --servername "RPM-Build-Logs linux2" --remote-silent "../LOGS/gnat-gcc-qtada-4.2.log" & fi -------------------------------------------------- -------- GPL 2006 -------------------------- make all-am make[4]: Entering directory `/work/gnuada/rpm/BUILD/gnat-gpl-qtada/x86_64-suse-linux/source/core' /bin/sh ../../libtool --tag=CC --mode=compile ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-child_events-constructors.adb mkdir .libs ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-child_events-constructors.adb -fPIC -DPIC -o .libs/qt4-child_events-constructors.o qt4-child_events-constructors.adb:70:39: invalid tagged conversion, not compatible with type "Q_Event'Class" defined at qt4-events.ads:174 qt4-child_events-constructors.adb:73:40: expected an access type with designated type "Q_Object_Impl" defined at qt4-objects-impl.ads:105 qt4-child_events-constructors.adb:73:40: found type "Q_Object_Impl'Class" defined at qt4-objects-impl.ads:105 qt4-child_events-constructors.adb:79:36: (Ada 2005) does not implement interface type "Q_Child_Event" defined at qt4-child_events.ads:44 make[4]: *** [qt4-child_events-constructors.lo] Fehler 1 make[4]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gpl-qtada/x86_64-suse-linux/source/core' make[3]: *** [all] Fehler 2 make[3]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gpl-qtada/x86_64-suse-linux/source/core' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gpl-qtada/x86_64-suse-linux/source' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-gpl-qtada/x86_64-suse-linux' error: Bad exit status from /var/tmp/rpm-tmp.68427 (%build) RPM build errors: Macro %Gnat_patch_version has empty body Bad exit status from /var/tmp/rpm-tmp.68427 (%build) if [ -x /opt/gnat/tools/bin/vim ] ; then LD_LIBRARY_PATH='/opt/gnat/tools/lib' nice --adjustment=0 /opt/gnat/tools/bin/vim -g -M + --servername "RPM-Build-Logs linux2" --remote-silent "../LOGS/gnat-gpl-qtada-2006.log" & fi -------------------------------------------------- -------- PRO 6.0.1 -------------------------- /bin/sh ../../libtool --tag=CC --mode=compile ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-abstract_item_models-impl.adb ../../adacompiler -c -O0 -gnat05 -gnatW8 -gnatyabcdefhikmoprstux -gnatwae -I../../../qtada-0.1.0-20070413-6865/source/core -I. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-abstract_item_models-impl.adb -fPIC -DPIC -o .libs/qt4-abstract_item_models-impl.o +===========================GNAT BUG DETECTED==============================+ | Pro 6.0.1 (20070117-41) (x86_64-suse-linux-gnu) Assert_Failure atree.adb:914| | Error detected at qt4-abstract_item_models-impl.adb:483:7 | | Please submit a bug report using GNAT Tracker: | | http://www.adacore.com/gnattracker/ section 'send a report'. | | alternatively submit a bug report by email to report@adacore.com, | | including your customer number #nnn in the subject line. | | Use a subject line meaningful to you and us to track the bug. | | Include the entire contents of this bug box in the report. | | Include the exact gcc or gnatmake command that you entered. | | Also include sources listed below in gnatchop format | | (concatenated together with no headers between files). | | Use plain ASCII or MIME attachment. | +==========================================================================+ Please include these source files with error report Note that list may not be accurate in some cases, so please double check that the problem can still be reproduced with the set of files listed. ../../../qtada-0.1.0-20070413-6865/source/core/qt4-abstract_item_models-impl.adb ../../../qtada-0.1.0-20070413-6865/source/core/qt4-abstract_item_models-impl.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-abstract_item_models.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4_generic_flags.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-model_indexes.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4_entities.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-model_indexes-constructors.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-objects.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-events.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-meta_objects.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-generic_arguments.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-generic_return_arguments.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-strings.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-variants.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-child_events.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-objects-impl.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-events-impl.ads ../../../qtada-0.1.0-20070413-6865/source/core/qt4-timer_events.ads compilation abandoned make[4]: *** [qt4-abstract_item_models-impl.lo] Fehler 1 make[4]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-pro-qtada/x86_64-suse-linux/source/core' make[3]: *** [all] Fehler 2 make[3]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-pro-qtada/x86_64-suse-linux/source/core' make[2]: *** [all-recursive] Fehler 1 make[2]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-pro-qtada/x86_64-suse-linux/source' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/work/gnuada/rpm/BUILD/gnat-pro-qtada/x86_64-suse-linux' error: Bad exit status from /var/tmp/rpm-tmp.79946 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.79946 (%build) if [ -x /opt/gnat/tools/bin/vim ] ; then LD_LIBRARY_PATH='/opt/gnat/tools/lib' nice --adjustment=0 /opt/gnat/tools/bin/vim -g -M + --servername "RPM-Build-Logs linux2" --remote-silent "../LOGS/gnat-pro-qtada-6.0.1.log" & fi -------------------------------------------------- Now I would really love to add qtada to The GNU Ada Project [1]. So where is the trick? Martin [1] http://gnuada.sf.net -- mailto://krischik@users.sourceforge.net Ada programming at: http://ada.krischik.com