Qt Service: Fix compilation with Qt 5 with define QTSERVICE_DEBUG.
authorFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 13 Jan 2015 11:23:59 +0000 (12:23 +0100)
committerFriedemann Kleint <Friedemann.Kleint@theqtcompany.com>
Tue, 13 Jan 2015 13:10:07 +0000 (14:10 +0100)
commite99435874aba270013f801316b863402ccff3fd2
treeb77884feb633fa1a8592b767b7a7b4639a14698e
parent17b56547d6e0d9a06603231fe2384474f9144829
Qt Service: Fix compilation with Qt 5 with define QTSERVICE_DEBUG.

Use Qt 5's new message handler within #ifdef and rewrite
code use QByteArray instead of using toAscii(), which no
longer exists in Qt 5.

Change-Id: Iad6aa794c6578fd796e3b2bb402d3e290bdc711f
Task-number: QTSOLBUG-184
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
qtservice/src/qtservice.cpp