Cannot find -lQt5Networkd
-
wrote on 5 Sept 2016, 12:14 last edited by
-
wrote on 5 Sept 2016, 12:16 last edited by
do not use
LIBS += -lQt5Networkd
use
QT += network
-
wrote on 5 Sept 2016, 12:19 last edited by
@VRonin
QT += core
QT += network
QT -= guiCONFIG += c++11
TARGET = RpkX_ConsoleTester
CONFIG += console
CONFIG -= app_bundleTEMPLATE = app
SOURCES += main.cpp
server.cppIs my code in .pro. I use QT += core and QT += network, are wrong?
-
wrote on 5 Sept 2016, 12:21 last edited by
Looks fine.
- What Qt version are you using?
- on which compiler?
- on which OS?
- did you build it yourself or downloaded the binary?
-
Looks fine.
- What Qt version are you using?
- on which compiler?
- on which OS?
- did you build it yourself or downloaded the binary?
wrote on 5 Sept 2016, 12:25 last edited by@VRonin
I use a QTCreator 5.6, on Windows10.
Yes I did it.Look my build & run configurations, I think that problem are on compiler
-
wrote on 5 Sept 2016, 12:38 last edited by
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?
-
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?
wrote on 5 Sept 2016, 12:40 last edited by@VRonin
I use a MinGW.
I did the binary :D -
Hi and welcome to devnet,
Did you build Qt for both debug and release ?
-
wrote on 6 Sept 2016, 07:17 last edited by
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
4/9