1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Including only required opencv headers. Workaround for opencv bug where partial builds would lack certain headers but opencv.hpp includes them anyway resulting in a build error.

This commit is contained in:
novist 2015-01-04 17:47:21 +02:00
parent cfcf16252f
commit 313f666a2b
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@
#include <QList> #include <QList>
#include <QMutex> #include <QMutex>
#include "vpx/vpx_image.h" #include "vpx/vpx_image.h"
#include "opencv2/opencv.hpp" #include "opencv2/highgui/highgui.hpp"
#include "src/video/videosource.h" #include "src/video/videosource.h"
class CameraWorker; class CameraWorker;

View File

@ -24,7 +24,7 @@
#include <QQueue> #include <QQueue>
#include <QSize> #include <QSize>
#include "opencv2/opencv.hpp" #include "opencv2/highgui/highgui.hpp"
#include "videosource.h" #include "videosource.h"
class QTimer; class QTimer;