November 1, 2011

Maxim Prishchepa Maxim Prishchepa
Lab Rat
96 posts

qInstallMsgHandler doesn’t work at QtService App, is it true?

 

Hi all!
I create a QtService App, then at the constructor i invoke qInstallMsgHandler function and send as parameter my function (QtMsgHandler type). At QApplication – it’s work, but at Qtservice – not, what I’m doing wrong?
Tnx 4 the help!

 Signature 

Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

2 replies

November 1, 2011

Gerolf Gerolf
Area 51 Engineer
3210 posts

How do you check if it works?
What exactyl do you do and what do you consider?
what is the result?

 Signature 

Nokia Certified Qt Specialist.
Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz)

November 1, 2011

Maxim Prishchepa Maxim Prishchepa
Lab Rat
96 posts

At this task, i write all info to the text file, i have 2 projects at one solution, first – for debug service (there i write all info to the QTextWidget and to the file), and second – it’s a service project, witch use same source code as first, but have another application at the main function and don’t use widget for display info (just log file).

 Signature 

Programming Is Like Sex: One mistake and you have to support it for the rest of your life. (Michael Sinz).

 
  ‹‹ Please, remember int!      QTableWidget itemDoubleClicked signal link to textEdit ››

You must log in to post a reply. Not a member yet? Register here!