forked from qt-creator/qt-creator
Enhance logging capabilities for wizard classes
* Added QDebug operator<< for the Field classes so that they could be inspected during runtime (i.e. logged) * Added optional QDebug operator<< overloads for QVariant (wizarddebug.h) - to better visualize the data parsed from the wizard.json files (QVariant objects), by using a format more in the like of json. Change-Id: I53a729b24e4f2d9c9acf1ed802ac9dc3bb67f373 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -91,8 +91,12 @@ public:
|
||||
|
||||
private:
|
||||
QSharedDataPointer<GeneratedFilePrivate> m_d;
|
||||
|
||||
friend CORE_EXPORT QDebug &operator<<(QDebug &debug, const Core::GeneratedFile &file);
|
||||
};
|
||||
|
||||
CORE_EXPORT QDebug &operator<<(QDebug &debug, const Core::GeneratedFile &file);
|
||||
|
||||
using GeneratedFiles = QList<GeneratedFile>;
|
||||
|
||||
} // namespace Core
|
||||
|
||||
Reference in New Issue
Block a user