Merge pull request #11 from cvilas/master

compiles for Qt5 in KDE Neon 5.16.4
This commit is contained in:
Jan W. Krieger 2019-08-23 15:20:20 +02:00 committed by GitHub
commit 89e0885308
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 4 deletions

View File

@ -69,7 +69,7 @@ if (NOT CMAKE_INSTALL_INCLUDEDIR)
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__
/** \brief internal: time stamp of the last call of start() */
LARGE_INTEGER last;
/** \brief internal: timer frequency */
double freq;
#else
struct timeval last;
#endif
/** \brief internal: timer frequency */
double freq;
public:
/** \brief class constructor. */
JKQTPHighResTimer();