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:
parent
fe4838bb83
commit
ba206d3a8b
15
qtox.pro
15
qtox.pro
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user