Added on screen button in maemo and hardware zoom buttons
[mdictionary] / trunk / src / base / base.pro
index 590366f..1ef9a0a 100644 (file)
@@ -27,7 +27,8 @@ SOURCES += gui/main.cpp \
     gui/SettingsWidget.cpp \
     gui/BookmarksWidget.cpp \
     gui/WelcomeScreenWidget.cpp \ 
-    gui/AboutWidget.cpp
+    gui/AboutWidget.cpp \
+    gui/TranslationTextEdit.cpp
 
 HEADERS  += gui/MainWindow.h \
     gui/AboutWidget.h \
@@ -51,41 +52,12 @@ HEADERS  += gui/MainWindow.h \
     backbone/BookmarkTranslations.h \
     gui/SettingsWidget.h \
     gui/BookmarksWidget.h \
-    gui/WelcomeScreenWidget.h
+    gui/WelcomeScreenWidget.h \
+    gui/TranslationTextEdit.h
 
 FORMS    += gui/MainWindow.ui
 RESOURCES += gui/gui.qrc
 
-unix {
-  #VARIABLES
-  isEmpty(PREFIX) {
-    PREFIX = /usr
-  }
-  BINDIR = $$PREFIX/bin
-  DATADIR =$$PREFIX/share
-
-  DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
-
-  #MAKE INSTALL
-
-  INSTALLS += target desktop icon64 configs
-
-  configs.path = ~/.mdictionary
-  configs.files += ../../../data/mdictionary.defaults
-
-  target.path =$$BINDIR
-
-maemo5 {
-  desktop.path = $$DATADIR/applications/hildon
-  icon64.path = $$DATADIR/icons/hicolor/64x64/hildon
-}
-
-!maemo5 {
-  desktop.path = $$DATADIR/applications
-  icon64.path = $$DATADIR/icons
-}
-  desktop.files += ../../../data/other/$${TARGET}.desktop
-  icon64.files += ../../../data/icons/64x64/$${TARGET}.png
 unix { 
     # VARIABLES
     isEmpty(PREFIX):PREFIX = /usr