diff options
author | Mårten Nordheim <marten.nordheim@qt.io> | 2024-04-02 14:41:50 +0200 |
---|---|---|
committer | Mårten Nordheim <marten.nordheim@qt.io> | 2024-04-03 10:11:26 +0200 |
commit | f2159d71313cca1d27a9c30da8e7709ea23320e2 (patch) | |
tree | f3cb255b4b338af95361bbe11f4cb5b25118c333 /src/network | |
parent | b058a9c7129e78df4c900fe6484384bd2a0d6566 (diff) |
QRestAccessManager: fix syncqt generation
Apparently it has trouble with multiple attributes between the
class keyword and the class name, looking only for the EXPORT
macros.
As a quick band-aid we can add the #pragma to tell syncqt
to generate the header explicitly.
Pick-to: 6.7
Fixes: QTBUG-123875
Change-Id: If155a5b667b9e71d43dfac04ad19caee0ff23793
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Juha Vuolle <juha.vuolle@qt.io>
Diffstat (limited to 'src/network')
-rw-r--r-- | src/network/access/qrestaccessmanager.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/access/qrestaccessmanager.h b/src/network/access/qrestaccessmanager.h index f23e2c8b6e..3245b41785 100644 --- a/src/network/access/qrestaccessmanager.h +++ b/src/network/access/qrestaccessmanager.h @@ -4,6 +4,10 @@ #ifndef QRESTACCESSMANAGER_H #define QRESTACCESSMANAGER_H +#if 0 +#pragma qt_class(QRestAccessManager) +#endif + #include <QtNetwork/qnetworkaccessmanager.h> QT_BEGIN_NAMESPACE |