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

Only compile v4l2 support on *nix

This commit is contained in:
tux3 2015-06-01 17:11:54 +02:00
parent fe4838bb83
commit ba206d3a8b

View File

@ -429,6 +429,14 @@ win32 {
src/platform/camera/directshow.cpp src/platform/camera/directshow.cpp
} }
unix {
HEADERS += \
src/platform/camera/v4l2.h
SOURCES += \
src/platform/camera/v4l2.cpp
}
SOURCES += \ SOURCES += \
src/audio.cpp \ src/audio.cpp \
src/historykeeper.cpp \ src/historykeeper.cpp \
@ -459,9 +467,7 @@ SOURCES += \
src/video/cameradevice.cpp \ src/video/cameradevice.cpp \
src/video/camerasource.cpp \ src/video/camerasource.cpp \
src/video/corevideosource.cpp \ src/video/corevideosource.cpp \
src/core/toxid.cpp \ src/core/toxid.cpp
src/platform/camera/v4l2.cpp
HEADERS += \ HEADERS += \
src/audio.h \ src/audio.h \
@ -494,5 +500,4 @@ HEADERS += \
src/video/camerasource.h \ src/video/camerasource.h \
src/video/corevideosource.h \ src/video/corevideosource.h \
src/video/videomode.h \ src/video/videomode.h \
src/core/toxid.h \ src/core/toxid.h
src/platform/camera/v4l2.h