Repair problem with build app on scratchbox. Add rules to build deb package with...
[mdictionary] / src / plugins / xdxf / xdxf.pro
index be2f482..79bf8c8 100644 (file)
@@ -5,8 +5,14 @@ QT = core \
     xml \
     sql \
     network
+maemo5 {
+    LIBS += -lbz2 \
+}
 
-LIBS += -ltar -lbz2
+!maemo5 {
+    LIBS += -ltar \
+        -lbz2
+}
 
 maemo5:QT += maemo5
 SOURCES += xdxfplugin.cpp \
@@ -17,9 +23,8 @@ SOURCES += xdxfplugin.cpp \
     XdxfDictDownloader.cpp \
     XdxfDictSelectDialog.cpp \
     XdxfDictDownloadProgressDialog.cpp \
-    DictsModel.cpp
-
-
+    DictsModel.cpp \
+    HttpDownloader.cpp
 HEADERS += xdxfplugin.h \
     TranslationXdxf.h \
     ../../include/DictDialog.h \
@@ -31,14 +36,12 @@ HEADERS += xdxfplugin.h \
     XdxfDialog.h \
     XdxfDictDownloader.h \
     XdxfDictSelectDialog.h \
-    XdxfDictDownloadProgressDialog.h \ 
+    XdxfDictDownloadProgressDialog.h \
     DownloadDict.h \
     DictsModel.h \
-    DictsProxyModel.h
-       
-RESOURCES += \
-    xdxf.qrc
-
+    DictsProxyModel.h \
+    HttpDownloader.h
+RESOURCES += xdxf.qrc
 TRANSLATIONS += pl_PL.ts \
     en_US.ts
 unix {