blob: 10d62e04401f280a91a138d8edc71d8ea0ffdaa1 (
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
|
--- qscite.pro.old 2011-03-22 15:20:40.000000000 +0300
+++ qscite.pro 2013-09-17 02:36:51.998947959 +0400
@@ -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.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
+ INCLUDEPATH += QScintilla2/Qt4Qt5
LIBS += build/libqscintilla2.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\\"'
|