{"action":"closed","issue":{"url":"https://api.github.com/repos/fpoussin/QStlink2/issues/17","labels_url":"https://api.github.com/repos/fpoussin/QStlink2/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/fpoussin/QStlink2/issues/17/comments","events_url":"https://api.github.com/repos/fpoussin/QStlink2/issues/17/events","html_url":"https://github.com/fpoussin/QStlink2/issues/17","id":115521772,"number":17,"title":"'msleep' is a protected member of 'QThread' with Qt4 4.8.7_1@mac 10.11","user":{"login":"monkeyxite","id":52909,"avatar_url":"https://avatars.githubusercontent.com/u/52909?v=3","gravatar_id":"","url":"https://api.github.com/users/monkeyxite","html_url":"https://github.com/monkeyxite","followers_url":"https://api.github.com/users/monkeyxite/followers","following_url":"https://api.github.com/users/monkeyxite/following{/other_user}","gists_url":"https://api.github.com/users/monkeyxite/gists{/gist_id}","starred_url":"https://api.github.com/users/monkeyxite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkeyxite/subscriptions","organizations_url":"https://api.github.com/users/monkeyxite/orgs","repos_url":"https://api.github.com/users/monkeyxite/repos","events_url":"https://api.github.com/users/monkeyxite/events{/privacy}","received_events_url":"https://api.github.com/users/monkeyxite/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fpoussin/QStlink2/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"fpoussin","id":1305966,"avatar_url":"https://avatars.githubusercontent.com/u/1305966?v=3","gravatar_id":"","url":"https://api.github.com/users/fpoussin","html_url":"https://github.com/fpoussin","followers_url":"https://api.github.com/users/fpoussin/followers","following_url":"https://api.github.com/users/fpoussin/following{/other_user}","gists_url":"https://api.github.com/users/fpoussin/gists{/gist_id}","starred_url":"https://api.github.com/users/fpoussin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fpoussin/subscriptions","organizations_url":"https://api.github.com/users/fpoussin/orgs","repos_url":"https://api.github.com/users/fpoussin/repos","events_url":"https://api.github.com/users/fpoussin/events{/privacy}","received_events_url":"https://api.github.com/users/fpoussin/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-11-06T15:06:26Z","updated_at":"2015-11-11T00:05:29Z","closed_at":"2015-11-11T00:05:29Z","body":"As title\r\n\r\n```\r\n➜  QStlink2 git:(master) ✗ qmake\r\nProject MESSAGE: Building version 1.2.1 for Qt 4.8.7\r\nProject MESSAGE: Building QtUsb with LibUsb 1.0 support.\r\n➜  QStlink2 git:(master) ✗ make\r\nclang++ -c -pipe -stdlib=libc++ -mmacosx-version-min=10.7 -O2 -arch x86_64 -Wall -W -D__QSTL_VER__=\"\\\"1.2.1\\\"\" -DQUSB_LIBRARY -DQLIBUSB -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/Cellar/qt/4.8.7_1/mkspecs/unsupported/macx-clang-libc++ -I. -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtGui.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/lib/QtXml.framework/Versions/4/Headers -I/usr/local/Cellar/qt/4.8.7_1/include -Iinc -IQtUsb/src -I. -I. -F/usr/local/Cellar/qt/4.8.7_1/lib -o main.o src/main.cpp\r\nsrc/main.cpp:174:62: error: 'msleep' is a protected member of 'QThread'\r\n                while (w->mTfThread->isRunning()) { QThread::msleep(100); }\r\n                                                             ^\r\n/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qthread.h:116:17: note: declared protected here\r\n    static void msleep(unsigned long);\r\n                ^\r\nsrc/main.cpp:178:62: error: 'msleep' is a protected member of 'QThread'\r\n                while (w->mTfThread->isRunning()) { QThread::msleep(100); }\r\n                                                             ^\r\n/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qthread.h:116:17: note: declared protected here\r\n    static void msleep(unsigned long);\r\n                ^\r\nsrc/main.cpp:182:62: error: 'msleep' is a protected member of 'QThread'\r\n                while (w->mTfThread->isRunning()) { QThread::msleep(100); }\r\n                                                             ^\r\n/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qthread.h:116:17: note: declared protected here\r\n    static void msleep(unsigned long);\r\n                ^\r\nsrc/main.cpp:184:22: error: 'msleep' is a protected member of 'QThread'\r\n            QThread::msleep(300);\r\n                     ^\r\n/usr/local/Cellar/qt/4.8.7_1/lib/QtCore.framework/Versions/4/Headers/qthread.h:116:17: note: declared protected here\r\n    static void msleep(unsigned long);\r\n                ^\r\n4 errors generated.\r\nmake: *** [main.o] Error 1\r\n```"}}