diff --git a/retroshare-gui/src/gui/plugins/calendar_plugin/calendar_plugin.pro b/retroshare-gui/src/gui/plugins/calendar_plugin/calendar_plugin.pro new file mode 100644 index 000000000..36b06d931 --- /dev/null +++ b/retroshare-gui/src/gui/plugins/calendar_plugin/calendar_plugin.pro @@ -0,0 +1,28 @@ +#=== this part is common (similar) for all plugin projects ===================== +TEMPLATE = lib +CONFIG += plugin debug + +# 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(calendar_plugin) + +HEADERS += ../PluginInterface.h \ + src/CalendarPlugin.h +SOURCES += src/CalendarPlugin.cpp + +#=============================================================================== + +#=== and this are definitions, specific for this program ======================= +HEADERS += src/mainwindow.h +SOURCES += src/mainwindow.cpp +#=============================================================================== diff --git a/retroshare-gui/src/gui/plugins/plugins.pro b/retroshare-gui/src/gui/plugins/plugins.pro new file mode 100644 index 000000000..f73d078b1 --- /dev/null +++ b/retroshare-gui/src/gui/plugins/plugins.pro @@ -0,0 +1,8 @@ +TEMPLATE = subdirs + +SUBDIRS += \ + calendar_plugin puzzle_plugin qcheckers_plugin qdiagram_plugin + + + + diff --git a/retroshare-gui/src/gui/plugins/qcheckers_plugin/qcheckers_plugin.pro b/retroshare-gui/src/gui/plugins/qcheckers_plugin/qcheckers_plugin.pro new file mode 100644 index 000000000..aead3b193 --- /dev/null +++ b/retroshare-gui/src/gui/plugins/qcheckers_plugin/qcheckers_plugin.pro @@ -0,0 +1,58 @@ +#=== 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(qcheckers_plugin) + +HEADERS += ../PluginInterface.h \ + QCheckersPlugin.h +SOURCES += QCheckersPlugin.cpp + +#=============================================================================== + +HEADERS += pdn.h \ + checkers.h echeckers.h rcheckers.h \ + field.h toplevel.h view.h history.h board.h \ + newgamedlg.h \ + common.h \ + player.h humanplayer.h computerplayer.h + + +SOURCES += pdn.cc \ + checkers.cc echeckers.cc rcheckers.cc \ + field.cc toplevel.cc view.cc history.cc board.cc \ + newgamedlg.cc \ + humanplayer.cc computerplayer.cc + +RESOURCES = qcheckers.qrc + + +#PREFIX = $$system(grep 'define PREFIX' common.h | cut -d'"' -f2) +#SHARE_PATH = $$system(grep 'define SHARE_PATH' common.h | cut -d'"' -f2) + +TRANSLATIONS = i18n/kcheckers_de.ts i18n/kcheckers_fr.ts +# i18n/kcheckers_ru.ts + +target.path = $$PREFIX/bin +INSTALLS += target + + +# +# This hack is needed for i18n support. +# +share.path += $$PREFIX/share/kcheckers +share.files += kcheckers.pdn COPYING AUTHORS ChangeLog README themes i18n/* +INSTALLS += share + diff --git a/retroshare-gui/src/gui/plugins/qdiagram_plugin/qdiagram_plugin.pro b/retroshare-gui/src/gui/plugins/qdiagram_plugin/qdiagram_plugin.pro new file mode 100644 index 000000000..61c1790a8 --- /dev/null +++ b/retroshare-gui/src/gui/plugins/qdiagram_plugin/qdiagram_plugin.pro @@ -0,0 +1,50 @@ +#=== 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