From 818488bbe847c50e82044e6b18349b9a97ae40f4 Mon Sep 17 00:00:00 2001 From: codestation Date: Tue, 3 May 2016 21:06:29 -0400 Subject: [PATCH] fix: add gui dep on cli build (Qt4 only). --- cli/cli.pro | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cli/cli.pro b/cli/cli.pro index 6a3869e..1a220c1 100644 --- a/cli/cli.pro +++ b/cli/cli.pro @@ -4,7 +4,9 @@ include(../common/defines.pri) TARGET = qcma_cli TEMPLATE += app QT += network sql core -QT -= gui + +greaterThan(QT_MAJOR_VERSION, 4): QT -= gui + LIBS += -L../common -lqcma_common SOURCES += \