QNetworkAccessManager doesn't emit finished without blocking current thread
-
[quote author="blokant" date="1396679021"]Singleton may be not so good idea[/quote]Why not?
[quote]But... what if i wand to split a part of my app as library later, then i will get dependency injection: users will have to give QNAM instance to my constructor, is it right way?[/quote]Your library should be the one that creates the QNAM. Users of your library shouldn't need to know that you are using a QNAM behind the scenes.