diff options
author | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-11 13:59:58 +0100 |
---|---|---|
committer | Lukáš Lalinský <lalinsky@gmail.com> | 2008-12-11 13:59:58 +0100 |
commit | b3df8548d0d724dc6d232a54d2142eaa030c4872 (patch) | |
tree | 50255cd1adde8c775bd36fdd5d98be523a42eb41 | |
parent | f86e334bf61cd03febbbe5fa0da3dc8b2267489f (diff) | |
download | dbmodel-b3df8548d0d724dc6d232a54d2142eaa030c4872.tar.gz dbmodel-b3df8548d0d724dc6d232a54d2142eaa030c4872.tar.bz2 |
Move source lists to a separate .pri file
-rw-r--r-- | src/src.pri | 30 | ||||
-rw-r--r-- | src/src.pro | 30 |
2 files changed, 32 insertions, 28 deletions
diff --git a/src/src.pri b/src/src.pri new file mode 100644 index 0000000..592b49c --- /dev/null +++ b/src/src.pri @@ -0,0 +1,30 @@ +DEPENDPATH += $$PWD + +RESOURCES = ../dbmodel.qrc + +SOURCES = \ + main.cpp \ + mainwindow.cpp \ + diagramview.cpp \ + diagramdocument.cpp \ + diagramconnection.cpp \ + diagramitem.cpp \ + diagramitemfactory.cpp \ + diagramitemproperties.cpp \ + diagramobject.cpp \ + commands.cpp + +HEADERS = \ + mainwindow.h \ + diagramview.h \ + diagramdocument.h \ + diagramconnection.h \ + diagramitem.h \ + diagramitemfactory.h \ + diagramitemproperties.h \ + diagramobject.h \ + range.h \ + commands.h + +TRANSLATIONS = \ + ../translations/dbmodel_sk.ts diff --git a/src/src.pro b/src/src.pro index 22d66de..1d0f565 100644 --- a/src/src.pro +++ b/src/src.pro @@ -1,39 +1,13 @@ TARGET = dbmodel +DESTDIR = ../ QT += xml svg CONFIG += debug -SOURCES = \ - main.cpp \ - mainwindow.cpp \ - diagramview.cpp \ - diagramdocument.cpp \ - diagramconnection.cpp \ - diagramitem.cpp \ - diagramitemfactory.cpp \ - diagramitemproperties.cpp \ - diagramobject.cpp \ - commands.cpp -HEADERS = \ - mainwindow.h \ - diagramview.h \ - diagramdocument.h \ - diagramconnection.h \ - diagramitem.h \ - diagramitemfactory.h \ - diagramitemproperties.h \ - diagramobject.h \ - range.h \ - commands.h -RESOURCES = ../dbmodel.qrc +include(src.pri) include(items/items.pri) include(utils/utils.pri) -DESTDIR = ../ - -TRANSLATIONS = \ - ../translations/dbmodel_sk.ts - isEmpty(QMAKE_LRELEASE) { win32:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe else:QMAKE_LRELEASE = $$[QT_INSTALL_BINS]/lrelease |