From: nds Date: Tue, 19 Jun 2007 08:23:13 +0000 (+0000) Subject: Porting to qwt-5.0.1 and qt-4.2.3 products. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=980d57eb52375fefb04860538e4c402ec0e00863;p=modules%2Fgui.git Porting to qwt-5.0.1 and qt-4.2.3 products. --- diff --git a/src/Plot2d/Plot2d.pro b/src/Plot2d/Plot2d.pro new file mode 100644 index 000000000..8ce03642e --- /dev/null +++ b/src/Plot2d/Plot2d.pro @@ -0,0 +1,61 @@ +TEMPLATE = lib +TARGET = Plot2d +DESTDIR = ../../lib +MOC_DIR = ../../moc +OBJECTS_DIR = ../../obj/$$TARGET + +PYTHONVER=2.4 +PYTHONHOME=$$(PYTHONHOME) +PYTHONINC=$${PYTHONHOME}/include/python$${PYTHONVER} + +QWTHOME=$$(QWTHOME) +QWTINC=$${QWTHOME}/include +QWTLIB=$${QWTHOME}/lib + +INCLUDEPATH += ../../include $${QWTINC} $${PYTHONINC} +INCLUDEPATH += ../Qtx ../SUIT +unix:LIBS += -L$${QWTLIB} -lqwt +win32:LIBS += /LIBPATH:$$(QWTLIB) +LIBS += -L../../lib -lqtx -lsuit + +CONFIG -= debug release debug_and_release +CONFIG += qt thread debug dll shared + +win32:DEFINES += WIN32 +DEFINES += PLOT2D_EXPORTS + +HEADERS = Plot2d.h +HEADERS += Plot2d_Curve.h +HEADERS += Plot2d_FitDataDlg.h +HEADERS += Plot2d_Prs.h +HEADERS += Plot2d_SetupViewDlg.h +HEADERS += Plot2d_ViewFrame.h +HEADERS += Plot2d_ViewManager.h +HEADERS += Plot2d_ViewModel.h +HEADERS += Plot2d_ViewWindow.h +HEADERS += Plot2d_SetupCurveDlg.h +HEADERS += Plot2d_ToolTip.h + +SOURCES = Plot2d_Curve.cxx +SOURCES += Plot2d_FitDataDlg.cxx +SOURCES += Plot2d_Prs.cxx +SOURCES += Plot2d_SetupViewDlg.cxx +SOURCES += Plot2d_ViewFrame.cxx +SOURCES += Plot2d_ViewManager.cxx +SOURCES += Plot2d_ViewModel.cxx +SOURCES += Plot2d_ViewWindow.cxx +SOURCES += Plot2d_SetupCurveDlg.cxx +SOURCES += Plot2d_ToolTip.cxx + +TRANSLATIONS = resources/Plot2d_msg_en.ts \ + resources/Plot2d_images.ts + +ICONS = resources/*.png + +includes.files = $$HEADERS +includes.path = ../../include + +resources.files = $$ICONS resources/*.qm +resources.path = ../../resources + +INSTALLS += includes resources diff --git a/src/SPlot2d/SPlot2d.pro b/src/SPlot2d/SPlot2d.pro new file mode 100644 index 000000000..4e6d41e6a --- /dev/null +++ b/src/SPlot2d/SPlot2d.pro @@ -0,0 +1,45 @@ +TEMPLATE = lib +TARGET = SPlot2d +DESTDIR = ../../lib +MOC_DIR = ../../moc +OBJECTS_DIR = ../../obj/$$TARGET + +CASROOT = $$(CASROOT) +CAS_CPPFLAGS = $${CASROOT}/inc + +CAS_KERNEL = -L$${CASROOT}/Linux/lib -lTKernel + +QWTHOME=$$(QWTHOME) +QWTINC=$${QWTHOME}/include +QWTLIB=$${QWTHOME}/lib + +BOOST_CPPFLAGS = $$(BOOSTDIR)/include + +INCLUDEPATH += ../../include $${CAS_CPPFLAGS} ../../include $${QWTINC} $${BOOST_CPPFLAGS} +INCLUDEPATH += ../Qtx ../SUIT ../Plot2d ../Prs ../OBJECT +unix:LIBS += -L$${QWTLIB} -lqwt +win32:LIBS += /LIBPATH:$$(QWTLIB) +LIBS += -L../../lib -lsuit -lPlot2d -lSalomePrs + +CONFIG -= debug release debug_and_release +CONFIG += qt thread debug dll shared + +win32:DEFINES += WIN32 +DEFINES += SPLOT2D_EXPORTS + +HEADERS = SPlot2d.h +HEADERS = SPlot2d_Curve.h +HEADERS = SPlot2d_Prs.h +HEADERS = SPlot2d_ViewModel.h +HEADERS = SPlot2d_ViewWindow.h + +SOURCES = SPlot2d_Curve.cxx +SOURCES += SPlot2d_Curve.cxx +SOURCES += SPlot2d_Prs.cxx +SOURCES += SPlot2d_ViewModel.cxx +SOURCES += SPlot2d_ViewWindow.cxx + +includes.files = $$HEADERS +includes.path = ../../include + +INSTALLS += includes