Skip to content

Commit 1b2153d

Browse files
author
Niels Moseley
committed
Fixed OpenGL library issue in QtCaptureTest on Linux
1 parent 1ef0ba0 commit 1b2153d

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

QtCaptureTest/QtCaptureTest.pro

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,12 @@ FORMS += mainwindow.ui
2626

2727
LIBS += -L../build/ -lopenpnp-capture
2828

29+
# add nvidia to library search path
30+
# your linux installation will probably have
31+
# a different location...
32+
linux {
33+
LIBS += -L/usr/lib/nvidia-304/
34+
}
35+
2936
# add run-path relative dylib search path
3037
QMAKE_RPATHDIR += .

QtCaptureTest/mainwindow.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <QLabel>
77
#include <QCheckBox>
88
#include <QSlider>
9+
#include <QMutex>
910
#include <vector>
1011
#include "openpnp-capture.h"
1112

0 commit comments

Comments
 (0)