1 #############################################################################
\r
2 # qstardict.pro - QStarDict, a StarDict clone written with using Qt #
\r
3 # Copyright (C) 2008 Alexander Rodin #
\r
5 # This program is free software; you can redistribute it and/or modify #
\r
6 # it under the terms of the GNU General Public License as published by #
\r
7 # the Free Software Foundation; either version 2 of the License, or #
\r
8 # (at your option) any later version. #
\r
10 # This program is distributed in the hope that it will be useful, #
\r
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of #
\r
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
\r
13 # GNU General Public License for more details. #
\r
15 # You should have received a copy of the GNU General Public License along #
\r
16 # with this program; if not, write to the Free Software Foundation, Inc., #
\r
17 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. #
\r
18 #############################################################################
\r
25 include(../qstardict.pri)
\r
36 ../plugins/dictplugin.h \
\r
46 unix:isEmpty(NO_DBUS):HEADERS += \
\r
58 resizablepopup.cpp \
\r
60 settingsdialog.cpp \
\r
63 unix:isEmpty(NO_DBUS):SOURCES += \
\r
74 target.path = $$BIN_DIR
\r
76 # translations *has* go after current target (mac required)
\r
77 isEmpty(NO_TRANSLATIONS):include("translations/translations.pri")
\r
80 desktop_icon.files = qstardict.png
\r
81 desktop_icon.path = $$INSTALL_PREFIX/share/pixmaps
\r
82 desktop_file.files = qstardict.desktop
\r
83 desktop_file.path = $$INSTALL_PREFIX/share/applications
\r
84 INSTALLS:!macx += desktop_icon desktop_file
\r
87 ICON = pixmaps/qstardict.icns
\r