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 module not found
QtWS25 Last Chance

QtSerialport module not found

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 528 Views
  • 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.
  • W Offline
    W Offline
    WilliamH07
    wrote on last edited by
    #1

    Hello everyone,

    I'm currently working on a project that utilizes the qtserialport module. However, I'm encountering an error stating:

    "qt module not found. Import path: D:/QTINSTALL/5.15.2/mingw81_64/qml"

    When I navigate to the specified folder, the QtSerialPort folder doesn't exist. What's perplexing is that in the D:/QTINSTALL/5.15.2/Src path, I do have the qtserialport folder.

    I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.

    Christian EhrlicherC W 2 Replies Last reply
    0
    • W WilliamH07

      Hello everyone,

      I'm currently working on a project that utilizes the qtserialport module. However, I'm encountering an error stating:

      "qt module not found. Import path: D:/QTINSTALL/5.15.2/mingw81_64/qml"

      When I navigate to the specified folder, the QtSerialPort folder doesn't exist. What's perplexing is that in the D:/QTINSTALL/5.15.2/Src path, I do have the qtserialport folder.

      I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @WilliamH07 said in QtSerialport module not found:

      folder doesn't exist.

      Then you should install the module with the Qt online installer (under 'Additional libraries')

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      0
      • W WilliamH07

        Hello everyone,

        I'm currently working on a project that utilizes the qtserialport module. However, I'm encountering an error stating:

        "qt module not found. Import path: D:/QTINSTALL/5.15.2/mingw81_64/qml"

        When I navigate to the specified folder, the QtSerialPort folder doesn't exist. What's perplexing is that in the D:/QTINSTALL/5.15.2/Src path, I do have the qtserialport folder.

        I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.

        W Offline
        W Offline
        WilliamH07
        wrote on last edited by WilliamH07
        #3

        image_2024-04-20_123131676.png
        I do not have the serial port for qt 5.15.2

        image_2024-04-20_123357879.png

        Paul ColbyP 1 Reply Last reply
        0
        • W WilliamH07

          image_2024-04-20_123131676.png
          I do not have the serial port for qt 5.15.2

          image_2024-04-20_123357879.png

          Paul ColbyP Offline
          Paul ColbyP Offline
          Paul Colby
          wrote on last edited by
          #4

          Hi @WilliamH07,

          I do not have the serial port for qt 5.15.2

          It seems that QtSerialPort is included in the base package for Qt 5.15.2 (at least as far as the Qt Online Installer goes).

          When I navigate to the specified folder, the QtSerialPort folder doesn't exist.

          Just to clarify, you would not be looking for a QtSerialPort folder (there's should be header file with that name, and some lib files with similar names, depending where you are looking).

          "qt module not found. Import path: D:/QTINSTALL/5.15.2/mingw81_64/qml"

          That /qml at the end looks incorrect to me. How are you configuring and building this project? Can you show us the CMake or qmake file/s? Can we see the build output?

          Cheers.

          W 1 Reply Last reply
          0
          • Paul ColbyP Paul Colby

            Hi @WilliamH07,

            I do not have the serial port for qt 5.15.2

            It seems that QtSerialPort is included in the base package for Qt 5.15.2 (at least as far as the Qt Online Installer goes).

            When I navigate to the specified folder, the QtSerialPort folder doesn't exist.

            Just to clarify, you would not be looking for a QtSerialPort folder (there's should be header file with that name, and some lib files with similar names, depending where you are looking).

            "qt module not found. Import path: D:/QTINSTALL/5.15.2/mingw81_64/qml"

            That /qml at the end looks incorrect to me. How are you configuring and building this project? Can you show us the CMake or qmake file/s? Can we see the build output?

            Cheers.

            W Offline
            W Offline
            WilliamH07
            wrote on last edited by WilliamH07
            #5

            @Paul-Colby

            image_2024-04-20_131932889.png

            Sorry it's in french but you can translate to :

            qt module not found(qtserialport).Import paths: D:/QTINSTALL/5.15.2/mingw81_64/qml

            I built this projet using this option (this is the window to build another projet but i did the same on the projet im working on) : image_2024-04-20_132103035.png

            This is my output : image_2024-04-20_132407475.png

            This is my MakeFile from the build folder of the projet : https://pastebin.com/uKC6ydqB

            This is my Makefile.debug from the same directory : https://pastebin.com/xcWnN7v4

            This is content of the import path : d37a5241-e27c-4008-8111-fb09ea893300-image.png

            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