diff options
author | Marc Mutz <marc.mutz@qt.io> | 2022-04-27 20:21:27 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-04-30 11:47:26 +0000 |
commit | 30bfa7b99c9406bbd0cd0309c3f91b7551d7ceee (patch) | |
tree | 74470a65179e0d4f17d1b461406d67f126a03baa /src/platformsupport | |
parent | 1074b1b2b3f7a61dd9ae79c839c3fdf13bfdf184 (diff) |
QtDeviceDiscoverySupportPrivate: includemocs
Including moc files directly into their classes' TU tends to improve
codegen and enables extended compiler warnings, e.g. about unused
private functions or fields.
Task-number: QTBUG-102886
Change-Id: I231a833bb5752b4041c69c909a5bc545e73a61d6
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit 301e51eca1aa5f81b31423d72b819370f6492337)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/platformsupport')
-rw-r--r-- | src/platformsupport/devicediscovery/qdevicediscovery_udev.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platformsupport/devicediscovery/qdevicediscovery_udev.cpp b/src/platformsupport/devicediscovery/qdevicediscovery_udev.cpp index 6f626079cf..4781ef7a00 100644 --- a/src/platformsupport/devicediscovery/qdevicediscovery_udev.cpp +++ b/src/platformsupport/devicediscovery/qdevicediscovery_udev.cpp @@ -258,3 +258,5 @@ bool QDeviceDiscoveryUDev::checkDeviceType(udev_device *dev) } QT_END_NAMESPACE + +#include "moc_qdevicediscovery_udev_p.cpp" |