From ed5cc364453a002812e32dea7c0f28fe4eb53085 Mon Sep 17 00:00:00 2001 From: tezeb Date: Sun, 12 Mar 2017 14:03:20 +0100 Subject: Workaround for failing test building for Windows --- .appveyor.yml | 5 +---- tests/auto/util/util.pro | 7 +++++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 086f8175..f262442f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -5,14 +5,11 @@ install: build_script: - qmake qtpass.pro CONFIG+=static - mingw32-make + - mingw32-make check #after_build: - cmd: copy README.md src\release\README.txt - cmd: copy LICENSE src\release\LICENSE.txt - iscc qtpass.iss - - cmd: cd tests - - qmake - - mingw32-make - - mingw32-make check artifacts: - path: Output\qtpass-*.exe - path: src\release\qtpass.exe diff --git a/tests/auto/util/util.pro b/tests/auto/util/util.pro index 5a22d120..7e9c582a 100644 --- a/tests/auto/util/util.pro +++ b/tests/auto/util/util.pro @@ -1,5 +1,7 @@ !include(../auto.pri) { error("Couldn't find the auto.pri file!") } +message($$QMAKE_LINK_OBJECT_MAX) + SOURCES += tst_util.cpp \ OBJECTS += ../../../src/$(OBJECTS_DIR)/util.o \ @@ -27,4 +29,9 @@ INCLUDEPATH += ../../../src win32 { LIBS += -lbcrypt + RC_FILE = ../../../windows.rc +# temporary workaround for QTBUG-6453 + QMAKE_LINK_OBJECT_MAX=24 +# setting this may also work, but I can't find appropriate value right now +# QMAKE_LINK_OBJECT_SCRIPT = } -- cgit v1.2.3