Important: Please read the Qt Code of Conduct -

QNetworkAccessManager threads and dynamic (iOS) frameworks

  • I'm starting to think that dynamic frameworks in iOS (simulator and device) don't have have the same threading behavior as "everything else" - meaning static libraries, or no libraries at all.

    I'm using QNetworkAccessManager code that works when I:

    • link it statically
    • directly include the code

    But, when I run it as a dynamic library (in an iOS framework), the same call (sendCustomRequest()) returns like usual, but thread that actually makes the network call never starts (or never returns).

    Is this actually true? Is this expected? Is there some linking magic to get this to work? Or, do I need to do something specific to get it to work?

Log in to reply