From 60598ea23e9fec7b4320985aad848c5ffee033c2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 13 Jul 2023 21:45:56 +0900 Subject: Removed Qt4 specific code and template files Signed-off-by: Michele Calgaro --- .../cpp/app_templates/qt4hello/CMakeLists.txt | 34 ------- languages/cpp/app_templates/qt4hello/Makefile.am | 18 ---- languages/cpp/app_templates/qt4hello/ReadMe | 11 -- languages/cpp/app_templates/qt4hello/main.cpp | 11 -- .../cpp/app_templates/qt4hello/qt4hello.kdevelop | 113 --------------------- .../app_templates/qt4hello/qt4hello.kdevtemplate | 59 ----------- languages/cpp/app_templates/qt4hello/qt4hello.png | Bin 24614 -> 0 bytes languages/cpp/app_templates/qt4hello/qt4hello.pro | 5 - languages/cpp/app_templates/qt4hello/src.pro | 8 -- 9 files changed, 259 deletions(-) delete mode 100644 languages/cpp/app_templates/qt4hello/CMakeLists.txt delete mode 100644 languages/cpp/app_templates/qt4hello/Makefile.am delete mode 100644 languages/cpp/app_templates/qt4hello/ReadMe delete mode 100644 languages/cpp/app_templates/qt4hello/main.cpp delete mode 100644 languages/cpp/app_templates/qt4hello/qt4hello.kdevelop delete mode 100644 languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate delete mode 100644 languages/cpp/app_templates/qt4hello/qt4hello.png delete mode 100644 languages/cpp/app_templates/qt4hello/qt4hello.pro delete mode 100644 languages/cpp/app_templates/qt4hello/src.pro (limited to 'languages/cpp/app_templates/qt4hello') diff --git a/languages/cpp/app_templates/qt4hello/CMakeLists.txt b/languages/cpp/app_templates/qt4hello/CMakeLists.txt deleted file mode 100644 index 47a77b8b..00000000 --- a/languages/cpp/app_templates/qt4hello/CMakeLists.txt +++ /dev/null @@ -1,34 +0,0 @@ -################################################# -# -# (C) 2010-2011 Serghei Amelian -# serghei (DOT) amelian (AT) gmail.com -# -# Improvements and feedback are welcome -# -# This file is released under GPL >= 2 -# -################################################# - -set( _tarball_content - main.cpp qt4hello.png qt4hello.kdevelop qt4hello.pro - src.pro ReadMe -) -list( SORT _tarball_content ) - -tde_create_tarball( - TARGET qt4hello.tar.gz - FILES ${_tarball_content} -) - - -install( FILES - ${CMAKE_CURRENT_BINARY_DIR}/qt4hello.tar.gz qt4hello.png - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard ) - - -tde_create_translated_desktop( - SOURCE qt4hello.kdevtemplate - DESTINATION ${DATA_INSTALL_DIR}/kdevappwizard/templates - KEYWORDS Category - PO_DIR tdevelop-desktops -) diff --git a/languages/cpp/app_templates/qt4hello/Makefile.am b/languages/cpp/app_templates/qt4hello/Makefile.am deleted file mode 100644 index b285f781..00000000 --- a/languages/cpp/app_templates/qt4hello/Makefile.am +++ /dev/null @@ -1,18 +0,0 @@ -dataFiles = main.cpp qt4hello.png qt4hello.kdevelop \ - qt4hello.pro src.pro ReadMe - -templateName = qt4hello - -### 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/qt4hello/ReadMe b/languages/cpp/app_templates/qt4hello/ReadMe deleted file mode 100644 index 87d23f71..00000000 --- a/languages/cpp/app_templates/qt4hello/ReadMe +++ /dev/null @@ -1,11 +0,0 @@ -READ THIS IN ORDER TO COMPILE THE Qt4 TEMPLATE ----------------------------------------------- - -Before compiling, check the Qt Options, go to -Project->Project Options->C++ Support and open the Qt Options tab. - -Check that the Qt installation directory is correct for the Qt version you've chosen. - ------------------- -Andreas Pakulat -July 2006 diff --git a/languages/cpp/app_templates/qt4hello/main.cpp b/languages/cpp/app_templates/qt4hello/main.cpp deleted file mode 100644 index 905f35fb..00000000 --- a/languages/cpp/app_templates/qt4hello/main.cpp +++ /dev/null @@ -1,11 +0,0 @@ -%{CPP_TEMPLATE} - -#include - -int main(int argc, char *argv[]) -{ - TQCoreApplication app(argc, argv); - tqDebug("Hello from TQt 4!"); - return 0; -} - diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop b/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop deleted file mode 100644 index 74dee1ae..00000000 --- a/languages/cpp/app_templates/qt4hello/qt4hello.kdevelop +++ /dev/null @@ -1,113 +0,0 @@ - - - - %{AUTHOR} - %{EMAIL} - %{VERSION} - KDevTrollProject - C++ - - Qt - - - - - - - - - - - false - *.o,*.lo,CVS - - - - - true - 4 - 4 - ExternalDesigner - %{QMAKE} - %{DESIGNER} - - - - - bash - bash_bugs - clanlib - fortran_bugs_gcc - gnome1 - gnustep - gtk - gtk_bugs - haskell - haskell_bugs_ghc - java_bugs_gcc - java_bugs_sun - kde2book - opengl - pascal_bugs_fp - php - php_bugs - perl - perl_bugs - python - python_bugs - qt-kdev3 - ruby - ruby_bugs - sdl - stl - sw - w3c-dom-level2-html - w3c-svg - w3c-uaag10 - wxwidgets_bugs - - - TDE Libraries (Doxygen) - - - - - - - - /usr/bin/gdb - true - false - false - - - false - true - - - - - - ./bin/%{APPNAMELC} - - - - - - - - - - - - - - - - - - Doxygen Documentation Collection - %{APPNAMELC}.tag - - - diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate b/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate deleted file mode 100644 index eb76b3fd..00000000 --- a/languages/cpp/app_templates/qt4hello/qt4hello.kdevtemplate +++ /dev/null @@ -1,59 +0,0 @@ -# TDE Config File -[General] -Name=Basic Qt4 Application - -Comment=Generate a very simple QMake/Qt4 based application (crossplatform compatible) - Needs Qt4 - -Category=C++/QMake project - -Icon=qt4hello.png -FileTemplates=h,CStyle,cpp,CStyle -ShowFilesAfterGeneration=%{dest}/src/main.cpp,%{dest}/src/ReadMe -Archive=qt4hello.tar.gz - -[FILE1] -Type=install -Source=%{src}/qt4hello.kdevelop -Dest=%{dest}/%{APPNAMELC}.kdevelop - -[FILE2] -Type=install -Source=%{src}/qt4hello.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}/main.cpp -Dest=%{dest}/src/main.cpp - -[FILE5] -Type=install -Source=%{src}/ReadMe -Dest=%{dest}/src/ReadMe - -[MSG] -Type=message -Comment=A Qt4/Qmake based application was created in %{dest} - -[QMAKE] -Type=value -ValueType=QString -Value=QMAKE -Comment=Absolute Path for QMake (Qt4). -Default= - -[DESIGNER] -Type=value -ValueType=QString -Value=DESIGNER -Comment=Absolute Path for Designer (Qt4). -Default= diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.png b/languages/cpp/app_templates/qt4hello/qt4hello.png deleted file mode 100644 index b7c952b4..00000000 Binary files a/languages/cpp/app_templates/qt4hello/qt4hello.png and /dev/null differ diff --git a/languages/cpp/app_templates/qt4hello/qt4hello.pro b/languages/cpp/app_templates/qt4hello/qt4hello.pro deleted file mode 100644 index 7177d225..00000000 --- a/languages/cpp/app_templates/qt4hello/qt4hello.pro +++ /dev/null @@ -1,5 +0,0 @@ -SUBDIRS += src -TEMPLATE = subdirs -CONFIG += warn_on \ - qt \ - thread \ No newline at end of file diff --git a/languages/cpp/app_templates/qt4hello/src.pro b/languages/cpp/app_templates/qt4hello/src.pro deleted file mode 100644 index ae5bac37..00000000 --- a/languages/cpp/app_templates/qt4hello/src.pro +++ /dev/null @@ -1,8 +0,0 @@ -SOURCES += main.cpp -TEMPLATE = app -CONFIG += warn_on \ - thread \ - qt -TARGET = %{APPNAMELC} -DESTDIR = ../bin -QT -= gui -- cgit v1.2.3