# kdesrc-build running: 'ninja' '-j' '8' # from directory: /opt/kde/build/kweathercore [1/55] Generating ts... [2/55] Generating mo... [3/55] Automatic MOC for target KWeatherCore [4/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/KWeatherCore_autogen/mocs_compilation.cpp.o [5/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/dailyweatherforecast.cpp.o [6/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/locationqueryreply.cpp.o [7/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/locationquery.cpp.o [8/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/geotimezone.cpp.o [9/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/weatherforecast.cpp.o [10/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/metnoparser.cpp.o /opt/kde/src/kweathercore/src/metnoparser.cpp: In member function 'bool KWeatherCore::MetNoParser::isDayTime(const QDateTime&) const': /opt/kde/src/kweathercore/src/metnoparser.cpp:91:61: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 91 | auto sunrise = QDateTime(dt.date(), sunriseTime, Qt::UTC); | ^ In file included from /usr/include/qt6/QtCore/qfileinfo.h:11, from /usr/include/qt6/QtCore/qdir.h:9, from /usr/include/qt6/QtCore/QDir:1, from /opt/kde/src/kweathercore/src/kweathercore_p.h:12, from /opt/kde/src/kweathercore/src/metnoparser.cpp:8: /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/src/metnoparser.cpp:92:59: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 92 | auto sunset = QDateTime(dt.date(), sunsetTime, Qt::UTC); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ [11/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/kweathercore.cpp.o [12/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/capalertinfo.cpp.o [13/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/pendingweatherforecast.cpp.o [14/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/capalertmessage.cpp.o [15/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/caparea.cpp.o [16/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/capparser.cpp.o [17/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/capreference.cpp.o [18/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/reply.cpp.o [19/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/locationqueryresult.cpp.o [20/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/hourlyweatherforecast.cpp.o [21/55] Building CXX object src/CMakeFiles/KWeatherCore.dir/weatherforecastsource.cpp.o [22/55] Linking CXX shared library bin/libKWeatherCore.so.24.11.70 [23/55] Creating library symlink bin/libKWeatherCore.so.6 bin/libKWeatherCore.so [24/55] Automatic MOC for target hourlyweatherforecasttest [25/55] Building CXX object autotests/CMakeFiles/hourlyweatherforecasttest.dir/hourlyweatherforecasttest_autogen/mocs_compilation.cpp.o [26/55] Building CXX object autotests/CMakeFiles/hourlyweatherforecasttest.dir/hourlyweatherforecasttest.cpp.o [27/55] Automatic MOC for target geotimezonetest [28/55] Automatic MOC for target metnoparsertest [29/55] Building CXX object autotests/CMakeFiles/geotimezonetest.dir/geotimezonetest_autogen/mocs_compilation.cpp.o [30/55] Building CXX object autotests/CMakeFiles/metnoparsertest.dir/metnoparsertest_autogen/mocs_compilation.cpp.o [31/55] Building CXX object autotests/CMakeFiles/geotimezonetest.dir/geotimezonetest.cpp.o [32/55] Building CXX object autotests/CMakeFiles/metnoparsertest.dir/metnoparsertest.cpp.o [33/55] Automatic MOC for target weatherforecasttest [34/55] Building CXX object autotests/CMakeFiles/weatherforecasttest.dir/weatherforecasttest_autogen/mocs_compilation.cpp.o [35/55] Automatic MOC for target capparsertest [36/55] Building CXX object autotests/CMakeFiles/capparsertest.dir/capparsertest_autogen/mocs_compilation.cpp.o [37/55] Building CXX object autotests/CMakeFiles/weatherforecasttest.dir/weatherforecasttest.cpp.o [38/55] Automatic MOC for target locationquerytest [39/55] Building CXX object autotests/CMakeFiles/capparsertest.dir/capparsertest.cpp.o In file included from /usr/include/qt6/QtTest/qtest.h:13, from /usr/include/qt6/QtTest/QTest:1, from /opt/kde/src/kweathercore/autotests/capparsertest.cpp:13: /opt/kde/src/kweathercore/autotests/capparsertest.cpp: In member function 'void CapParserTest::testParseCap()': /opt/kde/src/kweathercore/autotests/capparsertest.cpp:30:103: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 30 | QCOMPARE(alert.sentTime(), QDateTime({2003, 06, 17}, {14, 57}, Qt::OffsetFromUTC, -7 * 60 * 60)); | ^ In file included from /usr/include/qt6/QtCore/QDateTime:1, from /opt/kde/src/kweathercore/src/capalertinfo.h:9, from /opt/kde/build/kweathercore/autotests/../src/kweathercore/capalertinfo.h:1, from /opt/kde/build/kweathercore/autotests/../src/KWeatherCore/CAPAlertInfo:1, from /opt/kde/src/kweathercore/autotests/capparsertest.cpp:6: /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp:40:103: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 40 | QCOMPARE(info.expireTime(), QDateTime({2003, 06, 17}, {16, 0}, Qt::OffsetFromUTC, -7 * 60 * 60)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp: In member function 'void CapParserTest::testMultiArea()': /opt/kde/src/kweathercore/autotests/capparsertest.cpp:81:106: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 81 | QCOMPARE(alert.sentTime(), QDateTime({2022, 8, 10}, {16, 12, 20}, Qt::OffsetFromUTC, +2 * 60 * 60)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp: In member function 'void CapParserTest::testCircleArea()': /opt/kde/src/kweathercore/autotests/capparsertest.cpp:120:94: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 120 | QCOMPARE(alert.sentTime(), QDateTime({2022, 8, 01}, {0, 40, 48}, Qt::OffsetFromUTC, 0)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp: In member function 'void CapParserTest::testPolygon()': /opt/kde/src/kweathercore/autotests/capparsertest.cpp:145:106: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 145 | QCOMPARE(alert.sentTime(), QDateTime({2022, 8, 12}, {13, 22, 45}, Qt::OffsetFromUTC, -3 * 60 * 60)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp: In member function 'void CapParserTest::testReferences()': /opt/kde/src/kweathercore/autotests/capparsertest.cpp:174:95: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 174 | QCOMPARE(ref.sent(), QDateTime({2022, 8, 26}, {21, 29}, Qt::OffsetFromUTC, 2 * 60 * 60)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ /opt/kde/src/kweathercore/autotests/capparsertest.cpp:179:94: warning: 'QDateTime::QDateTime(QDate, QTime, Qt::TimeSpec, int)' is deprecated: Pass QTimeZone instead [-Wdeprecated-declarations] 179 | QCOMPARE(ref.sent(), QDateTime({2022, 8, 26}, {22, 3}, Qt::OffsetFromUTC, 2 * 60 * 60)); | ^ /usr/include/qt6/QtCore/qdatetime.h:364:5: note: declared here 364 | QDateTime(QDate date, QTime time, Qt::TimeSpec spec, int offsetSeconds = 0); | ^~~~~~~~~ [40/55] Building CXX object autotests/CMakeFiles/locationquerytest.dir/locationquerytest_autogen/mocs_compilation.cpp.o [41/55] Building CXX object autotests/CMakeFiles/locationquerytest.dir/locationquerytest.cpp.o [42/55] Automatic MOC for target dailyweatherforecasttest [43/55] Building CXX object autotests/CMakeFiles/dailyweatherforecasttest.dir/dailyweatherforecasttest_autogen/mocs_compilation.cpp.o [44/55] Automatic MOC for target pendingweatherforecasttest [45/55] Building CXX object autotests/CMakeFiles/pendingweatherforecasttest.dir/pendingweatherforecasttest_autogen/mocs_compilation.cpp.o [46/55] Building CXX object autotests/CMakeFiles/dailyweatherforecasttest.dir/dailyweatherforecasttest.cpp.o [47/55] Building CXX object autotests/CMakeFiles/pendingweatherforecasttest.dir/pendingweatherforecasttest.cpp.o [48/55] Linking CXX executable bin/hourlyweatherforecasttest [49/55] Linking CXX executable bin/geotimezonetest [50/55] Linking CXX executable bin/metnoparsertest [51/55] Linking CXX executable bin/weatherforecasttest [52/55] Linking CXX executable bin/locationquerytest [53/55] Linking CXX executable bin/capparsertest [54/55] Linking CXX executable bin/dailyweatherforecasttest [55/55] Linking CXX executable bin/pendingweatherforecasttest