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. linking the libmodbus to Qt creator
Forum Updated to NodeBB v4.3 + New Features

linking the libmodbus to Qt creator

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 804 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.
  • A Offline
    A Offline
    AtlasTomson
    wrote on 31 Jul 2017, 20:29 last edited by
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 31 Jul 2017, 21:30 last edited by
      #2

      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.

      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
      • A Offline
        A Offline
        AtlasTomson
        wrote on 31 Jul 2017, 23:13 last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 1 Aug 2017, 21:24 last edited by
          #4

          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 and HEADERS variable. you are missing a backslash at the end of all concerned lines.

          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

          1/4

          31 Jul 2017, 20:29

          • Login

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