From 3b935c93d5576e6590ed89c75066983124e2c628 Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 15 Nov 2004 15:11:51 +0000 Subject: Define QUICKAPP_NAME on quicklaunchanble applications. This way .pro and the mainwindow are always in sync with each other --- diff --git a/include.pro b/include.pro index 0dc941b..ffdba16 100644 --- a/include.pro +++ b/include.pro @@ -9,6 +9,8 @@ contains( CONFIG, quick-app-lib ) { CONFIG += plugin # "plugin" will be removed automatically later if not MacOSX ! (eilers) DESTDIR = $(OPIEDIR)/plugins/application DEFINES += OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" + !contains( TARGET, launcher ) { message( Linking $$TARGET to quicklauncher ) system( rm -f $$(OPIEDIR)/bin/$$TARGET ) @@ -20,6 +22,7 @@ contains ( CONFIG, quick-app-bin ) { TEMPLATE = app DESTDIR = $(OPIEDIR)/bin DEFINES -= OPIE_APP_INTERFACE + DEFINES += QUICKAPP_NAME="\"$${TARGET}\"" message( Touching plugins/application/lib$${TARGET}.so.0 ) system( touch $$(OPIEDIR)/plugins/application/lib$${TARGET}.so.0 ) } -- cgit v0.9.0.2