mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 19:13:38 +02:00
don't include XnCppWrapper if Q_MOC_RUN is defined
This commit is contained in:
parent
c34bc4173b
commit
b3fc378a0f
1 changed files with 4 additions and 3 deletions
|
@ -9,6 +9,10 @@
|
|||
#ifndef __interface__Webcam__
|
||||
#define __interface__Webcam__
|
||||
|
||||
#if defined(HAVE_OPENNI) && !defined(Q_MOC_RUN)
|
||||
#include <XnCppWrapper.h>
|
||||
#endif
|
||||
|
||||
#include <QMetaType>
|
||||
#include <QObject>
|
||||
#include <QThread>
|
||||
|
@ -19,9 +23,6 @@
|
|||
|
||||
#include <opencv2/opencv.hpp>
|
||||
|
||||
#ifdef HAVE_OPENNI
|
||||
#include <XnCppWrapper.h>
|
||||
#endif
|
||||
|
||||
#include <vpx_codec.h>
|
||||
|
||||
|
|
Loading…
Reference in a new issue