I'll just try to make it clear, i need to play protected audio files, Microsoft's DRM and apple's DRM and a specific DRM which i'll define.
In this case is phonon suitable for me ?
Any link about this topic, any advice, any idea are welcome.
Hello,
How do you realod image? If you just set source property to the same value. It won't work.
Read "this thread":http://developer.qt.nokia.com/forums/viewthread/7093/ for some ideas how to solve your problem.
miroslav is right, but I guess the more correct answer is: it depends on what connection flag you used when you connected the signal and the slot. The default flag will result in different behaviour in threaded and non-threaded cases.
for exit() i mean the stdlib function.
[quote author="Lukas Geyer" date="1328868453"][quote author="stuk" date="1328868151"]compare the output with "Text to Exit" and call exit() ?[/quote]
QApplication::quit() and QApplication:exit() does nothing if there is no event loop running (ie. before QApplication::exec() is called).[/quote]
Oh, after removing 35~36 lines of above, it looks like working just the way what i want.
But, I'm still afraid this kind of implementation is another make my hand dirty kinda thing.
Is there another kinda 'official' way to get this value out of it?
You can call terminate() to all your threads before you exit your program, by reimplementing close event on your main window and insert there a call to terminate all threads.
[quote author="Lukas Geyer" date="1328775254"]
Does classifying the same image in the same thread twice result in the same output?[/quote]
Yes. Executing run twice sequentially creates identical results and executing start twice sequentially creates identical results.