From c02cbc8992b24143835e8493c23b8c61f61cfdbe Mon Sep 17 00:00:00 2001 From: Felix Kauselmann <2039670+selmf@users.noreply.github.com> Date: Fri, 8 May 2015 21:04:33 +0200 Subject: [PATCH] Remove non-working checks from central YACReader.pro file. --- YACReader.pro | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/YACReader.pro b/YACReader.pro index 5286ce81..528d3c41 100644 --- a/YACReader.pro +++ b/YACReader.pro @@ -1,22 +1,3 @@ TEMPLATE = subdirs SUBDIRS = YACReader YACReaderLibrary -YACReaderLibrary.depends = YACReader - -#check Qt version -QT_VERSION = $$[QT_VERSION] -QT_VERSION = $$split(QT_VERSION, ".") -QT_VER_MAJ = $$member(QT_VERSION, 0) -QT_VER_MIN = $$member(QT_VERSION, 1) - -lessThan(QT_VER_MAJ, 5) { -error(YACReader requires Qt 5 or newer but Qt $$[QT_VERSION] was detected.) - } -lessThan(QT_VER_MIN, 4) { - CONFIG += legacy_gl_widget - message ("Qt < 5.4 detected. Using QGLWidget for coverflow.") - } - -unix - { - CONFIG+=unarr - } \ No newline at end of file +YACReaderLibrary.depends = YACReader \ No newline at end of file