compile-error: Unknown Qt::Key_Unknown

2002-09-22 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-


Compiling lyx1.3 --with-frontend=qt yields to

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/fronte
nds/ -I../../../images -I./qt2 -I/usr/lib/qt3/include -I../../../boost -I../../.
./src/frontends/controllers -isystem /usr/X11R6/include -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -g -O -Wno-non-template-friend
-W -Wall -c QLyXKeySym.C -Wp,-MD,.deps/QLyXKeySym.TPlo
In file included from QLyXKeySym.C:17:
qlkey.h: In function `bool q_is_modifier(int)':
qlkey.h:35: `Key_Unknown' is not a member of type `Qt'

Maybe a typo? Changing to Key_unknown made it compile and bind.
(Following the definition of class QT in 
/usr/lib/qt3.0.3/include/qnamespace.h)

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPY42nLewfbDGmeqhAQHNFAQAnhKURwYySV8PYUDK5r37ZjEp/PAmPVd0
lo7dlpZT+/nRrRBmQnLelJFb9d3wNXG1lw4aHETPoWHG4FMtNBVl/T/8ZaKM5KAb
cILTfxxNgq+VpkHwgRRwOjFq/mbycOJkPzwMaPxNP+x0lMlsYhnptaxE+JgY+Xow
/aQ1rk1ct/s=
=TwCB
-END PGP SIGNATURE-




Re: compile-error: Unknown Qt::Key_Unknown

2002-09-22 Thread John Levon

On Sun, Sep 22, 2002 at 11:31:02PM +0200, Kornel Benko wrote:

 Maybe a typo? Changing to Key_unknown made it compile and bind.
   (Following the definition of class QT in 
/usr/lib/qt3.0.3/include/qnamespace.h)

I already committed the fix to the typo ...

regards
john

-- 
Say what you mean or you won't mean a thing to me.
- Embrace



compile-error: Unknown Qt::Key_Unknown

2002-09-22 Thread Kornel Benko

-BEGIN PGP SIGNED MESSAGE-


Compiling lyx1.3 --with-frontend=qt yields to

g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -I../../../src/ -I../../../src/fronte
nds/ -I../../../images -I./qt2 -I/usr/lib/qt3/include -I../../../boost -I../../.
./src/frontends/controllers -isystem /usr/X11R6/include -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -g -O -Wno-non-template-friend
-W -Wall -c QLyXKeySym.C -Wp,-MD,.deps/QLyXKeySym.TPlo
In file included from QLyXKeySym.C:17:
qlkey.h: In function `bool q_is_modifier(int)':
qlkey.h:35: `Key_Unknown' is not a member of type `Qt'

Maybe a typo? Changing to "Key_unknown" made it compile and bind.
(Following the definition of class QT in 
"/usr/lib/qt3.0.3/include/qnamespace.h")

Kornel
- -- 
Kornel Benko
[EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPY42nLewfbDGmeqhAQHNFAQAnhKURwYySV8PYUDK5r37ZjEp/PAmPVd0
lo7dlpZT+/nRrRBmQnLelJFb9d3wNXG1lw4aHETPoWHG4FMtNBVl/T/8ZaKM5KAb
cILTfxxNgq+VpkHwgRRwOjFq/mbycOJkPzwMaPxNP+x0lMlsYhnptaxE+JgY+Xow
/aQ1rk1ct/s=
=TwCB
-END PGP SIGNATURE-




Re: compile-error: Unknown Qt::Key_Unknown

2002-09-22 Thread John Levon

On Sun, Sep 22, 2002 at 11:31:02PM +0200, Kornel Benko wrote:

> Maybe a typo? Changing to "Key_unknown" made it compile and bind.
>   (Following the definition of class QT in 
>"/usr/lib/qt3.0.3/include/qnamespace.h")

I already committed the fix to the typo ...

regards
john

-- 
"Say what you mean or you won't mean a thing to me."
- Embrace