diff options
Diffstat (limited to 'languages/cpp/app_templates/kscons_kxt/SConscript-src')
-rw-r--r-- | languages/cpp/app_templates/kscons_kxt/SConscript-src | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/languages/cpp/app_templates/kscons_kxt/SConscript-src b/languages/cpp/app_templates/kscons_kxt/SConscript-src index d16564cf..a60cb116 100644 --- a/languages/cpp/app_templates/kscons_kxt/SConscript-src +++ b/languages/cpp/app_templates/kscons_kxt/SConscript-src @@ -25,48 +25,48 @@ prefs-base.ui """ # Our main program -# KDEprogram add the file to the install targets automatically, -# so you do not need to write myenv.KDEinstall( env['KDEBIN'], %{APPNAMELC}) -myenv.KDEprogram( "%{APPNAMELC}", %{APPNAMELC}_sources ) +# TDEprogram add the file to the install targets automatically, +# so you do not need to write myenv.TDEinstall( env['TDEBIN'], %{APPNAMELC}) +myenv.TDEprogram( "%{APPNAMELC}", %{APPNAMELC}_sources ) ############################ ## Customization ## Additional include paths for compiling the source files ## Always add '../' (top-level directory) because moc makes code that needs it -myenv.KDEaddpaths_includes( "./ ../" ) +myenv.TDEaddpaths_includes( "./ ../" ) ## Necessary libraries to link against -myenv.KDEaddlibs( "qt-mt kio tdecore tdeprint" ) +myenv.TDEaddlibs( "qt-mt kio tdecore tdeprint" ) ## This shows how to add other link flags to the program -# myenv.KDEaddflags_link('-export-dynamic') +# myenv.TDEaddflags_link('-export-dynamic') ## If you are using QThread, add this line -# myenv.KDEaddflags_link( '-DQT_THREAD_SUPPORT' ) +# myenv.TDEaddflags_link( '-DQT_THREAD_SUPPORT' ) ############################# ## Installation ## NOTE 1: The program is installed automatically -## NOTE 2: KDEinstall( resource_type, subdirectory, list_of_files ) +## NOTE 2: TDEinstall( resource_type, subdirectory, list_of_files ) ## The ui.rc file and the tips go into datadir/appname/ -myenv.KDEinstall( 'KDEDATA', '/%{APPNAMELC}', '%{APPNAMELC}ui.rc' ) -myenv.KDEinstall( 'KDEDATA', '/%{APPNAMELC}', 'tips' ) +myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}', '%{APPNAMELC}ui.rc' ) +myenv.TDEinstall( 'TDEDATA', '/%{APPNAMELC}', 'tips' ) ## The kcfg file is installed in a global kcfg directory -myenv.KDEinstall( 'KDEKCFG', '', '%{APPNAMELC}.kcfg' ) +myenv.TDEinstall( 'TDEKCFG', '', '%{APPNAMELC}.kcfg' ) ## Warning : there is a difference between the normal destop file used for the menu ## and the servicetype desktop file, so they go in different directories -myenv.KDEinstall( 'KDEMENU', 'Utilities/', '%{APPNAMELC}.desktop' ) +myenv.TDEinstall( 'TDEMENU', 'Utilities/', '%{APPNAMELC}.desktop' ) ## Use this when you need to install a mimetype file -#myenv.KDEinstall( 'KDEMIME', 'application', 'x-%{APPNAMELC}.desktop' ) +#myenv.TDEinstall( 'TDEMIME', 'application', 'x-%{APPNAMELC}.desktop' ) ## Installing icons is easy (hi-16-app-%{APPNAMELC}.png, hi-22-app-%{APPNAMELC}.png) -#myenv.KDEicon() +#myenv.TDEicon() ## do not forget that this is a python script so even loops are allowed... :) |