linking the libmodbus to Qt creator
Unsolved
General and Desktop
-
This post is deleted!
-
Hi and welcome to devnet,
Where is your modbus.lib file located ?
Also, since you have spaces in your path you should at least quote it otherwise the linker won't have the correct path to search in.By the way, Qt now proposes the QtSerialBut module that you might be interested in.
-
This post is deleted!
-
Don't mix Qt and Qt Creator, those are two separated project and their version number are not related.
Since you copied the libmodbus files in your project folder, I suppose you want to built them also with your project, right ?
If so, then your LIBS line is useless. However you should fix your
SOURCES
andHEADERS
variable. you are missing a backslash at the end of all concerned lines.