Changeset 19978


Ignore:
Timestamp:
Jul 27, 2020, 7:18:29 PM (3 weeks ago)
Author:
tbretz
Message:
These are some workarounds to make it compile with Qt5
Location:
trunk/FACT++/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/gui/BasicGlCamera.cc

    r19685 r19978  
    4747                          QGL::DepthBuffer),cParent)
    4848    {
     49#ifdef HAVE_QT4
    4950        QGL::setPreferredPaintEngine(QPaintEngine::OpenGL);
     51#endif
    5052        fWhite = -1;
    5153        fWhitePatch = -1;
  • trunk/FACT++/gui/RawEventsViewer/RawEventsViewer.cc

    r19692 r19978  
    3232#undef ACTUAL_NUM_PIXELS
    3333#define ACTUAL_NUM_PIXELS 1440
     34
     35#ifndef HAVE_QT4 // required with not qwt5-qt4 (assuming that this is the default for not Qt4)
     36#define setMajPen setMajorPen
     37#endif
    3438
    3539//bounding box for diplaying the impulse curve
Note: See TracChangeset for help on using the changeset viewer.