diff --git a/src/Acid.Cam.v2.OpenCV3.Linux.pro b/src/Acid.Cam.v2.OpenCV3.Linux.pro index d873831..612a2b8 100644 --- a/src/Acid.Cam.v2.OpenCV3.Linux.pro +++ b/src/Acid.Cam.v2.OpenCV3.Linux.pro @@ -4,7 +4,8 @@ TEMPLATE = app TARGET = Acid_Cam_v2_Qt -QT += core gui widgets opengl network +QT += core gui opengl network +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 DEPENDPATH += . INCLUDEPATH += . /usr/include/ /usr/local/include diff --git a/src/Acid.Cam.v2.OpenCV3.pro b/src/Acid.Cam.v2.OpenCV3.pro index 58a5480..d15c01c 100644 --- a/src/Acid.Cam.v2.OpenCV3.pro +++ b/src/Acid.Cam.v2.OpenCV3.pro @@ -4,7 +4,8 @@ TEMPLATE = app TARGET = Acid_Cam_v2_Qt -QT += core gui widgets opengl network +QT += core gui opengl network +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 DEPENDPATH += . INCLUDEPATH += . /usr/include/ /usr/local/include diff --git a/src/Acid.Cam.v2.OpenCV4.Linux.pro b/src/Acid.Cam.v2.OpenCV4.Linux.pro index 873dac7..a4e10b7 100644 --- a/src/Acid.Cam.v2.OpenCV4.Linux.pro +++ b/src/Acid.Cam.v2.OpenCV4.Linux.pro @@ -4,7 +4,8 @@ TEMPLATE = app TARGET = Acid_Cam_v2_Qt -QT += core gui widgets opengl network +QT += core gui opengl network +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 DEPENDPATH += . INCLUDEPATH += . /usr/include/ /usr/local/include diff --git a/src/Acid.Cam.v2.OpenCV4.pro b/src/Acid.Cam.v2.OpenCV4.pro index 58a5480..d15c01c 100644 --- a/src/Acid.Cam.v2.OpenCV4.pro +++ b/src/Acid.Cam.v2.OpenCV4.pro @@ -4,7 +4,8 @@ TEMPLATE = app TARGET = Acid_Cam_v2_Qt -QT += core gui widgets opengl network +QT += core gui opengl network +greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 DEPENDPATH += . INCLUDEPATH += . /usr/include/ /usr/local/include