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