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\\"'