Hello!

I'm looking at using QtAda with GNAT GPL 2013 on Windows.

My environement:

   OS : Windows XP
   Qt Runtime : qt-win-opensource-4.8.5-mingw.exe
   Qt Ada : qtada-gpl-3.2.0-20120708-3871.tar.gz

I've been able to install everything fine, but I get a segmentation 
violation for any examples:

> Temporary breakpoint 1, main ()
>     at C:\Documents and Settings\Pascal Obry\dev\builds\qtada-gpl-3.
> 2.0-20120708
> -3871\examples\qt_ada\ui_dialog\main.adb:36
> 36      procedure Main is
> (gdb) info shared
> From        To          Syms Read   Shared Object Library
> 0x7c911000  0x7c9c5e84  Yes (*)     C:\WINDOWS\system32\ntdll.dll
> 0x7c801000  0x7c905c80  Yes (*)     C:\WINDOWS\system32\kernel32.dll
> 0x6e941000  0x6e94f630  Yes (*)     c:\qt\4.8.5\bin\libgcc_s_dw2-1.dll
> 0x77be1000  0x77c37d74  Yes (*)     C:\WINDOWS\system32\msvcrt.dll
> 0x6a801000  0x6aaf3cb4  Yes         C:\GNAT\2013\bin\libgnat-2013.dll
> 0x77da1000  0x77e4baec  Yes (*)     C:\WINDOWS\system32\advapi32.dll
> 0x77e51000  0x77ee1494  Yes (*)     C:\WINDOWS\system32\rpcrt4.dll
> 0x77fc1000  0x77fd0884  Yes (*)     C:\WINDOWS\system32\secur32.dll
> 0x7c9d1000  0x7d1f4488  Yes (*)     C:\WINDOWS\system32\shell32.dll
> 0x77ef1000  0x77f38880  Yes (*)     C:\WINDOWS\system32\gdi32.dll
> 0x7e391000  0x7e420de4  Yes (*)     C:\WINDOWS\system32\user32.dll
> 0x77f41000  0x77fb59d4  Yes (*)     C:\WINDOWS\system32\shlwapi.dll
> 0x719f1000  0x71a06dc8  Yes (*)     C:\WINDOWS\system32\ws2_32.dll
> 0x719e1000  0x719e7320  Yes (*)     C:\WINDOWS\system32\ws2help.dll
> 0x676c1000  0x67701874  Yes         C:\GNAT\2013\bin\libgnarl-2013.dll
> 0x62d01000  0x62eb2124  Yes         C:\GNAT\2013\bin\libQtAdaCore.dll
> 0x6fc41000  0x6fd21af0  Yes         C:\GNAT\2013\bin\libstdc++-6.dll
> 0x6e0c1000  0x6e387834  Yes (*)     c:\qt\4.8.5\bin\QtCore4.dll
> 0x6fbc1000  0x6fbc6078  Yes (*)     c:\qt\4.8.5\bin\mingwm10.dll
> 0x774a1000  0x775dc0d4  Yes (*)     C:\WINDOWS\system32\ole32.dll
> 0x687c1000  0x6909687c  Yes         C:\GNAT\2013\bin\libQtAdaGui.dll
> 0x00481000  0x00e39870  Yes (*)     c:\qt\4.8.5\bin\QtGui4.dll
> 0x76341000  0x763894dc  Yes (*)     C:\WINDOWS\system32\comdlg32.dll
> 0x58b51000  0x58be9080  Yes (*)     C:\WINDOWS\system32\comctl32.dll
> 0x76321000  0x7633cc6c  Yes (*)     C:\WINDOWS\system32\imm32.dll
> 0x770e1000  0x7716a414  Yes (*)     C:\WINDOWS\system32\oleaut32.dll
> 0x76ae1000  0x76b0e8b4  Yes (*)     C:\WINDOWS\system32\winmm.dll
> 0x72f51000  0x72f7551c  Yes (*)     C:\WINDOWS\system32\winspool.drv
> 0x70ac1000  0x70b74088  Yes         C:\GNAT\2013\bin\libQtAdaUiTools.dll
> 0x77391000  0x77492e28  Yes (*)     C:\WINDOWS\WinSxS
> \x86_Microsoft.Windows.Comm
> on-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
> (*): Shared library is missing debugging information.
> (gdb) n
> 38         Qt_Ada.Application.Initialize;
> (gdb) s
> qt_ada.application.initialize ()
>     at C:\Documents and Settings\Pascal Obry\dev\builds\qtada-gpl-3.
> 2.0-20120708
> -3871\source\gui\qt_ada-application.adb:107
> 107        end Initialize;
> (gdb) n
> 106           new_QtAdaApplication;
> (gdb)
> 0x689cd050 in __QtAda_new_QtAdaApplication ()
>    from C:\GNAT\2013\bin\libQtAdaGui.dll
> (gdb)
> Single stepping until exit from function __QtAda_new_QtAdaApplication,
> which has no line number information.
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0x6e1d0816 in ZN23QCoreApplicationPrivate27processCommandLineArgumentsEv 
()
>    from c:\qt\4.8.5\bin\QtCore4.dll
> (gdb) quit

Any idea? Is using GNAT GPL 2013 supported?

Thanks,

--
Pascal Obry - EDF R&D Clamart
Tel: 01 47 65 50 91    RTN: 47 50 91
-------------- next part --------------



Ce message et toutes les pi?ces jointes (ci-apr?s le 'Message') sont ?tablis ? 
l'intention exclusive des destinataires et les informations qui y figurent sont 
strictement confidentielles. Toute utilisation de ce Message non conforme ? sa 
destination, toute diffusion ou toute publication totale ou partielle, est 
interdite sauf autorisation expresse.

Si vous n'?tes pas le destinataire de ce Message, il vous est interdit de le 
copier, de le faire suivre, de le divulguer ou d'en utiliser tout ou partie. Si 
vous avez re?u ce Message par erreur, merci de le supprimer de votre syst?me, 
ainsi que toutes ses copies, et de n'en garder aucune trace sur quelque support 
que ce soit. Nous vous remercions ?galement d'en avertir imm?diatement 
l'exp?diteur par retour du message.

Il est impossible de garantir que les communications par messagerie 
?lectronique arrivent en temps utile, sont s?curis?es ou d?nu?es de toute 
erreur ou virus.
____________________________________________________

This message and any attachments (the 'Message') are intended solely for the 
addressees. The information contained in this Message is confidential. Any use 
of information contained in this Message not in accord with its purpose, any 
dissemination or disclosure, either whole or partial, is prohibited except 
formal approval.

If you are not the addressee, you may not copy, forward, disclose or use any 
part of it. If you have received this message in error, please delete it and 
all copies from your system and notify the sender immediately by return message.

E-mail communication cannot be guaranteed to be timely secure, error or 
virus-free.
_______________________________________________
qtada-users mailing list
qtada-us...@box347.bluehost.com
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com

Reply via email to