author | zecke <zecke> | 2004-11-15 15:11:51 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-11-15 15:11:51 (UTC) |
commit | 3b935c93d5576e6590ed89c75066983124e2c628 (patch) (side-by-side diff) | |
tree | b3592abd50a89e4abf50e7529c8bc0a81787acdb | |
parent | 74febba2749d3a8eefc13c1f46a0f7f5fc095d5a (diff) | |
download | opie-3b935c93d5576e6590ed89c75066983124e2c628.zip opie-3b935c93d5576e6590ed89c75066983124e2c628.tar.gz opie-3b935c93d5576e6590ed89c75066983124e2c628.tar.bz2 |
Define QUICKAPP_NAME on quicklaunchanble applications. This way .pro and
the mainwindow are always in sync with each other
-rw-r--r-- | include.pro | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include.pro b/include.pro index 0dc941b..ffdba16 100644 --- a/include.pro +++ b/include.pro @@ -8,8 +8,10 @@ contains( CONFIG, quick-app-lib ) { TEMPLATE = 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 ) system( ln -sf $$QUICKLAUNCH_PATH $$(OPIEDIR)/bin/$$TARGET ) @@ -19,8 +21,9 @@ contains( CONFIG, quick-app-lib ) { 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 ) } |