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

QtSerialport

Scheduled Pinned Locked Moved Unsolved General and Desktop
qtserialport
6 Posts 2 Posters 2.1k Views 2 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.
  • MRaitmanM Offline
    MRaitmanM Offline
    MRaitman
    wrote on last edited by
    #1

    I installed the QT version below:
    Qt Creator 3.5.1 (opensource)
    Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit) into a VirtualBox on my Windows 7 PC running Ubuntu 15.10 installed from a .vdi virtual disk image

    It is my understanding that QtSerialport is supposedly included with all versions of QT past 5.1

    Yet, when I include QT += serialport in my project file and run qmake I get:
    error: Unknown module(s) in QT: serialport

    If I ignore that and remove it from the project file when I build it can't resolve #include <QSerialPort> in any of my c++ files, not that I thought that would ever link correctly anyway

    I don't see any library files associated with QtSerialport in any directory, nor do I see the include files needed.

    So, how is QtSerialport part of all distributions past 5.1 but it doesn't show up? How do I get it there?

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

      Hi,

      How did you instal Qt ? What version did you install ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      MRaitmanM 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        How did you instal Qt ? What version did you install ?

        MRaitmanM Offline
        MRaitmanM Offline
        MRaitman
        wrote on last edited by
        #3

        @MRaitman said:

        I installed the QT version below:
        Qt Creator 3.5.1 (opensource)
        Based on Qt 5.5.1 (GCC 4.9.1 20140922 (Red Hat 4.9.1-10), 32 bit)

        I downloaded the above version of open source QT from the QT site, then ran the install executable qt-opensource-linux-x86-5.5.1.run from a linux terminal window in my virtualbox

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

          That's the informations about Qt Creator, not about the Qt version you are using.

          You might be very well be using Qt 4 to build your application which would explain why you don't have access to the QtSerialPort module.

          By the way, it's Qt, QT stands for Apple QuickTime which you could also be using.

          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
          • MRaitmanM Offline
            MRaitmanM Offline
            MRaitman
            wrote on last edited by
            #5

            Read it again. It says Qt Creator 3.5.1 based on Qt 5.5.1 and the install executable also says 5.5.1 Are you saying I could end up with a Qt version 4 in something that is tagged with version 5.5.1 on it? That makes no sense.

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

              I know what it says: It's the information about Qt Creator and the version of Qt used to build it.

              That in itself has no incidence on the version of Qt you'll be using for your development. You can develop your application with many different version of Qt be it Qt 4 / Qt 5 / Qt for Android etc.

              That information can be found in the preferences under Build and Run where you have the Kits and Qt versions you installed or that was detected.

              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

              • Login

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