From 14e60ea4b3c47039aa98a2cecf6abf3cf4d679a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Du=C5=A1an=20Poizl?= Date: Wed, 22 Jan 2020 22:26:24 +0100 Subject: [PATCH] Make windows build changes --- clahe.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/clahe.pro b/clahe.pro index b407799..0cad5b6 100644 --- a/clahe.pro +++ b/clahe.pro @@ -22,9 +22,13 @@ DEFINES += QT_DEPRECATED_WARNINGS # 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 -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 += \ main.cpp \