Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Windows Qt Deployment on Linux under wine (issue with UdpSocket connection)

Windows Qt Deployment on Linux under wine (issue with UdpSocket connection)

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    code_fodder
    wrote on last edited by
    #1

    Hi all,

    This may be more a "wine" topic, but I am hoping many people in Qt forums have tried similar things.

    I have built my project in windows XP sp3. I have a deployment that has the .exe and all the dlls it needs to run stand-alone on a windows PC.

    But now I want to run it on linux 10.10 under wine v1.4 I have a slight issue.

    When trying to bind to a UdpSocket (even on 127.0.0.1) I get the following error message:

    @fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub@

    Other then that everything else seems to work (xml, file access, logging, threads, etc...) and the program still continues to run.

    Does anyone know what this means or how I can fix it?
    Thanks,
    Fodder

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Looks like wine does not simulate loopback yet.

      (Z(:^

      1 Reply Last reply
      0
      • C Offline
        C Offline
        code_fodder
        wrote on last edited by
        #3

        loopback?, I am not sure what you mean - is that something I can turn off from my project?

        I have tried with other external IP addresses. I also have another app (non-Qt) that uses windows UDP socket which works fine.

        Thanks

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          127.0.0.1 is the loopback address.

          Ok, so it seems to be more Qt-specific. Possibly a bug. I don't think Qt is being tested on Wine at all. Since you do have a Windows machine, better use that, or cross-compile from Linux.

          (Z(:^

          1 Reply Last reply
          0
          • C Offline
            C Offline
            code_fodder
            wrote on last edited by
            #5

            Yeah, I could cross compile from linux :)

            But I just wanted to be able to run it on wine :(

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved