octave-maintainers
[Top][All Lists]
Advanced

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

Re: 'createStandardContextMenu' was not declared in this scope


From: Daniel J Sebald
Subject: Re: 'createStandardContextMenu' was not declared in this scope
Date: Sat, 08 Jun 2013 01:17:15 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111108 Fedora/3.1.16-1.fc14 Thunderbird/3.1.16

On 06/08/2013 12:40 AM, Ben Abbott wrote:
On Jun 8, 2013, at 1:12 PM, Ben Abbott wrote:

Torsten/all
[snip]
/src_libgui_src_la-file-editor.o
src/m-editor/octave-qscintilla.cc: In member function 'virtual void 
octave_qscintilla::contextMenuEvent(QContextMenuEvent*)':
src/m-editor/octave-qscintilla.cc:44:53: error: 'createStandardContextMenu' was 
not declared in this scope

I have qscintilla-2.4.6 and qt4-mac-4.8.4 installed.

Ben

After a bit of investigating, it appears that qscintilla 2.6.x is needed.

I must have installed qscintilla manually because I have 2.6.x, but my Fedora bundle from a year ago was running 2.4.x. I can't remember much about it so it must have been easy to install. We could condition the code on one of these definitions from the QScintilla headers:

qsciglobal.h:#define QSCINTILLA_VERSION      0x020602
qsciglobal.h:#define QSCINTILLA_VERSION_STR  "2.6.2"

or require 2.6.x or higher. Fedora, at least, is updating this package at a fairly quick pace:

Description
QScintilla is a port of Scintilla to the Qt GUI toolkit. This version of QScintilla is based on Scintilla v3.2.3.
Active Releases Overview
Release         Latest Released Version         Version in Testing
Rawhide         2.7.1-1.fc19    None
Fedora 19       2.7.1-1.fc19    None
Fedora 18       2.6.2-3.fc18    2.6.2-3.fc18 2 karma
Fedora 17       2.6.1-2.fc17    None
Fedora EPEL 6   2.4-1.el6       None

Dan


reply via email to

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