Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Solved Project ERROR: Unknown module(s) in QT: serialbus

    General and Desktop
    4
    6
    5093
    Loading More Posts
    • 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 Former User last edited by

      I copied the example project from here (https://doc.qt.io/qt-5/qtserialbus-can-example.html) because I can't seem to find that particulat example in the QT creator example page.

      I opened the project with .pro and tried to build it and I encountered that error. I can't seem to find the module.

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        Run your Qt Maintenance Tool and install the QtSerialBus module, maybe it is missing. I think it was added to Qt around Qt 5.7. Or maybe 5.8? Can't recall now.

        (Z(:^

        1 Reply Last reply Reply Quote 1
        • aha_1980
          aha_1980 Lifetime Qt Champion last edited by

          @KayElls said in Project ERROR: Unknown module(s) in QT: serialbus:

          I copied the example project from here (https://doc.qt.io/qt-5/qtserialbus-can-example.html) because I can't seem to find that particulat example in the QT creator example page.

          Hello, and welcome!
          Which Qt version are you using? QtSerialBus is available since Qt 5.8. (There is a preview from 5.6 on, but I don't recommend it for CAN bus, a lot changed with 5.8)
          With Qt 5.8 or higher you should also have the Examples available in Creator.

          Qt has to stay free or it will die.

          1 Reply Last reply Reply Quote 1
          • aha_1980
            aha_1980 Lifetime Qt Champion last edited by aha_1980

            @sierdzio said in Project ERROR: Unknown module(s) in QT: serialbus:

            Run your Qt Maintenance Tool and install the QtSerialBus module, maybe it is missing. I think it was added to Qt around Qt 5.7. Or maybe 5.8? Can't recall now.

            If he uses Qt 5.8 or above, it is automatically installed. As said, I don't recommend using it with 5.6 and 5.7 (where it was preview and had to be installed separately).

            Qt has to stay free or it will die.

            1 Reply Last reply Reply Quote 2
            • ?
              A Former User last edited by

              Cheers, got it. Was using older version.

              1 Reply Last reply Reply Quote 3
              • C
                Charlie_Hdz last edited by

                Can you highlight it as solved?

                Kind Regards,
                Enrique Hernandez
                gearstech.com.mx
                chernandez@gearstech.com.mx

                1 Reply Last reply Reply Quote 1
                • First post
                  Last post