File: scintilla.pri

package info (click to toggle)
openscad 2015.03-2%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 30,804 kB
  • ctags: 5,692
  • sloc: cpp: 39,386; sh: 3,856; ansic: 3,674; python: 1,393; yacc: 496; lex: 272; lisp: 159; makefile: 67; xml: 60
file content (26 lines) | stat: -rw-r--r-- 767 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
scintilla {
  HEADERS += src/scintillaeditor.h src/scadlexer.h
  SOURCES += src/scintillaeditor.cpp src/scadlexer.cpp

  DEFINES += USE_SCINTILLA_EDITOR

  # The qscintilla2.prf which ships with QScintilla is broken for Mac/Windows
  # debug builds, so we supply our own
  win32|macx: {
    include(qscintilla2.prf)
  }
  else: {
    load(qscintilla2) {
      # All good, found installed *.prf file.
    } else {
      # Older scintilla libs (e.g. 2.7.2 on fedora20) do not provide the
      # prf file.
      #
      # In addition Ubuntu (and maybe other distributions) have the Qt5
      # prf file in the wrong location so it's not picked up by qmake
      #
      message("Using local copy of qscintilla2.prf instead.")
      include(qscintilla2.prf)
    }
  }
}