qt 6.6.0 clean

This commit is contained in:
kleuter
2023-11-01 22:23:55 +01:00
parent 7b5ada15e7
commit 5d8194efa7
1449 changed files with 134276 additions and 31391 deletions

View File

@ -1,8 +1,6 @@
# Copyright (C) 2022 The Qt Company Ltd.
# SPDX-License-Identifier: BSD-3-Clause
add_subdirectory(qpinger)
qt_internal_add_test(tst_qdbusabstractinterface
SOURCES
interface.cpp
@ -21,3 +19,5 @@ qt_internal_extend_target(tst_qdbusabstractinterface
-i interface.h
)
add_subdirectory(qpinger)
add_dependencies(tst_qdbusabstractinterface qpinger)

View File

@ -8,16 +8,9 @@ Interface::Interface()
{
}
// Export the sleep function
// TODO QT5: remove this class, QThread::msleep is now public
class FriendlySleepyThread : public QThread {
public:
using QThread::msleep;
};
int Interface::sleepMethod(int msec)
{
FriendlySleepyThread::msleep(msec);
QThread::sleep(std::chrono::milliseconds{msec});
return 42;
}