compiles for Qt5 in Kde Neon 5.16.4

This commit is contained in:
Vilas Chitrakaran 2019-08-23 13:21:38 +01:00
parent 686fb1eeb1
commit 95ffeadcf7
2 changed files with 3 additions and 4 deletions

View File

@ -69,7 +69,7 @@ if (NOT CMAKE_INSTALL_INCLUDEDIR)
endif() endif()
find_package(Qt5 5.0 REQUIRED Core Gui Widgets PrintSupport Svg Xml OpenGl) find_package(Qt5 5.0 REQUIRED Core Gui Widgets PrintSupport Svg Xml OpenGL)

View File

@ -132,12 +132,11 @@ class JKQTCOMMON_LIB_EXPORT JKQTPHighResTimer {
#ifdef __WINDOWS__ #ifdef __WINDOWS__
/** \brief internal: time stamp of the last call of start() */ /** \brief internal: time stamp of the last call of start() */
LARGE_INTEGER last; LARGE_INTEGER last;
/** \brief internal: timer frequency */
double freq;
#else #else
struct timeval last; struct timeval last;
#endif #endif
/** \brief internal: timer frequency */
double freq;
public: public:
/** \brief class constructor. */ /** \brief class constructor. */
JKQTPHighResTimer(); JKQTPHighResTimer();