Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 4, 2023. It is now read-only.

Commit 066ff04

Browse files
committed
RestReplyPrivate: Move Q_DECLARE_PUBLIC(RestReply) in public section.
This fixes build error on Qt6.
1 parent 4bef4a9 commit 066ff04

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/restclient/restreply_p.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ public Q_SLOTS:
2828

2929
class Q_RESTCLIENT_EXPORT RestReplyPrivate : public QObjectPrivate, public QRunnable
3030
{
31-
Q_DECLARE_PUBLIC(RestReply)
3231
public:
32+
Q_DECLARE_PUBLIC(RestReply)
33+
3334
using DataType = RestReply::DataType;
3435
using Error = RestReply::Error;
3536

0 commit comments

Comments
 (0)