Xcode 8 fix for QScintilla2

This commit is contained in:
ilovezfs
2016-10-07 12:10:55 +01:00
committed by Justin Clift
parent 2bdd71a78b
commit 969e263e5b
2 changed files with 1 additions and 9 deletions

View File

@@ -22,10 +22,6 @@
#ifndef QSCISCINTILLA_H
#define QSCISCINTILLA_H
#ifdef __APPLE__
extern "C++" {
#endif
#include <QByteArray>
#include <QList>
#include <QObject>
@@ -2135,7 +2131,6 @@ private:
int ct_cursor;
QList<int> ct_shifts;
AutoCompletionUseSingle use_single;
QPointer<QsciLexer> lex;
QsciCommandSet *stdCmds;
QsciDocument doc;
QColor nl_text_colour;
@@ -2157,8 +2152,4 @@ private:
QsciScintilla &operator=(const QsciScintilla &);
};
#ifdef __APPLE__
}
#endif
#endif

View File

@@ -35,6 +35,7 @@
#include <QMenu>
#include <QPoint>
QPointer<QsciLexer> lex;
#include "Qsci/qsciabstractapis.h"
#include "Qsci/qscicommandset.h"
#include "Qsci/qscilexer.h"