Make windows build changes
This commit is contained in:
@@ -22,9 +22,13 @@ DEFINES += QT_DEPRECATED_WARNINGS
|
|||||||
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
# You can also select to disable deprecated APIs only up to a certain version of Qt.
|
||||||
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
||||||
|
|
||||||
CONFIG += c++11 link_pkgconfig
|
win32:LIBS += -LC:\msys64\mingw64\lib -LC:\msys64\mingw64\bin -lopencv_imgcodecs -lopencv_imgproc -lopencv_core
|
||||||
|
win32:INCLUDEPATH += C:\msys64\mingw64\include\ C:\msys64\mingw64\include\opencv4
|
||||||
|
|
||||||
PKGCONFIG += opencv
|
CONFIG += c++11
|
||||||
|
|
||||||
|
unix:CONFIG += link_pkgconfig
|
||||||
|
unix:PKGCONFIG += opencv
|
||||||
|
|
||||||
SOURCES += \
|
SOURCES += \
|
||||||
main.cpp \
|
main.cpp \
|
||||||
|
|||||||
Reference in New Issue
Block a user