1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
|
TEMPLATE = app
CONFIG += release \
warn_on
TARGET = qtsmbstatus
MOC_DIR = ./build/moc
OBJECTS_DIR = ./build
DESTDIR = ./bin
UI_DIR = ./build/ui
RCC_DIR = ./build/rcc
SOURCES += main.cpp \
mainwindows.cpp \
main_windows.cpp \
server.cpp \
machine.cpp \
service.cpp \
user.cpp \
smbstatus.cpp \
login_windows.cpp \
configure_windows.cpp \
linecore.cpp \
../common/core_syntax.cpp \
../common/common.cpp \
log.cpp \
mysortfilterproxymodel.cpp \
instances_dlg.cpp
HEADERS += main_windows.h \
mainwindows.h \
server.h \
machine.h \
service.h \
user.h \
smbstatus.h \
linecore.h \
login_windows.h \
../common/core_syntax.h \
configure_windows.h \
log.h \
mysortfilterproxymodel.h \
instances_dlg.h
RESOURCES = client.qrc
RC_FILE = qtsmbstatus.rc
TRANSLATIONS = ./tr/qtsmbstatus_fr.ts \
./tr/qtsmbstatus_es.ts \
./tr/qtsmbstatus_pl.ts \
./tr/qtsmbstatus_de.ts \
./tr/qtsmbstatus_it.ts \
./tr/qtsmbstatus_ru.ts \
./tr/qtsmbstatus_uk.ts \
./tr/qtsmbstatus_sv.ts \
./tr/qtsmbstatus_hu.ts \
./tr/qtsmbstatus_nl.ts \
./tr/qtsmbstatus_pt_BR.ts
FORMS += form_smbstatus.ui \
configure.ui \
login_dialog.ui \
log.ui
# install
unix {
# Translation
TRANSDIR = /usr/local/share/qtsmbstatus
TRANSFILES = ./tr/*.qm
trans.path = $$TRANSDIR
trans.files = $$TRANSFILES
# Documentation
DOCDIR = /usr/local/share/doc/qtsmbstatus
DOCFILES = ../README \
../README-FR \
../INSTALL \
../COPYING
doc.path = $$DOCDIR
doc.files = $$DOCFILES
#icons
ICONSDIR = /usr/share/pixmaps
ICONSFILES = qtsmbstatus.xpm
icons.path = $$ICONSDIR
icons.files = $$ICONSFILES
#menu
MENUDIR = /usr/share/applications
MENUFILES = qtsmbstatus.desktop
menu.path = $$MENUDIR
menu.files = $$MENUFILES
#manpage
MANDIR = /usr/local/share/man/man7
MANFILES = qtsmbstatus.7.gz
manpage.path = $$MANDIR
manpage.files = $$MANFILES
target.path = /usr/local/bin
INSTALLS += trans \
target \
doc \
icons \
menu \
manpage
}
QT += network
|