diff options
Diffstat (limited to 'languages/cpp/app_templates/kmake')
-rw-r--r-- | languages/cpp/app_templates/kmake/Makefile.am | 16 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/app.cpp | 33 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/app.desktop | 44 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/app.kdevelop | 111 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/app.pro | 7 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/appui.rc | 3 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/kmake.kdevtemplate | 148 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/kmake.png | bin | 0 -> 5063 bytes | |||
-rw-r--r-- | languages/cpp/app_templates/kmake/mainview.ui | 76 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/mainviewimp.cpp | 23 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/mainviewimp.h | 19 | ||||
-rw-r--r-- | languages/cpp/app_templates/kmake/src.pro | 29 |
12 files changed, 509 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/kmake/Makefile.am b/languages/cpp/app_templates/kmake/Makefile.am new file mode 100644 index 00000000..87d660e0 --- /dev/null +++ b/languages/cpp/app_templates/kmake/Makefile.am @@ -0,0 +1,16 @@ +dataFiles = appui.rc app.desktop app.cpp mainviewimp.cpp mainviewimp.h mainview.ui app.kdevelop app.pro src.pro +templateName = kmake + +### no need to change below: +template_DATA = $(templateName).kdevtemplate +templatedir = ${appwizarddatadir}/templates + +appwizarddatadir = ${kde_datadir}/kdevappwizard +$(templateName).tar.gz: ${dataFiles} + $(TAR) -cf $(templateName).tar -C $(srcdir) ${dataFiles} + $(GZIP_COMMAND) -f9 $(templateName).tar + +archivedir = ${appwizarddatadir} +archive_DATA = $(templateName).tar.gz ${templateName}.png + +CLEANFILES = *.tar.gz diff --git a/languages/cpp/app_templates/kmake/app.cpp b/languages/cpp/app_templates/kmake/app.cpp new file mode 100644 index 00000000..8920b2f0 --- /dev/null +++ b/languages/cpp/app_templates/kmake/app.cpp @@ -0,0 +1,33 @@ + +#include <kapplication.h> +#include <kaboutdata.h> +#include <kcmdlineargs.h> +#include <klocale.h> +#include "mainviewimp.h" + +static const char description[] = I18N_NOOP("A KDE Application"); + +static const char version[] = "%{VERSION}"; + +static KCmdLineOptions options[] = + { + { "+[URL]", I18N_NOOP( "Document to open" ), 0 }, + KCmdLineLastOption + }; + + +int main(int argc, char **argv) +{ + KAboutData about("%{APPNAME}", I18N_NOOP("%{APPNAME}"), version, description, + KAboutData::License_%{LICENSE}, "(C) 2004 %{AUTHOR}", 0, 0, "%{EMAIL}"); + about.addAuthor( "%{AUTHOR}", 0, "%{EMAIL}" ); + KCmdLineArgs::init(argc, argv, &about); + KCmdLineArgs::addCmdLineOptions(options); + KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + KApplication app; + MainViewImp *widget = new MainViewImp; + app.setMainWidget(widget); + widget->show(); + return app.exec(); +} + diff --git a/languages/cpp/app_templates/kmake/app.desktop b/languages/cpp/app_templates/kmake/app.desktop new file mode 100644 index 00000000..7389904a --- /dev/null +++ b/languages/cpp/app_templates/kmake/app.desktop @@ -0,0 +1,44 @@ +[Desktop Entry] +Name=%{APPNAME} +Exec=%{APPNAMELC} %i -caption "%c" +Icon=%{APPNAMELC} +Type=Application +X-DocPath=%{APPNAMELC}/%{APPNAMELC}.html +Comment=A KDE KPart Application +Comment[br]=Ur meziant Kpart evit KDE +Comment[ca]=Una aplicació KPart per al KDE +Comment[cy]=Cymhwysiad KPart KDE +Comment[da]=Et KDE KPart-program +Comment[de]=Eine auf der Komponententechnik KPart basierende KDE-Anwendung +Comment[el]=Μια εφαρμογή KPart του KDE +Comment[es]=Una aplicación KPart de KDE +Comment[et]=KDE KPart rakendus +Comment[eu]=KDE KPart aplikazio bat +Comment[fa]=یک کاربرد KDE KPart +Comment[fr]=Une application KPart pour KDE +Comment[ga]=Feidhmchlár KPart KDE +Comment[gl]=Unha aplicación KPart de KDE +Comment[hi]=एक केडीई के-पार्ट अनुप्रयोग +Comment[hu]=KPart-alapú KDE-alkalmazás +Comment[is]=KDE KPart forrit +Comment[it]=Applicazione KPart di KDE +Comment[ja]=KDE KPart アプリケーション +Comment[lt]=KDE KPart programa +Comment[nds]=En KPart-Deelprogramm för KDE +Comment[ne]=एउटा केडीई KPart अनुप्रयोग +Comment[nl]=Een KDE KPart-toepassing +Comment[pl]=Osadzalny element KPart KDE +Comment[pt]=Uma Aplicação KPart do KDE +Comment[pt_BR]=Um Aplicativo KPart do KDE +Comment[ru]=Приложение KPart для KDE +Comment[sk]=KDE KPart aplikácia +Comment[sl]=Program KPart za KDE +Comment[sr]=KDE KPart програм +Comment[sr@Latn]=KDE KPart program +Comment[sv]=Ett KDE Kpart-program +Comment[ta]=கெடி கெபார்ட் பயன்பாடு +Comment[tg]=Ба кор андохтани KPart барои KDE +Comment[tr]=Bir KDE KPart Uygulaması +Comment[zh_CN]=一个 KDE KPart 应用程序 +Comment[zh_TW]=KDE KPart 應用程式 +Terminal=false diff --git a/languages/cpp/app_templates/kmake/app.kdevelop b/languages/cpp/app_templates/kmake/app.kdevelop new file mode 100644 index 00000000..aa290baa --- /dev/null +++ b/languages/cpp/app_templates/kmake/app.kdevelop @@ -0,0 +1,111 @@ +<?xml version="1.0"?> +<kdevelop> + <general> + <author>%{AUTHOR}</author> + <email>%{EMAIL}</email> + <version>%{VERSION}</version> + <projectmanagement>KDevTrollProject</projectmanagement> + <primarylanguage>C++</primarylanguage> + <keywords> + <keyword>Qt</keyword> + </keywords> + </general> + <kdevcppsupport> + <qt> + <version>3</version> + <used>true</used> + <includestyle>3</includestyle> + <designerintegration>EmbeddedKDevDesigner</designerintegration> + </qt> + </kdevcppsupport> + + <kdevfileview> + <groups> + <group pattern="*.cpp;*.cxx;*.h" name="Sources" /> + <group pattern="*.ui" name="User Interface" /> + <group pattern="*.png" name="Icons" /> + <group pattern="*" name="Others" /> + </groups> + <tree> + <hidenonprojectfiles>false</hidenonprojectfiles> + <hidepatterns>*.o,*.lo,CVS</hidepatterns> + </tree> + </kdevfileview> + <kdevdoctreeview> + <ignoretocs> + <toc>bash</toc> + <toc>bash_bugs</toc> + <toc>clanlib</toc> + <toc>fortran_bugs_gcc</toc> + <toc>gnome1</toc> + <toc>gnustep</toc> + <toc>gtk</toc> + <toc>gtk_bugs</toc> + <toc>haskell</toc> + <toc>haskell_bugs_ghc</toc> + <toc>java_bugs_gcc</toc> + <toc>java_bugs_sun</toc> + <toc>kde2book</toc> + <toc>opengl</toc> + <toc>pascal_bugs_fp</toc> + <toc>php</toc> + <toc>php_bugs</toc> + <toc>perl</toc> + <toc>perl_bugs</toc> + <toc>python</toc> + <toc>python_bugs</toc> + <toc>qt-kdev3</toc> + <toc>ruby</toc> + <toc>ruby_bugs</toc> + <toc>sdl</toc> + <toc>stl</toc> + <toc>sw</toc> + <toc>w3c-dom-level2-html</toc> + <toc>w3c-svg</toc> + <toc>w3c-uaag10</toc> + <toc>wxwidgets_bugs</toc> + </ignoretocs> + <ignoredoxygen> + <toc>KDE Libraries (Doxygen)</toc> + </ignoredoxygen> + </kdevdoctreeview> + <kdevdebugger> + <general> + <dbgshell/> + <breakpoints/> + <programargs></programargs> + <gdbpath>/usr/bin/</gdbpath> + <breakonloadinglibs>true</breakonloadinglibs> + <separatetty>false</separatetty> + <floatingtoolbar>false</floatingtoolbar> + </general> + <display> + <staticmembers>false</staticmembers> + <demanglenames>true</demanglenames> + </display> + <breakpoints/> + </kdevdebugger> + <kdevtrollproject> + <run> + <mainprogram>./bin/%{APPNAMELC}</mainprogram> + <programargs/> + </run> + </kdevtrollproject> + <workspace> + <openfiles/> + </workspace> + <kdevfilecreate> + <useglobaltypes> + <type ext="ui" /> + <type ext="cpp" /> + <type ext="h" /> + <type ext="ts" /> + </useglobaltypes> + </kdevfilecreate> + <kdevdocumentation> + <projectdoc> + <docsystem>Doxygen Documentation Collection</docsystem> + <docurl>%{APPNAMELC}.tag</docurl> + </projectdoc> + </kdevdocumentation> +</kdevelop> diff --git a/languages/cpp/app_templates/kmake/app.pro b/languages/cpp/app_templates/kmake/app.pro new file mode 100644 index 00000000..7dc1cc78 --- /dev/null +++ b/languages/cpp/app_templates/kmake/app.pro @@ -0,0 +1,7 @@ +# File generated by kdevelop's qmake manager. +# ------------------------------------------- +# Subdir relative project main directory: . +# Target is a subdirs project + +SUBDIRS += src +TEMPLATE=subdirs diff --git a/languages/cpp/app_templates/kmake/appui.rc b/languages/cpp/app_templates/kmake/appui.rc new file mode 100644 index 00000000..25884e61 --- /dev/null +++ b/languages/cpp/app_templates/kmake/appui.rc @@ -0,0 +1,3 @@ +<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> +<kpartgui name="%{APPNAMELC}" version="1"> +</kpartgui> diff --git a/languages/cpp/app_templates/kmake/kmake.kdevtemplate b/languages/cpp/app_templates/kmake/kmake.kdevtemplate new file mode 100644 index 00000000..3797d8e9 --- /dev/null +++ b/languages/cpp/app_templates/kmake/kmake.kdevtemplate @@ -0,0 +1,148 @@ +# KDE Config File +[General] +Name=QMake based KDE template +Name[ca]=Plantilla per al KDE basada en QMake +Name[da]=QMake baseret KDE-skabelon +Name[de]=Auf QMake basierende KDE-Vorlage +Name[el]=Πρότυπο KDE βασισμένο στο QMake +Name[es]=Plantilla para KDE basada en QMake +Name[et]=KDE mall QMake'i põhjal +Name[eu]=QMake-en oinarritutatko KDE txantiloia +Name[fa]=قالب KDE بر مبنای QMake +Name[fr]=Modèle KDE basé sur QMake +Name[ga]=Teimpléad KDE bunaithe ar QMake +Name[gl]=Modelo de KDE baseado en QMake +Name[hu]=QMake-alapú KDE-s sablon +Name[it]=Modello KDE basato su QMake +Name[ja]=QMake ベースの KDE テンプレート +Name[nds]=Op QMake opbuut KDE-Vörlaag +Name[ne]=QMake मा आधारित केडीई टेम्प्लेट +Name[nl]=Qmake-gebaseerde KDE-jabloon +Name[pl]=Oparty na QMake szablon dla KDE +Name[pt]=Modelo do KDE baseado no QMake +Name[pt_BR]=Modelo do KDE baseado no QMake +Name[ru]=Приложение KDE как проект QMake +Name[sk]=Šablóna KDE založená na QMake +Name[sr]=KDE шаблон на основи QMake-а +Name[sr@Latn]=KDE šablon na osnovi QMake-a +Name[sv]=QMake-baserad KDE-mall +Name[tr]=QMake tabanlı KDE şablonu +Name[zh_CN]=基于 QMake 的 KDE 模板 +Name[zh_TW]=QMake 為基礎的 KDE 樣本 +Icon=kmake.png +Category=C++/QMake project +Comment=Generates a simple KDE application using QMake based project manager +Comment[ca]=Genera una simple aplicació per al KDE usant un gestor de projectes basat en QMake +Comment[da]=Genererer et simpelt KDE program ved brug af QMake baseret projekthåndtering +Comment[de]=Erstellt eine einfache KDE-Anwendung unter Verwendung der QMake-Projektverwaltung +Comment[el]=Δημιουργεί μια απλή εφαρμογή KDE χρησιμοποιώντας το διαχειριστή έργου βασισμένο στο QMake +Comment[es]=Genera una sencilla aplicación para KDE que usa un gestor de proyecto basado en QMake +Comment[et]=Lihtsa KDE rakenduse loomine projektihalduriga QMake'i põhjal +Comment[eu]=KDE aplikazio sinple bat sortzen du QMake-en oinarritutako proiektu-kudeatzailea erabiliz +Comment[fa]=یک کاربرد سادۀ KDE، با استفاده از مدیر پروژۀ بر مبنای QMake تولید میکند +Comment[fr]=Génère une application KDE simple utilisant un gestionnaire de projet basé sur QMake +Comment[gl]=Xera unha aplicación KDE sinxela usando un xestor de proxectos baseado en QMake +Comment[hu]=Létrehoz egy egyszerű KDE-s alkalmazást Qmake-alapú projektkezelővel +Comment[it]=Genera una semplice applicazione KDE che usa QMake basata sul gestore di progetto +Comment[ja]=QMake ベースのプロジェクトマネージャを使って 簡単な KDE アプリケーションを作成します +Comment[nds]=Stellt mit den op QMake opbuut Projektpleger en eenfach KDE-Programm op +Comment[ne]=QMake आधारित परियोजना प्रबन्धक प्रयोग गरेर एउटा साधारण केडीई अनुप्रयोग उत्पन्न गर्दछ +Comment[nl]=Genereert een eenvoudige KDE-toepassing met behulp van Qmake-gebaseerde projectmanager +Comment[pl]=Generuje prosty program KDE używający menedżera projektów QMake +Comment[pt]=Gera uma aplicação simples do KDE, usando o QMake como gestor de projectos +Comment[pt_BR]=Gera uma aplicação simples do KDE, usando o QMake como gestor de projectos +Comment[ru]=Создание простого приложения KDE как проекта QMake +Comment[sk]=Vygeneruje jednoduchú KDE aplikáciu založenú na QMake projektovom manažéri +Comment[sr]=Прави једноставан KDE програм помоћу менаџера пројекта на основи QMake-а +Comment[sr@Latn]=Pravi jednostavan KDE program pomoću menadžera projekta na osnovi QMake-a +Comment[sv]=Skapar ett enkelt KDE-program baserat på QMake projekthantering +Comment[tr]=QMake tabanlı proje yöneticisini kullanarak basit bir KDE uygulaması yaratır. +Comment[zh_CN]=使用基于 QMake的工程管理器生成一个简单的 KDE 应用程序 +Comment[zh_TW]=產生一個使用 QMake 專案管理員的簡單 KDE 應用程式 +FileTemplates=h,CStyle,cpp,CStyle +ShowFilesAfterGeneration=%{dest}/src/%{APPNAMELC}.cpp +Archive=kmake.tar.gz + +[FILE1] +Type=install +EscapeXML=true +Source=%{src}/app.kdevelop +Dest=%{dest}/%{APPNAMELC}.kdevelop + +[FILE2] +Type=install +Source=%{src}/app.pro +Dest=%{dest}/%{APPNAMELC}.pro + +[MkDir1] +Type=mkdir +Dir=%{dest}/src + +[FILE3] +Type=install +Source=%{src}/src.pro +Dest=%{dest}/src/src.pro + +[FILE4] +Type=install +Source=%{src}/app.cpp +Dest=%{dest}/src/%{APPNAMELC}.cpp + +[FILE5] +Type=install +Source=%{src}/mainviewimp.cpp +Dest=%{dest}/src/mainviewimp.cpp + +[FILE7] +Type=install +Source=%{src}/mainviewimp.h +Dest=%{dest}/src/mainviewimp.h + +[FILE8] +Type=install +EscapeXML=true +Source=%{src}/mainview.ui +Dest=%{dest}/src/mainview.ui + +[FILE9] +Type=install +EscapeXML=true +Source=%{src}/appui.rc +Dest=%{dest}/src/%{APPNAMELC}.rc + +[FILE10] +Type=install +Source=%{src}/app.desktop +Dest=%{dest}/src/%{APPNAMELC}.desktop + +[MSG] +Type=message +Comment=A Qmake based KDE application was created in %{dest} +Comment[ca]=Una aplicació per al KDE basada en QMake ha estat creada en %{dest} +Comment[da]=Et Qmake baseret KDE program blev oprettet i %{dest} +Comment[de]=Eine auf Qmake basierende KDE-Anwendung wurde in %{dest} erstellt. +Comment[el]=Μια εφαρμογή KDE βασισμένη στο Qmake δημιουργήθηκε στο %{dest} +Comment[es]=Una aplicación para KDE basada en QMake ha sido creada en %{dest} +Comment[et]=KDE rakendus QMake'i põhjal loodi asukohta %{dest} +Comment[eu]=Qmake-en oinarritutako KDE aplikazio bat sortu da hemen: %{dest} +Comment[fa]=یک کاربرد KDE بر مبنای Qmake در %{dest} ایجاد شد +Comment[fr]=Une application KDE basée sur QMake a été créée dans %{dest} +Comment[ga]=Cruthaíodh feidhmchlár KDE bunaithe ar Qmake i %{dest} +Comment[gl]=Creouse unha aplicación KDE baseada en QMake en %{dest} +Comment[hu]=Létrejött egy Qmake-alapú KDE-s alkalmazás itt: %{dest} +Comment[it]=È stata creata una semplice applicazione KDE basata su Qmake in %{dest} +Comment[ja]=QMake ベースの KDE アプリケーションを %{dest} に作成しました +Comment[nds]=In %{dest} wöör en op QMake opbuut KDE-Programm opstellt +Comment[ne]=Qmake आधारित केडीई अनुप्रयोग %{dest} मा सिर्जना गरियो +Comment[nl]=Een Qmake-gebaseerde KDE-toepassing is aangemaakt in %{dest} +Comment[pl]=Program KDE oparty na QMake został utworzony w %{dest} +Comment[pt]=Foi criada uma aplicação do KDE baseada no Qmake em %{dest} +Comment[pt_BR]=Foi criada uma aplicação do KDE baseada no Qmake em %{dest} +Comment[ru]=Приложение KDE как проект QMake создано в %{dest} +Comment[sk]=KDE aplikácia založená na QMake bola vytvorená v %{dest} +Comment[sr]=KDE програм на основу QMake-а направљен је у %{dest} +Comment[sr@Latn]=KDE program na osnovu QMake-a napravljen je u %{dest} +Comment[sv]=Ett Qmake-baserat KDE-program skapades i %{dest} +Comment[tr]=Bir QMake tabanlı KDE uygulaması %{dest} içinde yaratıldı. +Comment[zh_CN]=在 %{dest} 中创建了基于 QMake 的 KDE 应用程序 +Comment[zh_TW]=一個以 Qmake 為基礎的 KDE 應用程式已建立於 %{dest} diff --git a/languages/cpp/app_templates/kmake/kmake.png b/languages/cpp/app_templates/kmake/kmake.png Binary files differnew file mode 100644 index 00000000..913ebb87 --- /dev/null +++ b/languages/cpp/app_templates/kmake/kmake.png diff --git a/languages/cpp/app_templates/kmake/mainview.ui b/languages/cpp/app_templates/kmake/mainview.ui new file mode 100644 index 00000000..fea02def --- /dev/null +++ b/languages/cpp/app_templates/kmake/mainview.ui @@ -0,0 +1,76 @@ +<!DOCTYPE UI><UI version="3.2" stdsetdef="1"> +<class>MainView</class> +<widget class="QWidget"> + <property name="name"> + <cstring>Form1</cstring> + </property> + <property name="geometry"> + <rect> + <x>0</x> + <y>0</y> + <width>124</width> + <height>90</height> + </rect> + </property> + <vbox> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QGroupBox"> + <property name="name"> + <cstring>groupBox1</cstring> + </property> + <property name="sizePolicy"> + <sizepolicy> + <hsizetype>5</hsizetype> + <vsizetype>5</vsizetype> + <horstretch>0</horstretch> + <verstretch>1</verstretch> + </sizepolicy> + </property> + <property name="title"> + <string>Output</string> + </property> + <grid> + <property name="name"> + <cstring>unnamed</cstring> + </property> + <widget class="QLabel" row="0" column="0"> + <property name="name"> + <cstring>helloLabel</cstring> + </property> + <property name="text"> + <string></string> + </property> + <property name="scaledContents"> + <bool>true</bool> + </property> + <property name="alignment"> + <set>AlignCenter</set> + </property> + </widget> + </grid> + </widget> + <widget class="KPushButton"> + <property name="name"> + <cstring>helloButton</cstring> + </property> + <property name="text"> + <string>Hello</string> + </property> + </widget> + </vbox> +</widget> +<connections> + <connection> + <sender>helloButton</sender> + <signal>clicked()</signal> + <receiver>Form1</receiver> + <slot>slotHelloButtonClicked()</slot> + </connection> +</connections> +<slots> + <slot>slotHelloButtonClicked()</slot> +</slots> +<layoutdefaults spacing="6" margin="11"/> +</UI> diff --git a/languages/cpp/app_templates/kmake/mainviewimp.cpp b/languages/cpp/app_templates/kmake/mainviewimp.cpp new file mode 100644 index 00000000..68cb262a --- /dev/null +++ b/languages/cpp/app_templates/kmake/mainviewimp.cpp @@ -0,0 +1,23 @@ + +#include "mainviewimp.h" +#include <qlabel.h> +#include <klocale.h> + +MainViewImp::MainViewImp(QWidget* parent, const char* name, WFlags fl) +: MainView(parent,name,fl) +{ +} + +MainViewImp::~MainViewImp() +{ +} + +void MainViewImp::slotHelloButtonClicked() +{ + helloLabel->setText(i18n("Hello there.")); +} + + + + + diff --git a/languages/cpp/app_templates/kmake/mainviewimp.h b/languages/cpp/app_templates/kmake/mainviewimp.h new file mode 100644 index 00000000..51af1957 --- /dev/null +++ b/languages/cpp/app_templates/kmake/mainviewimp.h @@ -0,0 +1,19 @@ +#ifndef MAINVIEWIMP_H +#define MAINVIEWIMP_H + +#include "mainview.h" + +class MainViewImp : public MainView +{ + Q_OBJECT + +public: + MainViewImp(QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); + ~MainViewImp(); + +public slots: + virtual void slotHelloButtonClicked(); +}; + +#endif + 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 |