[Gambas-user] gambas 0.55

Benoit Minisini gambas at ...2...
Wed May 7 11:05:51 CEST 2003


Le Mercredi 7 Mai 2003 08:10, Jochen Georges a écrit :
>
> hi benoit,
> in /opt/gambas-0.55/src/lib/db/mysql/main.c i did not find the
> lines.
> archie:/opt/gambas-0.55/src# grep -nrA 3 ToZeroString * | grep
> DB_CheckName
> lib/db/CTable.c-346-  if (DB_CheckName(index, "index"))
> lib/db/CDatabase.c-79-  if (DB_CheckName(name, "database"))
> lib/db/CDatabase.c-469-  if (DB_CheckName(name, "table"))
>
> so i changed the file
> opt/gambas-0.55/src/ib/db/CTable.c
> starting at line nb.469
>
> make throws the folowing error:
> In file included from
> /usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iterator:32,
>                  from /usr/include/qt/qmap.h:49,
>                  from /usr/include/qt/qmime.h:43,
>                  from /usr/include/qt/qevent.h:45,
>                  from /usr/include/qt/qobject.h:45,
>                  from /usr/include/qt/qwidget.h:43,
>                  from /usr/include/qt/qdesktopwidget.h:42,
>                  from /usr/include/qt/qapplication.h:42,
>                  from CWindow.cpp:30:
> /usr/lib/gcc-lib/i386-linux/2.95.4/include/stddef.h:337: warning:
> `offsetof' redefined
> ../../../src/share/common.h:95: warning: this is the location of
> the previous definition
> CWindow.cpp: In method `int MyMainWindow::getState()':
> CWindow.cpp:788: implicit declaration of function `int
> isFullScreen(...)'
> make[5]: *** [CWindow.lo] Error 1
> make[5]: Leaving directory `/opt/gambas-0.55/src/lib/qt'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/opt/gambas-0.55/src/lib/qt'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/opt/gambas-0.55/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/opt/gambas-0.55/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/opt/gambas-0.55'
> make: *** [all-recursive-am] Error 2
>
>
>
> beste gruesse
> jochen
>
>

Hi Jochen,

It is not necessary to send your mails both to the mailing-list and to me, 
because I -am- on the mailing-list !

Remove the line with isFullScreen() and the previous one. This is code that 
works only with qt 3.1. (There was many posts about that here, didn't you see 
them ?)

Anyway, the Window.State property does not work on my Mandrake box (qt 3.1), 
on my SuSE box (qt 3.0), with KDE window manager or ICE window-manager. It 
seems to be a bug in qt not yet corrected.

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list