MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003580 | Doomseeker | [All Projects] Cleanup | public | 2018-12-17 04:07 | 2019-07-30 10:13 |
|
Reporter | WubTheCaptain | |
Assigned To | WubTheCaptain | |
Priority | normal | Severity | tweak | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | 1.2 | |
Target Version | 1.3 | Fixed in Version | 1.3 | |
|
Summary | 0003580: Deprecated use of global Qt declaration Q_OS_MAC |
Description | All declarations of Q_OS_MAC and Q_OS_OSX are deprecated in Qt 5 (at least since Qt 5.6). There's few of them in Doomseeker and Zandronum plugin.
We should probably use Q_OS_DARWIN instead. |
Steps To Reproduce | In 1.2 source root directory:
$ grep -r "Q_OS_MAC" .
./src/plugins/zandronum/zandronumbinaries.cpp:#ifndef Q_OS_MAC
./src/plugins/zandronum/zandronumbinaries.cpp:#ifdef Q_OS_MAC
./src/plugins/zandronum/zandronumbinaries.cpp: #ifdef Q_OS_MAC
./src/plugins/zandronum/zandronumengineplugin.cpp:#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
./src/core/gui/widgets/serversstatuswidget.cpp:#ifndef Q_OS_MAC
./src/core/apprunner.h:#ifdef Q_OS_MAC
./src/core/version.cpp: #elif defined(Q_OS_MAC)
./src/core/apprunner.cpp:#ifdef Q_OS_MAC
./src/core/apprunner.cpp: #ifdef Q_OS_MAC
./src/core/commandline.cpp:#ifdef Q_OS_MAC
./src/core/datapaths.cpp:#ifdef Q_OS_MAC
./src/core/datapaths.cpp:#if !defined(Q_OS_MAC)
./src/core/datapaths.cpp:#ifdef Q_OS_MAC
./src/core/datapaths.cpp:#if !defined(Q_OS_MAC) && !defined(Q_OS_WIN32)
./src/core/main.cpp:#ifdef Q_OS_MAC
./src/core/updater/updatechannel.cpp:#elif defined(Q_OS_MAC)
./src/core/updater/updateinstaller.cpp:#ifdef Q_OS_MAC
./src/core/updater/updatepackagefilter.cpp:#if !defined(Q_OS_MAC) || defined(__x86_64__)
$ grep -r "Q_OS_OSX" src/ | wc -l
0 |
Additional Information | 'https://doc.qt.io/qt-5/qtglobal.html#Q_OS_MAC [^]' |
Tags | No tags attached. |
Relationships | |
Attached Files | 0001-Replace-deprecated-Q_OS_MAC-definitions-from-Qt.patch (8,172) 2018-12-17 04:28 https://zandronum.com/tracker/file_download.php?file_id=2447&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2018-12-17 04:07 | WubTheCaptain | New Issue | |
2018-12-17 04:07 | WubTheCaptain | Assigned To | => WubTheCaptain |
2018-12-17 04:07 | WubTheCaptain | Status | new => assigned |
2018-12-17 04:28 | WubTheCaptain | File Added: 0001-Replace-deprecated-Q_OS_MAC-definitions-from-Qt.patch | |
2018-12-17 04:28 | WubTheCaptain | Note Added: 0020259 | |
2018-12-17 04:28 | WubTheCaptain | Status | assigned => needs review |
2018-12-17 04:28 | WubTheCaptain | Target Version | => 1.3 |
2018-12-17 04:29 | WubTheCaptain | Note Added: 0020260 | |
2018-12-17 04:36 | WubTheCaptain | Description Updated | bug_revision_view_page.php?rev_id=12311#r12311 |
2018-12-17 04:57 | WubTheCaptain | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12313#r12313 |
2018-12-17 04:58 | WubTheCaptain | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=12314#r12314 |
2019-06-22 11:15 | Zalewa | Note Added: 0020805 | |
2019-06-22 11:25 | WubTheCaptain | Status | needs review => resolved |
2019-06-22 11:25 | WubTheCaptain | Fixed in Version | => 1.3 |
2019-06-22 11:25 | WubTheCaptain | Resolution | open => fixed |
2019-07-30 10:13 | WubTheCaptain | Status | resolved => closed |