aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ostinato/ModelTest.patch
blob: d01a1e7b0d4e06510c5a8663f6fb5113d1bfb2cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Undefined reference to ModelTest::ModelTest under defaults.
Clearly, we're not in a debug mode, but the sources think we are.

Patch is not upstream, made by SpaceToast on #alpine-devel
diff -ur a/client/ostinato.pro b/client/ostinato.pro
--- a/client/ostinato.pro	2019-05-28 09:32:50.000000000 -0400
+++ b/client/ostinato.pro	2019-06-04 19:14:23.477762179 -0400
@@ -123,6 +123,6 @@
 
 INCLUDEPATH += "../extra/modeltest"
 greaterThan(QT_MINOR_VERSION, 6) {
-CONFIG(debug, debug|release): LIBS += -L"../extra/modeltest/$(OBJECTS_DIR)/" -lmodeltest
-CONFIG(debug, debug|release): QT += testlib
+LIBS += -L"../extra/modeltest/$(OBJECTS_DIR)/" -lmodeltest
+QT += testlib
 }