cxxvision.pro 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. TARGET = cxxvision
  4. TEMPLATE = app
  5. CONFIG += c++20
  6. # The following define makes your compiler emit warnings if you use
  7. # any feature of Qt which as been marked as deprecated (the exact warnings
  8. # depend on your compiler). Please consult the documentation of the
  9. # deprecated API in order to know how to port your code away from it.
  10. DEFINES += QT_DEPRECATED_WARNINGS
  11. # You can also make your code fail to compile if you use deprecated APIs.
  12. # In order to do so, uncomment the following line.
  13. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  14. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  15. LIBS += -LC:\Users\Sky\Downloads\opencv\build\install\x86\vc15\lib \
  16. -lopencv_core430 \
  17. -lopencv_highgui430 \
  18. -lopencv_imgcodecs430 \
  19. -lopencv_imgproc430 \
  20. -lopencv_features2d430 \
  21. -lopencv_calib3d430 \
  22. -lopencv_video430 \
  23. -lopencv_videoio430 \
  24. -lopencv_stitching430 \
  25. -lopencv_photo430 \
  26. -lopencv_objdetect430
  27. INCLUDEPATH += C:\Users\Sky\Downloads\opencv\build\install\include
  28. DEPENDPATH += C:\Users\Sky\Downloads\opencv\build\install\include
  29. # more correct variant, how set includepath and libs for mingw
  30. # add system variable: OPENCV_SDK_DIR=D:/opencv/opencv-build/install
  31. # read http://doc.qt.io/qt-5/qmake-variable-reference.html#libs
  32. #INCLUDEPATH += $$(OPENCV_SDK_DIR)/include
  33. #LIBS += -L$$(OPENCV_SDK_DIR)/x86/mingw/lib \
  34. # -lopencv_core320 \
  35. # -lopencv_highgui320 \
  36. # -lopencv_imgcodecs320 \
  37. # -lopencv_imgproc320 \
  38. # -lopencv_features2d320 \
  39. # -lopencv_calib3d320
  40. SOURCES += \
  41. main.cpp