The file /usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/gpr/qt_core.gpr contains the following lines: " project Qt_Core is for Languages use ("Ada"); for Source_Dirs use ("/usr/include/qtada/core"); for Library_Name use "qt4ada-core"; for Object_Dir use "/usr/lib/qtada"; for Library_Dir use "/usr/lib"; for Externally_Built use "True"; end Qt_Core; " The Source_Dirs and the Object_Dir does not exist. This should either be changed in the project file or the files should be installd there.
I attempted to get a qtada demo program (http://download.qtada.com/ada_mine-0.0.1.tar.gz) running and ran into this issue. After some manual tweaking of files/configurations I was able to play minesweeper. -------------------- In /usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/gpr, for qt_core.gpr qt_designer.gpr, qt_gui.gpr, qt_sql.gpr, & qt_ui_tools.gpr, I did the following: 1)Changed "for Source_Dirs use ("/usr/include/qtada/....." to "for Source_Dirs use ("/usr/include/ada/qtada/...." 2)Changed "for Object_Dir use "/usr/lib/qtada" to "for Object_Dir use "/usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada"; 3)Changed "for Library_Dir use "/usr/lib" to "for Library_Dir use "/usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada/libs"; After all that, I made a libs directory under /usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada/ and copied all the .so. and .la files there. I modified the libdir variable in the .la files to point to "/usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada/libs". Finally, I manually tweaked /etc/env.d/55gnat... to have /usr/lib/ada/i686-pc-linux-gnu-gnat-gpl-4.1/qtada/libs in the LDPATH. Reran env-update, sourced /etc/profile & compiled & ran ada_mine without issue. I did the library copying after reading this info: http://www.adacore.com/wp-content/files/auto_update/gnat-unw-docs/html/gnat_ugn_12.html#SEC155 I guess the Library_Dir & Object_Dir can't be the same.
qtada was removed from Portage, see bug 286550 for continuation