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. Cannot find -lQt5Networkd
QtWS25 Last Chance

Cannot find -lQt5Networkd

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 1.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.
  • _ Offline
    _ Offline
    _Pedro_Dev
    wrote on last edited by
    #1

    Hi, I have a problem with network library.
    Can help me!
    0_1473077623674_error.PNG

    I´m not found problem!

    1 Reply Last reply
    0
    • VRoninV Offline
      VRoninV Offline
      VRonin
      wrote on last edited by
      #2

      do not use

      LIBS += -lQt5Networkd
      

      use

      QT += network
      

      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
      ~Napoleon Bonaparte

      On a crusade to banish setIndexWidget() from the holy land of Qt

      _ 1 Reply Last reply
      1
      • VRoninV VRonin

        do not use

        LIBS += -lQt5Networkd
        

        use

        QT += network
        
        _ Offline
        _ Offline
        _Pedro_Dev
        wrote on last edited by
        #3

        @VRonin
        QT += core
        QT += network
        QT -= gui

        CONFIG += c++11

        TARGET = RpkX_ConsoleTester
        CONFIG += console
        CONFIG -= app_bundle

        TEMPLATE = app

        SOURCES += main.cpp
        server.cpp

        Is my code in .pro. I use QT += core and QT += network, are wrong?

        1 Reply Last reply
        0
        • VRoninV Offline
          VRoninV Offline
          VRonin
          wrote on last edited by
          #4

          Looks fine.

          • What Qt version are you using?
          • on which compiler?
          • on which OS?
          • did you build it yourself or downloaded the binary?

          "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
          ~Napoleon Bonaparte

          On a crusade to banish setIndexWidget() from the holy land of Qt

          _ 1 Reply Last reply
          0
          • VRoninV VRonin

            Looks fine.

            • What Qt version are you using?
            • on which compiler?
            • on which OS?
            • did you build it yourself or downloaded the binary?
            _ Offline
            _ Offline
            _Pedro_Dev
            wrote on last edited by
            #5

            @VRonin
            I use a QTCreator 5.6, on Windows10.
            Yes I did it.

            Look my build & run configurations, I think that problem are on compiler0_1473078344557_erro1.PNG

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by
              #6

              Yes I did it.

              You did what, sorry?

              Looks like your linker can't find the library files.

              What compiler are you using? MSVC or MinGW?

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              _ 1 Reply Last reply
              0
              • VRoninV VRonin

                Yes I did it.

                You did what, sorry?

                Looks like your linker can't find the library files.

                What compiler are you using? MSVC or MinGW?

                _ Offline
                _ Offline
                _Pedro_Dev
                wrote on last edited by
                #7

                @VRonin
                I use a MinGW.
                I did the binary :D

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

                  Hi and welcome to devnet,

                  Did you build Qt for both debug and release ?

                  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
                  • VRoninV Offline
                    VRoninV Offline
                    VRonin
                    wrote on last edited by
                    #9

                    Did you try compiling from command line instead on Qt Creator (I'm trying to understand if it's a problem with Qt Creator configuration or you are really missing the libraries)?

                    You need to call qtenv2.bat from your Qt bin directory to set up the environment

                    "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                    ~Napoleon Bonaparte

                    On a crusade to banish setIndexWidget() from the holy land of Qt

                    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