-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add qInfo macros link for Qt4, add url output for network error
- Loading branch information
Sergey Dryabzhinsky
committed
Oct 5, 2020
1 parent
777df67
commit aa6a33c
Showing
4 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
/** | ||
* Add debug macros for QT < 5.5.0 | ||
*/ | ||
|
||
#ifndef __QINFO_H | ||
#define __QINFO_H | ||
|
||
#if QT_VERSION < 0x050500 | ||
#define qInfo qDebug | ||
#define qWarning qDebug | ||
#define qFatal qDebug | ||
#define qCritical qDebug | ||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters