octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compilation failure in GUI


From: Jacob Dawid
Subject: Re: Compilation failure in GUI
Date: Mon, 2 Jul 2012 10:03:26 +0200

Michael,

> It seems the latest change you made for the debug markers in the editor does
> not compile on my F16 box. It stops at m-editor/file-editor-tab.cc, because
> QsciScintilla::markerDefine() accepts a QPixmap, not a QImage, and there's
> no automatic conversion. I'm using Qt-4.8.2 and qscintilla-2.5.1.
>
> Using QPixmap instead of QImage solves the problem.

it does accept it. From qsciscintilla.h (2.6.2):

    //! Define a marker using a copy of the image \a im with the marker number
    //! \a markerNumber.  If \a markerNumber is -1 then the marker number is
    //! automatically allocated.  The marker number is returned or -1 if too
    //! many markers have been defined.
    int markerDefine(const QImage &im, int markerNumber = -1);

You are probably using an old version from QScintilla2:
http://www.riverbankcomputing.com/software/qscintilla/download

Jacob


reply via email to

[Prev in Thread] Current Thread [Next in Thread]