2013-06-20 16:09:50 +02:00
|
|
|
#-------------------------------------------------
|
|
|
|
#
|
|
|
|
# Project created by QtCreator 2013-06-18T12:36:43
|
|
|
|
#
|
|
|
|
#-------------------------------------------------
|
|
|
|
|
2013-08-29 15:12:30 +02:00
|
|
|
# Use out-of-source builds (shadow builds)
|
|
|
|
|
2013-08-29 12:31:50 +02:00
|
|
|
QT += core gui widgets xml svg printsupport
|
2013-06-20 16:09:50 +02:00
|
|
|
|
|
|
|
TARGET = Valentina
|
|
|
|
TEMPLATE = app
|
2013-09-10 14:29:06 +02:00
|
|
|
CONFIG -= debug_and_release debug_and_release_target
|
2013-06-20 16:09:50 +02:00
|
|
|
|
|
|
|
SOURCES += main.cpp\
|
2013-07-03 14:29:26 +02:00
|
|
|
mainwindow.cpp \
|
2013-07-13 12:51:31 +02:00
|
|
|
dialogs/dialogsinglepoint.cpp \
|
|
|
|
widgets/vgraphicssimpletextitem.cpp \
|
|
|
|
xml/vdomdocument.cpp \
|
|
|
|
container/vpointf.cpp \
|
2013-07-17 13:38:11 +02:00
|
|
|
container/vcontainer.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolpoint.cpp \
|
2013-07-17 13:38:11 +02:00
|
|
|
container/calculator.cpp \
|
|
|
|
dialogs/dialogincrements.cpp \
|
|
|
|
container/vstandarttablecell.cpp \
|
2013-07-17 20:35:08 +02:00
|
|
|
container/vincrementtablerow.cpp \
|
2013-07-25 14:00:51 +02:00
|
|
|
widgets/doubledelegate.cpp \
|
|
|
|
dialogs/dialogendline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolendline.cpp \
|
|
|
|
tools/drawTools/vtoolline.cpp \
|
2013-07-25 20:39:51 +02:00
|
|
|
tools/vabstracttool.cpp \
|
2013-07-28 00:18:06 +02:00
|
|
|
dialogs/dialogline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolalongline.cpp \
|
2013-07-28 00:18:06 +02:00
|
|
|
dialogs/dialogtool.cpp \
|
2013-07-29 14:55:40 +02:00
|
|
|
dialogs/dialogalongline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolshoulderpoint.cpp \
|
2013-07-30 15:09:34 +02:00
|
|
|
dialogs/dialogshoulderpoint.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolnormal.cpp \
|
2013-07-30 20:46:40 +02:00
|
|
|
dialogs/dialognormal.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolbisector.cpp \
|
2013-07-31 13:34:39 +02:00
|
|
|
dialogs/dialogbisector.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoollinepoint.cpp \
|
|
|
|
tools/drawTools/vtoollineintersect.cpp \
|
2013-08-05 10:37:56 +02:00
|
|
|
dialogs/dialoglineintersect.cpp \
|
|
|
|
geometry/vspline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolsinglepoint.cpp \
|
2013-08-05 10:37:56 +02:00
|
|
|
geometry/varc.cpp \
|
|
|
|
widgets/vcontrolpointspline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolspline.cpp \
|
2013-08-06 09:56:09 +02:00
|
|
|
dialogs/dialogspline.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolarc.cpp \
|
2013-08-09 08:49:34 +02:00
|
|
|
dialogs/dialogarc.cpp \
|
|
|
|
geometry/vsplinepoint.cpp \
|
|
|
|
geometry/vsplinepath.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolsplinepath.cpp \
|
2013-08-13 18:48:36 +02:00
|
|
|
dialogs/dialogsplinepath.cpp \
|
|
|
|
widgets/vmaingraphicsscene.cpp \
|
|
|
|
widgets/vmaingraphicsview.cpp \
|
2013-08-15 22:39:00 +02:00
|
|
|
tools/vdatatool.cpp \
|
|
|
|
xml/vtoolrecord.cpp \
|
2013-08-21 10:03:53 +02:00
|
|
|
dialogs/dialoghistory.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolpointofcontact.cpp \
|
2013-08-28 10:55:11 +02:00
|
|
|
dialogs/dialogpointofcontact.cpp \
|
|
|
|
geometry/vnodedetail.cpp \
|
|
|
|
geometry/vdetail.cpp \
|
|
|
|
dialogs/dialogdetail.cpp \
|
|
|
|
tools/vtooldetail.cpp \
|
2013-08-29 12:31:50 +02:00
|
|
|
widgets/vtablegraphicsview.cpp \
|
|
|
|
widgets/vitem.cpp \
|
2013-09-10 14:29:06 +02:00
|
|
|
tablewindow.cpp \
|
|
|
|
tools/nodeDetails/vnodearc.cpp \
|
|
|
|
tools/nodeDetails/vnodepoint.cpp \
|
|
|
|
tools/nodeDetails/vnodespline.cpp \
|
|
|
|
tools/nodeDetails/vnodesplinepath.cpp \
|
|
|
|
tools/drawTools/vdrawtool.cpp \
|
|
|
|
tools/nodeDetails/vabstractnode.cpp \
|
|
|
|
tools/modelingTools/vmodelingtool.cpp \
|
|
|
|
tools/modelingTools/vmodelingalongline.cpp \
|
|
|
|
tools/modelingTools/vmodelingarc.cpp \
|
|
|
|
tools/modelingTools/vmodelingbisector.cpp \
|
|
|
|
tools/modelingTools/vmodelingendline.cpp \
|
|
|
|
tools/modelingTools/vmodelingline.cpp \
|
|
|
|
tools/modelingTools/vmodelinglineintersect.cpp \
|
|
|
|
tools/modelingTools/vmodelinglinepoint.cpp \
|
|
|
|
tools/modelingTools/vmodelingnormal.cpp \
|
|
|
|
tools/modelingTools/vmodelingpoint.cpp \
|
|
|
|
tools/modelingTools/vmodelingpointofcontact.cpp \
|
|
|
|
tools/modelingTools/vmodelingshoulderpoint.cpp \
|
|
|
|
tools/modelingTools/vmodelingspline.cpp \
|
2013-09-23 14:08:06 +02:00
|
|
|
tools/modelingTools/vmodelingsplinepath.cpp \
|
|
|
|
exception/vexception.cpp \
|
|
|
|
exception/vexceptionbadid.cpp \
|
|
|
|
exception/vexceptionwrongparameterid.cpp \
|
|
|
|
exception/vexceptionconversionerror.cpp \
|
|
|
|
exception/vexceptionemptyparameter.cpp \
|
|
|
|
exception/vexceptionobjecterror.cpp \
|
|
|
|
widgets/vapplication.cpp
|
2013-06-20 16:09:50 +02:00
|
|
|
|
2013-07-03 14:29:26 +02:00
|
|
|
HEADERS += mainwindow.h \
|
|
|
|
widgets/vmaingraphicsscene.h \
|
|
|
|
dialogs/dialogsinglepoint.h \
|
2013-07-13 12:51:31 +02:00
|
|
|
options.h \
|
|
|
|
widgets/vgraphicssimpletextitem.h \
|
|
|
|
xml/vdomdocument.h \
|
|
|
|
container/vpointf.h \
|
2013-07-17 13:38:11 +02:00
|
|
|
container/vcontainer.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolpoint.h \
|
2013-07-17 13:38:11 +02:00
|
|
|
container/calculator.h \
|
|
|
|
dialogs/dialogincrements.h \
|
|
|
|
container/vstandarttablecell.h \
|
2013-07-17 20:35:08 +02:00
|
|
|
container/vincrementtablerow.h \
|
2013-07-25 14:00:51 +02:00
|
|
|
widgets/doubledelegate.h \
|
|
|
|
dialogs/dialogendline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolendline.h \
|
|
|
|
tools/drawTools/vtoolline.h \
|
2013-07-25 20:39:51 +02:00
|
|
|
tools/vabstracttool.h \
|
2013-07-28 00:18:06 +02:00
|
|
|
dialogs/dialogline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolalongline.h \
|
2013-07-28 00:18:06 +02:00
|
|
|
dialogs/dialogtool.h \
|
2013-07-29 14:55:40 +02:00
|
|
|
dialogs/dialogalongline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolshoulderpoint.h \
|
2013-07-30 15:09:34 +02:00
|
|
|
dialogs/dialogshoulderpoint.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolnormal.h \
|
2013-07-30 20:46:40 +02:00
|
|
|
dialogs/dialognormal.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolbisector.h \
|
2013-07-31 13:34:39 +02:00
|
|
|
dialogs/dialogbisector.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoollinepoint.h \
|
|
|
|
tools/drawTools/vtoollineintersect.h \
|
2013-08-05 10:37:56 +02:00
|
|
|
dialogs/dialoglineintersect.h \
|
|
|
|
geometry/vspline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolsinglepoint.h \
|
2013-08-05 10:37:56 +02:00
|
|
|
geometry/varc.h \
|
|
|
|
widgets/vcontrolpointspline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolspline.h \
|
2013-08-06 09:56:09 +02:00
|
|
|
dialogs/dialogspline.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolarc.h \
|
2013-08-09 08:49:34 +02:00
|
|
|
dialogs/dialogarc.h \
|
|
|
|
geometry/vsplinepoint.h \
|
|
|
|
geometry/vsplinepath.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolsplinepath.h \
|
2013-08-13 18:48:36 +02:00
|
|
|
dialogs/dialogsplinepath.h \
|
|
|
|
widgets/vmaingraphicsview.h \
|
2013-08-15 22:39:00 +02:00
|
|
|
tools/vdatatool.h \
|
|
|
|
xml/vtoolrecord.h \
|
2013-08-21 10:03:53 +02:00
|
|
|
dialogs/dialoghistory.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tools/drawTools/vtoolpointofcontact.h \
|
2013-08-28 10:55:11 +02:00
|
|
|
dialogs/dialogpointofcontact.h \
|
|
|
|
geometry/vnodedetail.h \
|
|
|
|
geometry/vdetail.h \
|
|
|
|
dialogs/dialogdetail.h \
|
|
|
|
tools/vtooldetail.h \
|
2013-08-29 12:31:50 +02:00
|
|
|
widgets/vtablegraphicsview.h \
|
|
|
|
widgets/vitem.h \
|
2013-09-10 14:29:06 +02:00
|
|
|
tablewindow.h \
|
|
|
|
tools/tools.h \
|
|
|
|
tools/drawTools/drawtools.h \
|
|
|
|
tools/nodeDetails/nodedetails.h \
|
|
|
|
tools/nodeDetails/vnodearc.h \
|
|
|
|
tools/nodeDetails/vnodepoint.h \
|
|
|
|
tools/nodeDetails/vnodespline.h \
|
|
|
|
tools/nodeDetails/vnodesplinepath.h \
|
|
|
|
stable.h \
|
|
|
|
tools/drawTools/vdrawtool.h \
|
|
|
|
tools/nodeDetails/vabstractnode.h \
|
|
|
|
dialogs/dialogs.h \
|
|
|
|
tools/modelingTools/modelingtools.h \
|
|
|
|
tools/modelingTools/vmodelingtool.h \
|
|
|
|
tools/modelingTools/vmodelingalongline.h \
|
|
|
|
tools/modelingTools/vmodelingarc.h \
|
|
|
|
tools/modelingTools/vmodelingbisector.h \
|
|
|
|
tools/modelingTools/vmodelingendline.h \
|
|
|
|
tools/modelingTools/vmodelingline.h \
|
|
|
|
tools/modelingTools/vmodelinglineintersect.h \
|
|
|
|
tools/modelingTools/vmodelinglinepoint.h \
|
|
|
|
tools/modelingTools/vmodelingnormal.h \
|
|
|
|
tools/modelingTools/vmodelingpoint.h \
|
|
|
|
tools/modelingTools/vmodelingpointofcontact.h \
|
|
|
|
tools/modelingTools/vmodelingshoulderpoint.h \
|
|
|
|
tools/modelingTools/vmodelingspline.h \
|
2013-09-23 14:08:06 +02:00
|
|
|
tools/modelingTools/vmodelingsplinepath.h \
|
|
|
|
exception/vexception.h \
|
|
|
|
exception/vexceptionbadid.h \
|
|
|
|
exception/vexceptionwrongparameterid.h \
|
|
|
|
exception/vexceptionconversionerror.h \
|
|
|
|
exception/vexceptionemptyparameter.h \
|
|
|
|
exception/vexceptionobjecterror.h \
|
|
|
|
widgets/vapplication.h
|
2013-06-20 16:09:50 +02:00
|
|
|
|
2013-07-03 14:29:26 +02:00
|
|
|
FORMS += mainwindow.ui \
|
2013-07-17 13:38:11 +02:00
|
|
|
dialogs/dialogsinglepoint.ui \
|
2013-07-25 14:00:51 +02:00
|
|
|
dialogs/dialogincrements.ui \
|
2013-07-25 20:39:51 +02:00
|
|
|
dialogs/dialogendline.ui \
|
2013-07-28 00:18:06 +02:00
|
|
|
dialogs/dialogline.ui \
|
2013-07-29 14:55:40 +02:00
|
|
|
dialogs/dialogalongline.ui \
|
2013-07-30 15:09:34 +02:00
|
|
|
dialogs/dialogshoulderpoint.ui \
|
2013-07-30 20:46:40 +02:00
|
|
|
dialogs/dialognormal.ui \
|
2013-07-31 13:34:39 +02:00
|
|
|
dialogs/dialogbisector.ui \
|
2013-08-05 10:37:56 +02:00
|
|
|
dialogs/dialoglineintersect.ui \
|
2013-08-06 09:56:09 +02:00
|
|
|
dialogs/dialogspline.ui \
|
2013-08-09 08:49:34 +02:00
|
|
|
dialogs/dialogarc.ui \
|
2013-08-15 22:39:00 +02:00
|
|
|
dialogs/dialogsplinepath.ui \
|
2013-08-21 10:03:53 +02:00
|
|
|
dialogs/dialoghistory.ui \
|
2013-08-28 10:55:11 +02:00
|
|
|
dialogs/dialogpointofcontact.ui \
|
2013-08-29 12:31:50 +02:00
|
|
|
dialogs/dialogdetail.ui \
|
|
|
|
tablewindow.ui
|
2013-07-03 14:29:26 +02:00
|
|
|
|
|
|
|
RESOURCES += \
|
|
|
|
icon.qrc \
|
|
|
|
cursor.qrc
|
2013-07-28 00:18:06 +02:00
|
|
|
|
2013-08-29 15:12:30 +02:00
|
|
|
# directory for executable file
|
|
|
|
DESTDIR = bin
|
|
|
|
|
|
|
|
# files created moc
|
|
|
|
MOC_DIR = moc
|
|
|
|
|
|
|
|
# objecs files
|
|
|
|
OBJECTS_DIR = obj
|
|
|
|
|
|
|
|
# files created rcc
|
|
|
|
RCC_DIR = rcc
|
|
|
|
|
|
|
|
# files created uic
|
|
|
|
UI_DIR = uic
|
|
|
|
|
|
|
|
# Use Precompiled headers (PCH)
|
2013-09-10 14:29:06 +02:00
|
|
|
PRECOMPILED_HEADER = stable.h
|
2013-08-29 15:12:30 +02:00
|
|
|
|
2013-09-26 15:05:21 +02:00
|
|
|
TRANSLATIONS += translations/valentina_ru.ts \
|
|
|
|
translations/valentina_uk.ts
|
|
|
|
|
2013-07-28 00:18:06 +02:00
|
|
|
CONFIG(debug, debug|release){
|
|
|
|
# Debug
|
2013-08-20 12:26:02 +02:00
|
|
|
QMAKE_CXXFLAGS += -isystem "/usr/include/qt5" -isystem "/usr/include/qt5/QtWidgets" \
|
|
|
|
-isystem "/usr/include/qt5/QtXml" -isystem "/usr/include/qt5/QtGui" \
|
|
|
|
-isystem "/usr/include/qt5/QtCore" -O0 -Wall -Wextra -pedantic -Weffc++ \
|
2013-08-29 15:12:30 +02:00
|
|
|
-isystem "$$OUT_PWD/uic" \
|
2013-08-20 12:26:02 +02:00
|
|
|
-Woverloaded-virtual -Wctor-dtor-privacy -Wnon-virtual-dtor -Wold-style-cast \
|
|
|
|
-Wconversion -Wsign-conversion -Winit-self -Wunreachable-code -std=c++0x
|
2013-07-28 00:18:06 +02:00
|
|
|
}else{
|
|
|
|
# Release
|
|
|
|
QMAKE_CXXFLAGS += -O1 -std=c++0x
|
2013-09-26 15:05:21 +02:00
|
|
|
|
|
|
|
QMAKE_EXTRA_COMPILERS += lrelease
|
|
|
|
lrelease.input = TRANSLATIONS
|
|
|
|
lrelease.output = ${QMAKE_FILE_BASE}.qm
|
|
|
|
lrelease.commands = $$[QT_INSTALL_BINS]/lrelease ${QMAKE_FILE_IN} -qm ${DESTDIR}${QMAKE_FILE_BASE}.qm
|
|
|
|
lrelease.CONFIG += no_link target_predeps
|
2013-07-28 00:18:06 +02:00
|
|
|
}
|
2013-09-18 18:52:49 +02:00
|
|
|
|
|
|
|
|
2013-09-26 15:05:21 +02:00
|
|
|
|
|
|
|
|