{"action":"created","issue":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/424","labels_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/424/labels{/name}","comments_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/424/comments","events_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/424/events","html_url":"https://github.com/qbittorrent/qBittorrent/issues/424","id":10882222,"number":424,"title":"Support Qt5","user":{"login":"Gelmir","id":1910559,"avatar_url":"https://avatars.githubusercontent.com/u/1910559?v=3","gravatar_id":"","url":"https://api.github.com/users/Gelmir","html_url":"https://github.com/Gelmir","followers_url":"https://api.github.com/users/Gelmir/followers","following_url":"https://api.github.com/users/Gelmir/following{/other_user}","gists_url":"https://api.github.com/users/Gelmir/gists{/gist_id}","starred_url":"https://api.github.com/users/Gelmir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gelmir/subscriptions","organizations_url":"https://api.github.com/users/Gelmir/orgs","repos_url":"https://api.github.com/users/Gelmir/repos","events_url":"https://api.github.com/users/Gelmir/events{/privacy}","received_events_url":"https://api.github.com/users/Gelmir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2013-02-11T20:42:23Z","updated_at":"2015-03-08T20:03:40Z","closed_at":"2014-05-04T12:50:43Z","body":"It might be a little early, but still worth opening an issue.\r\n\r\nI'm currently compiling necessary fixes to be able to **compile** at least.\r\n\r\nhttps://github.com/Gelmir/qBittorrent/commits/Qt5\r\n\r\nCurrently required:\r\n\r\n1. Guarding boost/libtorrent includes with `Q_MOC_RUN` - fails at configure time otherwise. Haven't tried 5.0.1, but I'd bet bug still exists (was present since 5.0 beta1)\r\n1. Replacing `Q_WS_` macros with `Q_OS_` macros\r\n1. Replacing QString `toAscii` and `fromAscii` calls to `[to|from]Latin1` calls\r\n1. Updating qsingleapplication class\r\n1. Going away from obsolete `QHttp[Response|Request]` classes.\r\n1. Removing plastique style when building with Qt5\r\n1. Make pro/pri files compatible with Qt5"},"comment":{"url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/comments/77770970","html_url":"https://github.com/qbittorrent/qBittorrent/issues/424#issuecomment-77770970","issue_url":"https://api.github.com/repos/qbittorrent/qBittorrent/issues/424","id":77770970,"user":{"login":"john-peterson","id":207571,"avatar_url":"https://avatars.githubusercontent.com/u/207571?v=3","gravatar_id":"","url":"https://api.github.com/users/john-peterson","html_url":"https://github.com/john-peterson","followers_url":"https://api.github.com/users/john-peterson/followers","following_url":"https://api.github.com/users/john-peterson/following{/other_user}","gists_url":"https://api.github.com/users/john-peterson/gists{/gist_id}","starred_url":"https://api.github.com/users/john-peterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/john-peterson/subscriptions","organizations_url":"https://api.github.com/users/john-peterson/orgs","repos_url":"https://api.github.com/users/john-peterson/repos","events_url":"https://api.github.com/users/john-peterson/events{/privacy}","received_events_url":"https://api.github.com/users/john-peterson/received_events","type":"User","site_admin":false},"created_at":"2015-03-08T20:03:40Z","updated_at":"2015-03-08T20:03:40Z","body":"yes it's the same problem with qt4. but it goes away after i increase _WIN32_WINNT\r\n\r\n```diff\r\ndiff --git a/winconf.pri b/winconf.pri\r\nindex 267ef95..ec6bbf5 100644\r\n--- a/winconf.pri\r\n+++ b/winconf.pri\r\n@@ -26,7 +26,7 @@ DEFINES += _UNICODE\r\n DEFINES += WIN32\r\n DEFINES += _WIN32\r\n DEFINES += WIN32_LEAN_AND_MEAN\r\n-DEFINES += _WIN32_WINNT=0x0500\r\n+DEFINES += _WIN32_WINNT=0x0501\r\n DEFINES += _WIN32_IE=0x0500\r\n DEFINES += _CRT_SECURE_NO_DEPRECATE\r\n DEFINES += _SCL_SECURE_NO_DEPRECATE\r\n```"}}