From fedc62b6c3ff29262e1a390966eea2c733fb6d45 Mon Sep 17 00:00:00 2001 From: sambas Date: Thu, 2 Feb 2012 16:34:46 +0200 Subject: [PATCH] OPReview-159: Linux posix timer thing fix --- ground/openpilotgcs/src/libs/qwt/qwtconfig.pri | 2 +- ground/openpilotgcs/src/libs/qwt/src/src.pro | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ground/openpilotgcs/src/libs/qwt/qwtconfig.pri b/ground/openpilotgcs/src/libs/qwt/qwtconfig.pri index b9d7538ed..c59b8d2b8 100644 --- a/ground/openpilotgcs/src/libs/qwt/qwtconfig.pri +++ b/ground/openpilotgcs/src/libs/qwt/qwtconfig.pri @@ -19,7 +19,7 @@ #QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX] unix { - QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION + #QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION } win32 { diff --git a/ground/openpilotgcs/src/libs/qwt/src/src.pro b/ground/openpilotgcs/src/libs/qwt/src/src.pro index 9c9ce2578..a70a9a8ce 100644 --- a/ground/openpilotgcs/src/libs/qwt/src/src.pro +++ b/ground/openpilotgcs/src/libs/qwt/src/src.pro @@ -23,6 +23,9 @@ win32|symbian: DEFINES += QT_DLL QWT_DLL QWT_MAKEDLL else { CONFIG += staticlib } + +unix:LIBS += -lrt + HEADERS += \ qwt.h \ qwt_abstract_scale_draw.h \