summaryrefslogtreecommitdiff
path: root/src/src.pro
blob: bb398dd76bd89b05e719a9d56a8272700c41c52f (plain)
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
TARGET = dbmodel

QT += xml svg
CONFIG += debug
SOURCES = \
	column.cpp \
	columnlist.cpp \
	columnlistmodel.cpp \
	columnlistview.cpp \
	main.cpp \
	mainwindow.cpp \
	diagramview.cpp \
	diagramdocument.cpp \
	databasetable.cpp \
	databaserelationship.cpp \
	diagramconnection.cpp \
	diagramitem.cpp \
	diagramitemregistry.cpp \
	diagramobject.cpp \
	tableproperties.cpp \
	commands.cpp
HEADERS = \
	column.h \
	columnlist.h \
	columnlistmodel.h \
	columnlistview.h \
	mainwindow.h \
	diagramview.h \
	diagramdocument.h \
	databasetable.h \
	databaserelationship.h \
	diagramconnection.h \
	diagramitem.h \
	diagramitemregistry.h \
	diagramobject.h \
	tableproperties.h \
	range.h \
	commands.h
FORMS = tableproperties.ui
RESOURCES = ../dbmodel.qrc

DESTDIR = ../

TRANSLATIONS = \
	../translations/dbmodel_sk.ts

isEmpty(QMAKE_LRELEASE) {
    win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe
    else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease
}

updateqm.input = TRANSLATIONS
updateqm.output = ../translations/${QMAKE_FILE_BASE}.qm
updateqm.commands = $$QMAKE_LRELEASE ${QMAKE_FILE_IN} -qm ../translations/${QMAKE_FILE_BASE}.qm
updateqm.CONFIG += no_link
QMAKE_EXTRA_COMPILERS += updateqm
PRE_TARGETDEPS += compiler_updateqm_make_all

MOC_DIR = $$PWD/.build
OBJECTS_DIR = $$PWD/.build
UI_DIR = $$PWD/.build
RCC_DIR = $$PWD/.build