[qtada-users] Announce: QtAda/GtkAda integration kit

2009-02-21 Thread Vadim Godunko
We are pleased to announce a technology preview for the new product - QtAda/GtkAda Integration Kit. It allows to create hybrid QtAda/GtkAda application, thus it allows to migrate and reuse of the existent GtkAda code in QtAda application. Technology preview is available for immediate download

Re: [qtada-users] directory selection

2009-03-05 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: I am very new to qtada - so bear with me. I am trying to select a directory. The following is my program. It does allow selection of files. You need to use Qt4.File_Dialogs.Get_Existing_Directory function ;-) Unfortunately, it is not supported by the QtAda

Re: [qtada-users] Problem installing qtada

2009-03-15 Thread Vadim Godunko
Götz-Daniel Jantsch wrote: theg...@titania:~$ gcc -dumpmachine i486-linux-gnu theg...@titania:~$ g++ -dumpmachine i486-linux-gnu theg...@titania:~$ It seems that gprconfig doesn't know the compiler... If I type the following: theg...@titania:~$ gprconfig -o gnat/config.cgpr

Re: [qtada-users] BENKR - database connection problem... solved - ada-code-qtada-odbc-postgres... !!! H E U R E K A !!!

2009-03-31 Thread Vadim Godunko
Benjamin Kravanja wrote: My fault was, I have defined a query onto a NULL-pointer of the database-handle. You are right: This will never work! This explains, why I had no error in my sql-debugtext from the ODBC-driver. The database was opened by program as expected. So, I put the query

Re: [qtada-users] Ubuntu

2009-04-17 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: Anyone developing on Ubuntu? Any particular gotchas/difficulties - qtada or even gnat? Advice solicited. thanks, srini The most of known problems is GNAT related (an independent from OS). For example: - on some systems gprconfig unable to detect C++ compiler. You

Re: [qtada-users] Ubuntu

2009-04-17 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: Anyone developing on Ubuntu? Any particular gotchas/difficulties - qtada or even gnat? Advice solicited. thanks, srini By the way, do you have some problems? ___ qtada-users mailing list qtada-users@lists.qtada.com

Re: [qtada-users] PAINT device troubles

2009-08-07 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: not too clear what is going on. any ideas? From Qt documentation: Warning: When the paintdevice is a widget, QPainter can only be used inside a paintEvent() function or in a function called by paintEvent(); that is unless the Qt::WA_PaintOutsidePaintEvent widget

Re: [qtada-users] Color Selection Dialog

2009-08-12 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: Can I request the addition of the binding to the color selection dialog? Do you need support for QRgb or QColor is sufficient for you? ___ qtada-users mailing list qtada-users@lists.qtada.com

Re: [qtada-users] Color Selection Dialog

2009-08-16 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: Can I request the addition of the binding to the color selection dialog? Support for QColorDialog was added to the new QtAda snapshot, see http://www.qtada.com/en/download.html PS. Another changes: - support for QChar in signal/slots - support for QVariant in

Re: [qtada-users] cursors

2009-08-16 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: if you like i can send the whole project so you can build. thanks, srini On Thu, Aug 6, 2009 at 12:44 AM, Vadim Godunko godu...@qtada.com mailto:godu...@qtada.com wrote: Rajagopalan Srinivasan wrote: Is the binding to the Cursor functionality

Re: [qtada-users] strange behaviour

2009-08-24 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: I wrote a scribble program using qtada. The code is available from : http://projectlets.svn.sourceforge.net/viewvc/projectlets/Qt/scribble/ The strange thing is all the mouse movements over the toolbar are also sent to the window. i assumed that the toolbar

Re: [qtada-users] Ada containers and Qt4 objects

2009-08-30 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: Are the Qt4 objects compatible with Ada containers? type Segment_Type is record Path : Qt4.Painter_Paths.Q_Painter_Path ; Color : Qt4.Colors.Q_Color ; end record ; function Equal( L , R : Segment_Type ) return Boolean ; --

Re: [qtada-users] qtada (or qt) bug?

2009-10-26 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: My gui however does show these widgets even after executing this. I will be happy to send the project - but perhaps there is an explanation. Here is description of removeWidget: Removes the widget widget from the layout. After this call, it is the caller's

Re: [qtada-users] qtada docs

2009-10-29 Thread Vadim Godunko
Rajagopalan Srinivasan wrote: a. It is not clear how to read the QtAda doc files - qtada_ugr.qch atada.qhc If you use GPS you can open QtAda's documentation from the Help menu. Or run assistant directly, like this: assistant -collectionFile @prefix@/share/doc/qtada/qch/qtada.qhc b. Is it

Re: [qtada-users] Problem building QtAda 3.0 on Mac

2009-11-14 Thread Vadim Godunko
Roger Mc Murtrie wrote: What do I need to do to make progress?? Can you please send config.log file? ___ qtada-users mailing list qtada-users@lists.qtada.com http://lists.qtada.com/mailman/listinfo/qtada-users_lists.qtada.com

Re: [qtada-users] Problem building QtAda 3.0 on Mac

2009-11-16 Thread Vadim Godunko
Roger Mc Murtrie wrote: Sorry I no-longer have that one. I decided to start again, then I figured I'd be better off compiling QT 4.5.3 from source in the hope of getting the libraries that way. For qtada, I probably need to set PKG_CONFIG_PATH but I'm not sure to what. Alternatively, I can

Re: [qtada-users] Build Problems

2010-04-12 Thread Vadim Godunko
On 04/12/2010 10:46 PM, Rajagopalan Srinivasan wrote: On Ubuntu 9.10 I tried to build the latest QtAda release and got the following: gnatmake -j2 -p -aP../../../gnat -aP../../../gnat -Pexamples_graphics_view_elastic_nodes.gpr gnatlink

Re: [qtada-users] Problem building QtAda gpl 3.1.0 on Mac

2010-04-26 Thread Vadim Godunko
On 04/25/2010 06:03 AM, Roger Mc Murtrie wrote: Problem again with gprbuild. Seems that gprbuild doesn't recognise i386-apple-darwin10.3.0 gprconfig -v result: List of targets supported by a compiler: No compilers found for target i386-apple-darwin10.3.0 Roger, Are you sure you want to

Re: [qtada-users] Fwd: Problem building QtAda gpl 3.1.0 on Mac

2010-04-27 Thread Vadim Godunko
On 04/27/2010 03:38 PM, Roger Mc Murtrie wrote: I just tried a new unpack of the QtAda tar file, then ./configure gprconfig -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 --config=ada --config=c++ --batch which produced, as you suggested: Creating configuration file: gnat/config.cgpr

Re: [qtada-users] Fwd: Problem building QtAda gpl 3.1.0 on Mac

2010-04-27 Thread Vadim Godunko
On 04/27/2010 03:59 PM, Roger Mc Murtrie wrote: On 27/04/2010, at 11:40 PM, Vadim Godunko wrote: On 04/27/2010 03:38 PM, Roger Mc Murtrie wrote: I just tried a new unpack of the QtAda tar file, then ./configure gprconfig -o gnat/config.cgpr --target=i386-apple-darwin10.2.0 --config=ada

Re: [qtada-users] Fwd: Problem building QtAda gpl 3.1.0 on Mac

2010-04-28 Thread Vadim Godunko
On 04/28/2010 08:58 AM, Roger Mc Murtrie wrote: I'll see if I can find 1.3.0, but perhaps theres no GPL version. Source code must be available at libre.adacore.com, it is GPL after all! ___ qtada-users mailing list qtada-us...@box347.bluehost.com

Re: [qtada-users] Fwd: Problem building QtAda gpl 3.1.0 on Mac

2010-04-28 Thread Vadim Godunko
On 04/28/2010 12:03 PM, Roger Mc Murtrie wrote: Build log of what? of QtAda. source: qt-everywhere-opensource-src-4.6.2 compiler: gcc version 4.2.1 (Apple Inc. build 5659) It should work. ___ qtada-users mailing list

Re: [qtada-users] Fwd: Problem building QtAda gpl 3.1.0 on Mac

2010-04-29 Thread Vadim Godunko
On 04/29/2010 03:08 PM, Roger Mc Murtrie wrote: Well, went well until Making all in web_kit until gprlib QtAdaWebKit.lexch which stopped with ld: file not found: QtDBus.framework/Versions/4/QtDBus locate indicates /Library/Frameworks/QtDBus.framework/Versions/4/QtDBus Hm... Can you send

Re: [qtada-users] Slot connect errors

2010-06-20 Thread Vadim Godunko
On 06/20/2010 07:56 AM, Roger Mc Murtrie wrote: Following is relevant code excerpts from my dialog project: Please send find_dialog-moc.ad[sb] file which is generated by amoc. ___ qtada-users mailing list qtada-us...@box347.bluehost.com

Re: [qtada-users] Slot connect errors

2010-06-20 Thread Vadim Godunko
On 06/20/2010 01:13 PM, Roger Mc Murtrie wrote: Vadim, I'm having trouble regenerating the moc files. I am using GPS and previously they seem to have been automatically generated; I don't really understand how this is supposed to work! Now I've tried to generate them with gprbuild

Re: [qtada-users] Slot connect errors

2010-06-24 Thread Vadim Godunko
On 06/24/2010 09:49 AM, Roger Mc Murtrie wrote: What is the correct C type for Qt4.Case_Sensitivity? This type is not supported by amoc now, I will fix this bug soon and send patch. ___ qtada-users mailing list qtada-us...@box347.bluehost.com

Re: [qtada-users] Slot connect errors

2010-06-25 Thread Vadim Godunko
On 06/25/2010 04:31 AM, Roger Mc Murtrie wrote: I finally have my dialog example working. Great! :-) One of my problems seems to have been that (under GPS) the moc files were not being regenerated when I made changes to the ads files resulting in the emit moc files not being generated

Re: [qtada-users] qtaad install

2010-07-01 Thread Vadim Godunko
On 07/01/2010 06:22 PM, Tony Gair wrote: checking for QTCORE... configure: error: Package requirements (QtCore = 4.4.3) were not met: No package 'QtCore' found is there a reason for this ? It means usually that you don't have installed dev packages for Qt.

Re: [qtada-users] Slot connect errors

2010-07-01 Thread Vadim Godunko
On 06/25/2010 12:46 PM, Stephen Leake wrote: Vadim Godunko vgodu...@rostel.ru writes: On 06/25/2010 04:31 AM, Roger Mc Murtrie wrote: Any idea of what might cause the moc files not to be regenerated? Regeneration of moc files is a bug in the gprbuild. Can you elaborate on this? I'm

Re: [qtada-users] qtada from qt Designer

2010-07-01 Thread Vadim Godunko
On 06/26/2010 06:19 AM, Roger Mc Murtrie wrote: I wondered if there is a more convenient way of getting from Qt Designer to QtAda as I can imagine more complicated Qt Designer designs would involve a lot of work in manually translating the Qt Designer generated C output file to QtAda?

Re: [qtada-users] Exception in MDI close

2010-09-28 Thread Vadim Godunko
On 09/28/2010 06:04 AM, juliann...@gmail.com wrote: With an MDI application I get the following error when the sub window is closed: Unhandled exception in event notification Exception name: CONSTRAINT_ERROR Message: qt_ada-internals-objects.adb:93 access check failed Which event is

[qtada-users] Announce: QtAda 3.1.0

2010-10-10 Thread Vadim Godunko
We are pleased to announce the immediate availability of the QtAda 3.1.0. You can download multi platform source code package or Microsoft Windows binary package from the our download page: http://www.qtada.com/en/download.html QtAda is an Ada2005 language bindings to the Qt libraries and a set

Re: [qtada-users] Announce: QtAda 3.1.0 - Problem building on Intel Mac Core Duo OSX 10.6.4

2010-11-02 Thread Vadim Godunko
On 11/01/2010 01:43 PM, Roger Mc Murtrie wrote: qtada-gpl-3.1.0 built easily with GNAT GPL 2009 (gnat-gpl-2009-i386-apple-darwin10.2.0.tar.bz2) Attached is my log of what I had to do. I think I got I got it from SourceForge: http://sourceforge.net/projects/gnuada/files/GNAT_GPL Mac OS

Re: [qtada-users] Convert Q_String to Q_ByteArray

2010-11-26 Thread Vadim Godunko
On 11/24/2010 01:37 PM, coo...@gmail.com wrote: Hello. How can I convert Q_String into QByteArray ? There is no way right now. As workaround, you can convert QString to Ada's String and construct QByteArray from its elements. ___ qtada-users mailing

Re: [qtada-users] Qt4.Ui_Loaders missing.

2010-12-30 Thread Vadim Godunko
hi everyone, does .ui files really supported by Qtada 2010..? I try to compile the sourcecode shown below, but the compiler said that Qt4-Ui_Loaders.ads isn't exists. I try to find it on qt_gui project's source code but I can't find it. any explanations of it..? Qt4.UI_Loaders package is not

Re: [qtada-users] Function absence in Q_Sql_Query_Model

2011-01-24 Thread Vadim Godunko
On 01/21/2011 09:01 PM, Грубников Александр wrote: There is no Record functions in Qt4.Sql_Query_Models and all it's descendants... This function was added in the last QtAda 3.1.1 snapshot, please use download package to download it. ___ qtada-users

Re: [qtada-users] trouble installing qtada binary package

2011-03-13 Thread Vadim Godunko
On 03/14/2011 01:18 AM, Brad Cantrell wrote: I have the GNAT GPS 2010 Ada compiler installed as well as QT Creator IDE. I tried to install the latest qtada binary but I get an error message when the installation is trying to finalize. The error message says: Unable to execute file:

Re: [qtada-users] trouble installing qtada binary package

2011-03-15 Thread Vadim Godunko
On 03/14/2011 04:21 AM, Brad Cantrell wrote: Thanks for your response Vadim. I put the QT bin directory in my path (PATH under system variables in winXP) and I still get the same error message. Im really stumped now as to what could be the problem. Do you have installed Qt/Qt SDK or just Qt

Re: [qtada-users] Assistance request please .../

2011-05-11 Thread Vadim Godunko
On 05/11/2011 06:13 PM, Mbanugo, Gideon wrote: I have been very interested in using QTAda, for a while. I have also downloaded a few versions of it for my work. Basically, I do believe that it will be very useful for my work. However I have never been able to start, due to scarcity of a simple

Re: [qtada-users] data type Conversion

2011-05-17 Thread Vadim Godunko
On 04/19/2011 06:19 AM, zaky rahim wrote: currently I need to print document created using QTextDocument on qtada 3.1. anybody ever done this..? I've look to the examples but there nothing implemented in print menu, I just found commented out C++ codes. thanks for noticing. QtAda 3.2 supports

Re: [qtada-users] data type Conversion

2011-05-17 Thread Vadim Godunko
On 05/18/2011 12:19 AM, Vadim Godunko wrote: On 04/19/2011 06:19 AM, zaky rahim wrote: currently I need to print document created using QTextDocument on qtada 3.1. anybody ever done this..? I've look to the examples but there nothing implemented in print menu, I just found commented out C

Re: [qtada-users] QTAda plugin for Eclipse

2011-05-23 Thread Vadim Godunko
On 05/20/2011 06:50 PM, Mark Ngbapai wrote: Hi, I grew interested in Ada recently and I have set up Eclipse with Adacore GNAT GPL plugin. I then discovered this site of QTAda and was wondering if I could set up my Eclipse IDE for use with it. is this possible, to use Eclipse instead of QT

Re: [qtada-users] Signal Slot with pointer type Parameter.

2011-06-30 Thread Vadim Godunko
On 06/24/2011 11:18 AM, zaky rahim wrote: Hello, I try to creating slot and signal with access type parameter but compilers tell me that there's range check fail while compile the amoc. what wrong here...? is passing non primitive using signal or slot supported..? am using qtada 3.1 with Qt 4.7

[qtada-users] QtAda 3.2 for GNAT GPL 2011

2011-08-13 Thread Vadim Godunko
QtAda 3.2 preview for GNAT GPL 2011 is available for download: Source code: http://download.qtada.com/qtada-gpl-3.2.0-20110812-3857.tar.gz Prebuild Microsoft Windows package: http://download.qtada.com/qtada-gpl-3.2.0-20110812-3857-qt4.7.3-1.exe ___

Re: [qtada-users] BENKR - [qtada] A little question...

2011-09-22 Thread Vadim Godunko
On 09/21/2011 08:32 PM, Benjamin Kravanja wrote: I do not really understood, why, because this package was compiled by the older environment without any problems. qt4-events-impl.adb:175:30: illegal attempt to store anonymous access to subprogram qt4-events-impl.adb:175:30: value has

Re: [qtada-users] Mac Lion Problem Building qtada-gpl-3.1.1 and 3.2.0

2011-10-24 Thread Vadim Godunko
On 10/22/2011 04:53 AM, Roger Mc Murtrie wrote: I have jeu bought a new 64 bit mac and have installed the latest GNAT build from Libre. Then I managed to build QT4.7.4 Compile of qsizewrapper.cpp fails and I can't figure out why. I guess it is incompatibility of C++ gcc, can you edit

Re: [qtada-users] Mac Lion. Problem with examples/designer/custom_widget_plugin

2011-11-01 Thread Vadim Godunko
On 10/26/2011 09:48 AM, Roger Mc Murtrie wrote: Problem seems to have been caused by conflict between /usr/local/include/qtada/core/qt_ada-internals-value_class_sizes.ads and the local version of qt_ada-internals-value_class_sizes.ads. Deleting

Re: [qtada-users] How Do I access the Buttons in a Button_Box

2011-12-13 Thread Vadim Godunko
On 12/08/2011 06:50 AM, Roger Mc Murtrie wrote: I have set up a dialog that includes a button_box but I cannot figure out how to access the buttons. Qt has a method button_box.buttons that returns a list of buttons in the button_box but this does not appear to have been implemented ing QtAda?

Re: [qtada-users] How Do I access the Buttons in a Button_Box

2011-12-13 Thread Vadim Godunko
On 12/13/2011 07:00 PM, Vadim Godunko wrote: On 12/08/2011 06:50 AM, Roger Mc Murtrie wrote: I have set up a dialog that includes a button_box but I cannot figure out how to access the buttons. Qt has a method button_box.buttons that returns a list of buttons in the button_box but this does

Re: [qtada-users] How Do I access the Buttons in a Button_Box

2011-12-13 Thread Vadim Godunko
On 12/14/2011 04:50 AM, Roger Mc Murtrie wrote: Another problem I have is that, in this and my earlier build, to get source/core/qsizewrapper.cpp, qsizefwrapper.cpp and other wrappers to compile I have to delete (storage) from return statements. Can you try to add #include new to the .cpp

Re: [qtada-users] Some Wrapper files fail to compile

2011-12-14 Thread Vadim Godunko
On 12/15/2011 09:52 AM, Roger Mc Murtrie wrote: Thanks again Vadim Adding #includenew to failing cpp wrapper files fixed the problem. Thank you for feedback, this fix will be available in next snapshot. ___ qtada-users mailing list

Re: [qtada-users] GPS 5.0.1 0n Mac Lion doesn't recognize Amoc.

2012-01-14 Thread Vadim Godunko
On 01/13/2012 08:26 AM, Roger Mc Murtrie wrote: I am now using GPS 5.0.1 which is installed with gnat-2011-x86_64-apple-darwin10.2.0-bin (as I only just discovered). However, I can't get GPS to recognize the amoc compiler. In previous GPS versions amoc showed up in the Edit Project

Re: [qtada-users] Compiler crash when building qtada examples

2012-05-10 Thread Vadim Godunko
On 05/09/2012 11:49 PM, Patrick Noffke wrote: I studied the use of the generic, and it seems correct to me. Has anyone else experienced this problem? I added a comment to the redhat bug (which is currently closed), but would it make sense to add one to the gcc bug tracker, too? The code is

Re: [qtada-users] help building QtAda

2012-06-09 Thread Vadim Godunko
On 06/07/2012 11:53 PM, Rajagopalan Srinivasan wrote: I am trying to rebuild my QtAda setup.for GNAT GPL 2011 I got the Qt library version 4.8.2. Installed on c:\\Qt\\4.8.2 While building QtAda I am running into an error:

Re: [qtada-users] Ubunutu 12.04 QtAda

2012-06-09 Thread Vadim Godunko
On 06/10/2012 03:38 AM, Rajagopalan Srinivasan wrote: Vadim I am also trying to rebuild on Ubuntu 12.04 as well. I just used the default synaptic package manager to install gnat, gprbuild, asis and Qt. the make of QtAda went well but still failed at the examples - with the following message:

[qtada-users] Anounce: QtAda support forum

2012-07-13 Thread Vadim Godunko
We are on opening new support channel for QtAda users using modern 'forum' technology. It is in testing stage right now, but we are inviting everyone to join. http://forum.qtada.com/ ___ qtada-users mailing list qtada-us...@box347.bluehost.com

Re: [qtada-users] (no subject)

2012-10-27 Thread Vadim Godunko
On 10/27/2012 05:07 PM, Michael Beck wrote: thank you first for the fast response, but I got an additional question. Is it enough to just install qtada in bin directory of qt or what do you mean exactly by add into path environment variable before the installation ? I mean you need to open

Re: [qtada-users] (no subject)

2012-11-16 Thread Vadim Godunko
On 11/16/2012 06:55 PM, Chris Sparks wrote: That executable worked well for me. Which version of Qt does this support? I currently have the Qt 4.8.1 installed. It includes Qt 4.8.1 libraries. Is the QtCreator cognizant of the Ada compiler, ada setup? If one cannot use QtCreator as is then

Re: [qtada-users] Still not successful in using QtAda on my Windows System

2013-01-14 Thread Vadim Godunko
On 01/14/2013 06:49 PM, Chris Sparks wrote: I am really perplexed why I am unable to get any of the examples to work with QtAda. I don't have a clue how to really use it as there isn't any documentation?! Or maybe I am just not seeing it? There is no enough information here to help you

Re: [qtada-users] table_editors-moc.ads not found

2013-10-03 Thread Vadim Godunko
On 10/01/2013 02:27 PM, Dwiki Putrandityo wrote: Hello, im using gcc (GCC) 4.5.4 20120510 for GNAT GPL 2012 (20120509) and qtada from qtada-gpl-3.2.0-20120708-3871-qt4.8.2-2.exe installer. im trying to compile example from ..\GNAT\2012\examples\qtada\sql\cached_table, but it say

Re: [qtada-users] QtAda and GPL 2013 on Windows

2014-02-10 Thread Vadim Godunko
On 02/10/2014 02:20 PM, Pascal OBRY wrote: godu...@qtada.com wrote on 07/02/2014 14:37:24: There are two known issues with QtAda and precompiled Qt: - (platform independent): GCC backends used to compile Qt and QtAda must have same major and middle version (so, 4.5 is incompatible with 4.7

Re: [qtada-users] Any activities?

2014-12-17 Thread Vadim Godunko
On 12/15/2014 03:10 PM, Chris Sparks wrote: I was checking to see if there is still working going on with QtAda? QtAda for Qt4 is still supported. ___ qtada-users mailing list qtada-us...@box347.bluehost.com

Re: [qtada-users] Hello. I am facing some problem.

2015-01-16 Thread Vadim Godunko
On 01/06/2015 05:49 PM, 3002 wrote: cached_table_moc.gpr:26:09: warning: no compiler specified for language Amoc, ignoring all its sources gprbuild: no sources to compile. It means incorrect installation of QtAda. QtAda should be installed with same 'prefix' as GNAT compiler, otherwise