QtNetwork performances when cross-compiled with mxe

  • Hi,

    I am developing an application with Qt 5.12.1
    When I build my application on windows computer with compiler Qt_5_12_1_MinGW_64_bit provided at Qt Creator installtion, when my app performs http requests, it seems that several requests can be sent at the same time and my app can send ~100 requests in a few seconds.

    When I cross-compile the same application on a Linux machine, using the cross-compiler mingw32 of mxe, the performances are not the same. It seems that http request are not sent in parallel. This result in the ~100 requests being sent in a much longer time.
    If I run the cross-compiled app.exe with the Qt libraries provided with Qt Creator, the problem disappears.

    So I think that I missed some options when compiling qt with the cross-compiler.
    I used the following command:
    make MXE_TARGETS='x86_64-w64-mingw32.shared' qt5

    Do you have any idea?



Log in to reply