OpenCV_Webcam.pro 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2020-04-25T19:22:31
  4. #
  5. #-------------------------------------------------
  6. QT += core gui
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = OpenCV_Webcam
  9. TEMPLATE = app
  10. # The following define makes your compiler emit warnings if you use
  11. # any feature of Qt which has been marked as deprecated (the exact warnings
  12. # depend on your compiler). Please consult the documentation of the
  13. # deprecated API in order to know how to port your code away from it.
  14. DEFINES += QT_DEPRECATED_WARNINGS
  15. # You can also make your code fail to compile if you use deprecated APIs.
  16. # In order to do so, uncomment the following line.
  17. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  18. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  19. CONFIG += c++11
  20. SOURCES += \
  21. main.cpp \
  22. mainwindow.cpp
  23. HEADERS += \
  24. mainwindow.h
  25. FORMS += \
  26. mainwindow.ui
  27. INCLUDEPATH += H:\_Downloads\opencv\build\include
  28. LIBS += C:\opencv-build\bin\libopencv_core412.dll
  29. LIBS += C:\opencv-build\bin\libopencv_highgui412.dll
  30. LIBS += C:\opencv-build\bin\libopencv_imgcodecs412.dll
  31. LIBS += C:\opencv-build\bin\libopencv_imgproc412.dll
  32. LIBS += C:\opencv-build\bin\libopencv_features2d412.dll
  33. LIBS += C:\opencv-build\bin\libopencv_video412.dll
  34. LIBS += C:\opencv-build\bin\libopencv_videoio412.dll
  35. # Default rules for deployment.
  36. qnx: target.path = /tmp/$${TARGET}/bin
  37. else: unix:!android: target.path = /opt/$${TARGET}/bin
  38. !isEmpty(target.path): INSTALLS += target