Gour <[email protected]> writes: > Hello! > > I'm starting with Ada and would like to try QtAda as possible GUI > bindings for our open-source multi-platform desktop project considering > it might provide better native look than Gtk(Ada). > > However I have problem building latest QtAda.3.1. > > When attempting to build with gcc-4.6, I got GNAT bug error and Vladimir > Godunko on #ada suggested to use latest GNAT GPL and gcc-4.7. > > I'm running Sid and have gcc-4.7.2 installed, but gprconfig database > does not recognize gcc-4.7. > > Which route do you suggest in order to build QtAda on Debian system: > > a) separate download of the latest GNAT GPL or
This is, at the moment, the quickest and easiest solution. You can use it temporarily until gnat-4.8 reaches sid. > b) tweaking the Debian setup to somehow use gcc-4.7? That is no easy task; it essentially boils down to gnat-4.7 or even gnat-4.8. I've produced both packages and uploaded them to Debian in January 2013; unfortunately they still have to be reviewed and accepted bu a human volunteer in the Debian release team. The release team is now busy stabilizing testing so it becomes the next stable release. So, route b) means patience for you, but your patience will eventually be rewarded by a fully supported and integrated gnat-4.8 in Debian. By the way, Debian is usually released "when it is ready", so don't ask anyone for an estimated release date :) or c) modify the sources of QtAda 3.1 to work around the bug in GNAT. Quite often, it is easy to work around compiler bugs with only very small changes to the sources. Then again, without any specifics about the bug that QtAda triggered, I cannot say much more. or d) revert to an older version of QtAda that compiles with gnat-4.6. If you're "starting with Ada" and also starting with Qt, then it is likely that you won't miss the more advanced features of QtAda 3.1. or e) try the other QtAda binding by Leonid Dulman, Qt5Ada this might compile with gnat-4.6 out of the box. See http://users1.jabry.com/adastudio/index.html (and the video demo on YouTube linked from there) of f) try the other, other QtAda binding (to Qt 4.2) by Yves Bailly Seems dead upstream but might still work. http://qt4ada.sourceforge.net/ > I'm leaning towards b) solution allowing me to use Debian's > infrastructure, but need some help... If you would like to help Debian's infrastructure, I would suggest that the best way is for you to learn how to package software and offer to package one of the QtAdas for Debian. -- Ludovic Brenta. -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]
