summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kmake/src.pro
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/kmake/src.pro')
-rw-r--r--languages/cpp/app_templates/kmake/src.pro29
1 files changed, 29 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kmake/src.pro b/languages/cpp/app_templates/kmake/src.pro
new file mode 100644
index 00000000..a27a6b13
--- /dev/null
+++ b/languages/cpp/app_templates/kmake/src.pro
@@ -0,0 +1,29 @@
+# File generated by kdevelop's qmake manager.
+# -------------------------------------------
+# Subdir relative project main directory: ./src
+# Target is an application: ../bin/%{APPNAMELC}
+KDELIB=$$system(kde-config --expandvars --install lib)
+KDEBIN=$$system(kde-config --expandvars --install exe)
+KDEAPPS=$$system(kde-config --expandvars --install apps)
+KDEPREFIX=$$system(kde-config --prefix)
+KDEINCLUDE=$$KDEPREFIX/include/kde $$KDEPREFIX/include
+
+TEMPLATE = app
+
+INSTALLS += %{APPNAMELC}_rc \
+ %{APPNAMELC}_desktop \
+ target
+target.path = $$KDEBIN
+%{APPNAMELC}_desktop.files += *.desktop
+%{APPNAMELC}_desktop.path = $$KDEAPPS/Utils
+%{APPNAMELC}_rc.files += *.rc
+%{APPNAMELC}_rc.path = $$KDEAPPDATA/%{APPNAMELC}
+FORMS += mainview.ui
+HEADERS += mainviewimp.h
+SOURCES += %{APPNAMELC}.cpp mainviewimp.cpp
+LIBS += -lkdeui -lkdecore
+INCLUDEPATH = $$KDEINCLUDE
+QMAKE_LIBDIR = $$KDELIB
+TARGET = %{APPNAMELC}
+DESTDIR = ../bin
+CONFIG += release warn_on