Merge branch 'qml' of ssh://drop.maemo.org/git/mdictionary into qml
authorjakub <jakub.jaszczynski@comarch.com>
Tue, 14 Dec 2010 08:50:00 +0000 (09:50 +0100)
committerjakub <jakub.jaszczynski@comarch.com>
Tue, 14 Dec 2010 08:50:00 +0000 (09:50 +0100)
Conflicts:
src/mdictionary/mdictionary.pro

1  2 
src/mdictionary/mdictionary.pro

@@@ -76,6 -76,9 +76,14 @@@ RESOURCES += ../../data/gui.qr
  TRANSLATIONS += pl_PL.ts \
                  en_US.ts
  
+ OTHER_FILES += \
 -   qml/WelcomeScreenWidget.qml
++    qml/WelcomeScreenWidget.qml \
++    qml/Button.qml \
++    qml/AboutWidget.qml \
++    qml/SearchBarWidget.qml \
++    qml/IconButton.qml \
++    qml/MyTextLineEdit.qml
  target.path = $$BIN_DIR
  INSTALLS += target
  
@@@ -145,19 -151,28 +156,32 @@@ unix 
          css_images.files += ../../data/css_desktop/images/key-background.png
      }
  
+     #services
      service.path = $$SHARE_DIR/dbus-1/services
      service.files += ../../data/other/com.comarch.mdictionary.service
+     #qmls (stub)
+     meego {
+         qmls.path = $$DATA_DIR/qml
+         qmls.files += ./qml/WelcomeScreenWidget.qml
+     }
+     else:maemo5 {
+         qmls.path = $$DATA_DIR/qml
+         qmls.files += ./qml/WelcomeScreenWidget.qml
+     }
+     else {
+         qmls.path = $$DATA_DIR/qml
+         qmls.files += ./qml/WelcomeScreenWidget.qml
++      qmls.files += ./qml/Button.qml 
++      qmls.files += ./qml/AboutWidget.qml
++      qmls.files += ./qml/SearchBarWidget.qml
++      qmls.files += ./qml/IconButton.qml
++      qmls.files += ./qml/MyTextLineEdit.qml
+     }
        
-     INSTALLS += desktop icon64 shared service css css_images
+     INSTALLS += desktop icon64 shared service css css_images qmls
  }
  
  
  check.commands = echo 'No check here'
  QMAKE_EXTRA_TARGETS += check
--
- OTHER_FILES += \
-     qml/Button.qml \
-     qml/AboutWidget.qml \
-     qml/SearchBarWidget.qml \
-     qml/IconButton.qml \
-     qml/MyTextLineEdit.qml