Hi,
I want to create the class which extends QObject and support QSharedData. However I am given with the compiler warning as
follow:
Qt Code:
  1. ostrzeżenie:base class 'class QObject' should be explicitly initialized in the copy constructor [-Wextra]
To copy to clipboard, switch view to plain text mode 
.

Therefore I am thinking of this approach being valid or invalid, because my intention is to have the class which can be initialized with parent from any other class but with QSharedData support. How can I get this without causing compiler to complain ?