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
Forum Updated to NodeBB v4.3 + New Features

Cannot find -lQt5Networkd

Scheduled Pinned Locked Moved Unsolved General and Desktop
9 Posts 3 Posters 1.9k 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.
  • _ Offline
    _ Offline
    _Pedro_Dev
    wrote on 5 Sept 2016, 12:14 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
    • V Offline
      V Offline
      VRonin
      wrote on 5 Sept 2016, 12:16 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 5 Sept 2016, 12:19
      1
      • V VRonin
        5 Sept 2016, 12:16

        do not use

        LIBS += -lQt5Networkd
        

        use

        QT += network
        
        _ Offline
        _ Offline
        _Pedro_Dev
        wrote on 5 Sept 2016, 12:19 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
        • V Offline
          V Offline
          VRonin
          wrote on 5 Sept 2016, 12:21 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 5 Sept 2016, 12:25
          0
          • V VRonin
            5 Sept 2016, 12:21

            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 5 Sept 2016, 12:25 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
            • V Offline
              V Offline
              VRonin
              wrote on 5 Sept 2016, 12:38 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 5 Sept 2016, 12:40
              0
              • V VRonin
                5 Sept 2016, 12:38

                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 5 Sept 2016, 12:40 last edited by
                #7

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

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 5 Sept 2016, 21:56 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
                  • V Offline
                    V Offline
                    VRonin
                    wrote on 6 Sept 2016, 07:17 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

                    4/9

                    5 Sept 2016, 12:21

                    • Login

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