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 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132
|
# Copyright 2006 David Johnson
# This project file is free software; the author gives unlimited
# permission to copy, distribute and modify it.
TARGET = qbrew
TEMPLATE = app
CONFIG += qt thread warn_on release
QT += xml
MOC_DIR = build
OBJECTS_DIR = build
RCC_DIR = build
UI_DIR = build
VPATH = src
win32 {
RC_FILE = win\icon.rc
CONFIG -= console
target.path = release
INSTALLS += target
data.path = release
data.files = data/* pics/splash.png win/qbrew.ico README LICENSE
INSTALLS += data
doc.path = release/doc
doc.files = docs/book/* docs/primer/*
INSTALLS += doc
}
macx {
DEFINES += HAVE_ROUND
LIBS += -dead-strip
QMAKE_POST_LINK=strip qbrew.app/Contents/MacOS/qbrew
# install into app bundle
data.path = qbrew.app/Contents/Resources
data.files = data/* pics/splash.png mac/application.icns mac/document.icns
INSTALLS += data
misc.path = qbrew.app/Contents
misc.files = mac/Info.plist mac/PkgInfo
INSTALLS += misc
doc.path = qbrew.app/Contents/Resources/en.lproj
doc.files = docs/book/* docs/primer/*
INSTALLS += doc
}
unix:!macx {
DEFINES += $$(HAVEDEFS)
DEFINES += PACKAGE=\"$$(PACKAGE)\"
DEFINES += VERSION=\"$$(VERSION)\"
DEFINES += PREFIX=\"$$(PREFIX)\"
target.path = $$(BINDIR)
INSTALLS += target
data.path = $$(DATADIR)
data.files = data/* pics/splash.png
INSTALLS += data
doc.path = $$(DOCDIR)
doc.files = docs/book/* docs/primer/* README LICENSE
INSTALLS += doc
}
RESOURCES = qbrew.qrc
HEADERS = alcoholtool.h \
qbrew.h \
configstate.h \
configure.h \
data.h \
databasetool.h \
grain.h \
graindelegate.h \
grainmodel.h \
helpviewer.h \
hop.h \
hopdelegate.h \
hopmodel.h \
hydrometertool.h \
misc.h \
miscdelegate.h \
miscmodel.h \
notepage.h \
quantity.h \
recipe.h \
resource.h \
style.h \
styledelegate.h \
stylemodel.h \
view.h
SOURCES = alcoholtool.cpp \
qbrew.cpp \
configure.cpp \
data.cpp \
databasetool.cpp \
export.cpp \
grain.cpp \
graindelegate.cpp \
grainmodel.cpp \
helpviewer.cpp \
hop.cpp \
hopdelegate.cpp \
hopmodel.cpp \
hydrometertool.cpp \
main.cpp \
misc.cpp \
miscdelegate.cpp \
miscmodel.cpp \
notepage.cpp \
quantity.cpp \
recipe.cpp \
style.cpp \
styledelegate.cpp \
stylemodel.cpp \
view.cpp
FORMS = alcoholtool.ui \
calcconfig.ui \
databasetool.ui \
mainwindow.ui \
generalconfig.ui \
helpviewer.ui \
hydrometertool.ui \
noteview.ui \
recipeconfig.ui \
view.ui
|