QtSerialport module not found
-
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 theD:/QTINSTALL/5.15.2/Src
path, I do have theqtserialport
folder.I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.
-
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 theD:/QTINSTALL/5.15.2/Src
path, I do have theqtserialport
folder.I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.
@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')
-
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 theD:/QTINSTALL/5.15.2/Src
path, I do have theqtserialport
folder.I'm using Qt 5.15.2 because one on my module (Mapbox) only functions properly with this version.
I do not have the serial port for qt 5.15.2 -
I do not have the serial port for qt 5.15.2Hi @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.
-
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.
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) :
This is my output :
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 :