OpenCV_Cuda_Test1.pro 1.2 KB

123456789101112131415161718192021222324252627282930313233
  1. QT -= gui
  2. CONFIG += c++11 console
  3. CONFIG -= app_bundle
  4. # The following define makes your compiler emit warnings if you use
  5. # any feature of Qt which as been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if you use deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. INCLUDEPATH += H:\_Downloads\opencv\build\include
  14. LIBS += C:\opencv-build\bin\libopencv_core412.dll
  15. LIBS += C:\opencv-build\bin\libopencv_highgui412.dll
  16. LIBS += C:\opencv-build\bin\libopencv_imgcodecs412.dll
  17. LIBS += C:\opencv-build\bin\libopencv_imgproc412.dll
  18. LIBS += C:\opencv-build\bin\libopencv_features2d412.dll
  19. LIBS += C:\opencv-build\bin\libopencv_calib3d412.dll
  20. SOURCES += \
  21. main.cpp
  22. # Default rules for deployment.
  23. qnx: target.path = /tmp/$${TARGET}/bin
  24. else: unix:!android: target.path = /opt/$${TARGET}/bin
  25. !isEmpty(target.path): INSTALLS += target