diff --git a/slsDetectorGui/slsDetectorGui.pro b/slsDetectorGui/slsDetectorGui.pro index ff694965e..71cd9d50c 100644 --- a/slsDetectorGui/slsDetectorGui.pro +++ b/slsDetectorGui/slsDetectorGui.pro @@ -64,6 +64,11 @@ INCLUDEPATH = \ slsDetectorPlotting/include\ include\ forms/include\ + /usr/include/qwt\ #these are not included for standard installations, also bin path should include qt4 bin, not qt3 bin + /usr/include/qt4\ + /usr/include/Qt\ + /usr/include/QtCore\ + /usr/include/QtGui\ $(INCLUDES) #epics # $(INCLUDES) /usr/local/epics/base/include/ -I /usr/local/epics/base/include/os/Linux/ diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index 3d182bb9d..8c4366e6b 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -488,7 +488,7 @@ bool qDrawPlot::StartOrStopThread(bool start){ plot2D->GetPlot()->SetYMinMax(startPixel,endPixel); plot2D->GetPlot()->SetZoom(-0.5,startPixel,nPixelsX,endPixel-startPixel); plot2D->GetPlot()->UnZoom(); - + XYRangeChanged = true; cout << "Starting new acquisition thread ...." << endl; // Start acquiring data from server