blob: 21cb3b8c3fb3b08a3c590f79ce77ac4108b39b0b (
plain)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
diff -ruN qscite-orig/qscite.pro qscite/qscite.pro
--- qscite-orig/qscite.pro 2017-05-15 12:41:47.254988860 +0300
+++ qscite/qscite.pro 2017-05-15 12:43:45.165172448 +0300
@@ -13,14 +13,14 @@
}
unix {
- qsci_project.target = QScintilla2/Qt4/qscintilla.pro
+ qsci_project.target = QScintilla2/Qt4Qt5/qscintilla.pro
qsci_project.commands = ./get_qsci.sh
qsci_lib.target = $$OBJECTS_DIR/libqscintilla2.a
- qsci_lib.commands = cd QScintilla2/Qt4 &&
+ qsci_lib.commands = cd QScintilla2/Qt4Qt5 &&
qsci_lib.commands += $(QMAKE) -after \"CONFIG += static\" qscintilla.pro &&
qsci_lib.commands += $(MAKE) &&
- qsci_lib.commands += cd ../.. && cp QScintilla2/Qt4/libqscintilla2.a $(OBJECTS_DIR)
+ qsci_lib.commands += cd ../.. && cp QScintilla2/Qt4Qt5/libqscintilla2_qt4.a $(OBJECTS_DIR)
qsci_lib.depends = qsci_project
QMAKE_EXTRA_TARGETS += qsci_project qsci_lib
@@ -68,11 +68,16 @@
unix {
HEADERS += qterminal_pty.h
SOURCES += qterminal_pty.cpp
- INCLUDEPATH += QScintilla2/Qt4
- LIBS += build/libqscintilla2.a
+ INCLUDEPATH += QScintilla2/Qt4Qt5
+ LIBS += build/libqscintilla2_qt4.a
!macx {
LIBS += -lutil
DEFINES += QSCITE_MONO_FAMILY='\\"Monospace\\"'
+ TARGET = qscite
+ target.path = $$PREFIX/bin/
+ desktopfile.files = qscite.desktop
+ desktopfile.path = $$PREFIX/share/applications/
+ INSTALLS += target desktopfile
} else {
TARGET = QSciTE
DEFINES += QSCITE_MONO_FAMILY='\\"Monaco\\"'
|