From 49ee4439a08f66e7646a73b6a339af7333d8afa9 Mon Sep 17 00:00:00 2001 From: Matthias Koefferlein Date: Mon, 23 May 2022 23:03:46 +0200 Subject: [PATCH] Linker inputs for Windows builds --- src/layview/unit_tests/unit_tests.pro | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/layview/unit_tests/unit_tests.pro b/src/layview/unit_tests/unit_tests.pro index 52017fc45..113c3dfb1 100644 --- a/src/layview/unit_tests/unit_tests.pro +++ b/src/layview/unit_tests/unit_tests.pro @@ -12,5 +12,14 @@ SOURCES = \ INCLUDEPATH += $$TL_INC $$LAYBASIC_INC $$LAYVIEW_INC $$LAYUI_INC $$DB_INC $$RDB_INC $$GSI_INC $$OUT_PWD/../layview DEPENDPATH += $$TL_INC $$LAYBASIC_INC $$LAYVIEW_INC $$LAYUI_INC $$DB_INC $$RDB_INC $$GSI_INC $$OUT_PWD/../layview -LIBS += -L$$DESTDIR_UT -lklayout_layview -lklayout_db -lklayout_tl -lklayout_gsi +LIBS += -L$$DESTDIR_UT -lklayout_layview -lklayout_laybasic -lklayout_layui -lklayout_db -lklayout_tl -lklayout_gsi + +!equals(HAVE_QT, "0") { + + INCLUDEPATH += $$LAYUI_INC + DEPENDPATH += $$LAYUI_INC + + LIBS += -lklayout_layui + +}