Thanks Vadim,
I'm building qtada-gpl-3.2.0-20111213-3862 now.
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.
g++ -c -fPIC -O2 -DQT_SHARED -I/usr/local/Trolltech/Qt-4.7.4/include
-I/usr/local/Trolltech/Qt-4.7.4/include/QtCore qsizewrapper.cpp
In file included from
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qnamespace.h:45:0,
from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/qsize.h:45,
from /usr/local/Trolltech/Qt-4.7.4/include/QtCore/QSize:1,
from
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp:31:
/usr/local/Trolltech/Qt-4.7.4/include/QtCore/qglobal.h:320:6: warning: #warning
"This version of Mac OS X is unsupported"
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp: In
function 'QSize* __QtAda_inititialize_QSize(void*)':
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp:40:36:
error: no matching function for call to 'operator new(long unsigned int,
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp: In
function 'QSize* __QtAda_inititialize_QSize_int_int(void*, int, int)':
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp:45:40:
error: no matching function for call to 'operator new(long unsigned int,
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp: In
function 'QSize* __QtAda_adjust_QSize(void*, const QSize*)':
/Ada_Source/qtada-gpl-3.2.0-20111213-3862/source/core/qsizewrapper.cpp:50:41:
error: no matching function for call to 'operator new(long unsigned int,
void*&)'
<built-in>:0:0: note: candidate is: void* operator new(long unsigned int)
compilation of qsizewrapper.cpp failed
gprbuild: *** compilation phase failed
make[3]: *** [.libs/libQtAdaCore.dylib] Error 4
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Deleting (storage) from return statements fixes this.
Best Regards,
Roger
On 14/12/2011, at 3:16 AM, Vadim Godunko wrote:
> 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 not
>>> appear to have been implemented ing QtAda?
>>>
>> May be QObject.findChild can help here?
>>
>> I've fill extension request for buttons and button functions.
>
> button, buttonRole and standardButton functions of QDialogButtonBox are
> supported now, you can download latest version of QtAda from site:
>
> http://download.qtada.com/qtada-gpl-3.2.0-20111213-3862.tar.gz
_______________________________________________
qtada-users mailing list
[email protected]
http://box347.bluehost.com/mailman/listinfo/qtada-users_lists.qtada.com