mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 22:49:37 -05:00
87344de7d4
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1850 b45a01b8-16f6-495d-af2f-9b41ad6348cc
51 lines
1.2 KiB
Prolog
51 lines
1.2 KiB
Prolog
#=== this part is common (similar) for all plugin projects =====================
|
|
TEMPLATE = lib
|
|
CONFIG += plugin release
|
|
|
|
# this is directory, where PluginInterface.h is located
|
|
INCLUDEPATH += ../
|
|
|
|
# and, the result (*.so or *.dll) should appear in this directory
|
|
DESTDIR = ../bin
|
|
OBJECTS_DIR = temp/obj
|
|
RCC_DIR = temp/qrc
|
|
UI_DIR = temp/ui
|
|
MOC_DIR = temp/moc
|
|
|
|
|
|
# the name of the result file;
|
|
TARGET = $$qtLibraryTarget(qdiagram_plugin)
|
|
|
|
HEADERS += ../PluginInterface.h \
|
|
DiagramPlugin.h
|
|
SOURCES += DiagramPlugin.cpp
|
|
|
|
#===============================================================================
|
|
|
|
|
|
HEADERS += diagrampathitem.h \
|
|
diagramdrawitem.h \
|
|
mainwindow.h \
|
|
diagramitem.h \
|
|
diagramscene.h \
|
|
diagramtextitem.h
|
|
SOURCES += diagrampathitem.cpp \
|
|
diagramdrawitem.cpp \
|
|
mainwindow.cpp \
|
|
diagramitem.cpp \
|
|
diagramtextitem.cpp \
|
|
diagramscene.cpp
|
|
RESOURCES = qdiagram.qrc
|
|
|
|
# install
|
|
target.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/diagramscene
|
|
sources.files = $$SOURCES \
|
|
$$HEADERS \
|
|
$$RESOURCES \
|
|
$$FORMS \
|
|
diagramscene.pro \
|
|
images
|
|
sources.path = $$[QT_INSTALL_EXAMPLES]/graphicsview/diagramscene
|
|
INSTALLS += target \
|
|
sources
|