Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error uses QNetworkInterface::allInterfaces()
Qt 6.11 is out! See what's new in the release blog

Error uses QNetworkInterface::allInterfaces()

Scheduled Pinned Locked Moved General and Desktop
11 Posts 3 Posters 4.2k Views 1 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    If you double click the exe the same rules applies as in the "deployment documentation":http://qt-project.org/doc/qt-4.8/deployment-windows.html

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    1 Reply Last reply
    0
    • P Offline
      P Offline
      phamvanan
      wrote on last edited by
      #3

      Hi,
      I copied dll files (such as: QtNetworkd.dll, QtCore4.dll, QtGui4.dll) which i link library in project into directory same with exe file but also crashed.

      -PVA-

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Did you check each point of the deployment doc ?

        Also verify that you have all dependencies with Dependency Walker.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

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

          [quote author="phamvanan" date="1375260031"]Hi,
          I copied dll files (such as: QtNetworkd.dll, QtCore4.dll, QtGui4.dll) which i link library in project into directory same with exe file but also crashed.[/quote]

          you used QtNetworkd.dll or is it just a typo? QtNetworkd.dll is for debug builds.

          Please visit my open-source projects at https://github.com/Code-ReaQtor.

          1 Reply Last reply
          0
          • P Offline
            P Offline
            phamvanan
            wrote on last edited by
            #6

            Really sorry you, this is my mistake. I use QtNetwork4.dll, not QtNetworkd4.dll
            Thanks.

            -PVA-

            1 Reply Last reply
            0
            • P Offline
              P Offline
              phamvanan
              wrote on last edited by
              #7

              I try to build debug mode in QtCreator and then runing .exe file, result not crashed. But i switch release mode to build, i get crashed when running .exe file.

              -PVA-

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Do you mean it also crashes when started from QtCreator in release mode ?

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  phamvanan
                  wrote on last edited by
                  #9

                  No, I don't.
                  I'm running in QtCreator in release mode not crash, but runing from .exe file is crashed. Also debug mode, both start from QtCreator and exe file are fine working.

                  -PVA-

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Then again, did you check that you have all dependencies/plugins in the exe folder ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • P Offline
                      P Offline
                      phamvanan
                      wrote on last edited by
                      #11

                      OK. thank you for your help.
                      Let me see again.

                      -PVA-

                      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