[QScintilla] ANN: QScintilla v2.6 Released
Phil Thompson
phil at riverbankcomputing.com
Sat Dec 3 11:25:44 GMT 2011
On Sat, 3 Dec 2011 02:55:56 +0100, "Hans-Peter Jansen" <hpj at urpla.net>
wrote:
> Hi Phil,
>
> On Friday 11 November 2011, 14:44:13 Phil Thompson wrote:
>> QScintilla v2.6 has been released. It is based on Scintilla v2.29 and
>> includes support for all new features included in that.
>
> Looks, like the latest release broke Qt3 compatibility:
That doesn't surprise me.
> + export QTDIR=/usr/lib/qt3
> + QTDIR=/usr/lib/qt3
> + export QTDIR_LIB=/usr/lib/qt3/lib
> + QTDIR_LIB=/usr/lib/qt3/lib
> + export
>
PATH=/usr/lib/qt3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin
> :.:/usr/lib/qt3/bin
> +
>
PATH=/usr/lib/qt3/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/usr/lib/mit/bin:/usr/lib/mit/sbin:.:/usr
> /lib/qt3/bin
> + pushd Qt3
> /usr/src/packages/BUILD/QScintilla-gpl-2.6/Qt3
> /usr/src/packages/BUILD/QScintilla-gpl-2.6
> + qmake qscintilla.pro
> + make -j8
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qsciscintilla.o
> qsciscintilla.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qsciscintillaba
> se.o qsciscintillabase.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qsciabstractapi
> s.o qsciabstractapis.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qsciapis.o qsci
> apis.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscicommand.o q
> scicommand.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscicommandset.
> o qscicommandset.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscidocument.o
> qscidocument.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscilexer.o qsc
> ilexer.cpp
> qsciscintilla.cpp:37:19: error: qmenu.h: No such file or directory
> qsciscintilla.cpp: In member function 'int
> QsciScintilla::markerDefine(const QImage&, int)':
> qsciscintilla.cpp:2762: error: invalid use of incomplete type 'const
> struct QImage'
> /usr/lib/qt3/include/qwindowdefs.h:77: error: forward declaration of
> 'const struct QImage'
> qsciscintilla.cpp:2763: error: invalid use of incomplete type 'const
> struct QImage'
> /usr/lib/qt3/include/qwindowdefs.h:77: error: forward declaration of
> 'const struct QImage'
> qsciscintilla.cpp: In member function 'void
> QsciScintilla::registerImage(int, const QImage&)':
> qsciscintilla.cpp:3562: error: invalid use of incomplete type 'const
> struct QImage'
> /usr/lib/qt3/include/qwindowdefs.h:77: error: forward declaration of
> 'const struct QImage'
> qsciscintilla.cpp:3563: error: invalid use of incomplete type 'const
> struct QImage'
> /usr/lib/qt3/include/qwindowdefs.h:77: error: forward declaration of
> 'const struct QImage'
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscilexerbash.o
> qscilexerbash.cpp
> g++ -c -pipe -march=i586 -mtune=i686 -fmessage-length=0 -O2 -Wall
> -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables
> -fasynchronous-unwind-tables -g -fno-strict-aliasing -w -march=i586
> -mtune=i686 -fmessage-length=0 -O2 -Wall -D_FORTIFY_
> SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables
-g
> -fno-strict-aliasing -D_REENTRANT -fPIC -DQS
> CINTILLA_MAKE_DLL -DQT -DSCI_LEXER -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
> -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mksp
> ecs/default -I. -I. -I../include -I../lexlib -I../src
> -I../../../../../include -I/usr/lib/qt3/include -o qscilexerbatch.
> o qscilexerbatch.cpp
> make: *** [qsciscintilla.o] Error 1
> make: *** Waiting for unfinished jobs....
> qscicommandset.cpp: In member function 'QsciCommand*
> QsciCommandSet::boundTo(int) const':
> qscicommandset.cpp:973: error: passing 'const QPtrList<QsciCommand>' as
> 'this' argument of 'type* QPtrList<type>::at(uin
> t) [with type = QsciCommand]' discards qualifiers
> qscicommandset.cpp: In member function 'QsciCommand*
> QsciCommandSet::find(QsciCommand::Command) const':
> qscicommandset.cpp:988: error: passing 'const QPtrList<QsciCommand>' as
> 'this' argument of 'type* QPtrList<type>::at(uin
> t) [with type = QsciCommand]' discards qualifiers
> make: *** [qscicommandset.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.49540 (%build)
>
> Is that to be expected? IOW, should I remove the build attempts against
> Qt3?
I will probably fix it but add a warning that v2.6 will be the last
version that supports Qt3.
Phil
More information about the QScintilla
mailing list