Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
None
-
5.11.0
-
None
-
clang 6.0, Linux 4.9 Debian Stretch
{code:java}
./configure -platform linux-clang -opensource -debug -developer-build -no-directfb -nomake examples -nomake tests -confirm-license -no-warnings-are-errors
{code}
Description
In file included from ../../include/QtTest/../../src/testlib/qtest_gui.h:53: In file included from ../../include/QtTest/qtestevent.h:1: ../../include/QtTest/../../src/testlib/qtestevent.h:119:9: error: private field '_delay' is not used [-Werror,-Wunused-private-field] int _delay; ^ ../../include/QtTest/../../src/testlib/qtestevent.h:138:24: error: private field '_action' is not used [-Werror,-Wunused-private-field] QTest::MouseAction _action; ^ ../../include/QtTest/../../src/testlib/qtestevent.h:139:21: error: private field '_button' is not used [-Werror,-Wunused-private-field] Qt::MouseButton _button; ^ ../../include/QtTest/../../src/testlib/qtestevent.h:142:9: error: private field '_delay' is not used [-Werror,-Wunused-private-field] int _delay; ^ ../../include/QtTest/../../src/testlib/qtestevent.h:158:9: error: private field '_delay' is not used [-Werror,-Wunused-private-field] int _delay; ^
Another solution would be not to build the testlib, but when I do, qmltest fails to build. I don't think it's possible to remove qmltest from the build looking at the .pro it doesn't seem conditional.
qtHaveModule(gui):qtConfig(animation) { SUBDIRS += \ quick \ qmltest