Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt 5.2.0 acting strange with " if (port->open(QIODevice::ReadWrite)) " statement

$
0
0
I just updated my Qt 5.1.1 (Qt 5.1.1 for Windows 32-bit (MinGW 4.8, OpenGL) to Qt 5.2.0 (Qt 5.2.0 for Windows 32-bit (MinGW 4.8, OpenGL) today. I had created a simple project called “scanComPorts” based upon a web page title “What’s New in Qt 5.1: QtSerialPort”. It worked for version Qt 5.1.1. I used those examples that I found to complete a REAL project that required using what I learn from that web page. I ported that REAL project to Qt 5.2.0 and started to see those strange messages was popping up. I decided to created the same project for Qt 5.2.0 and replaced the project’s main.cpp with a copy from Qt 5.1.1’s scanComPorts. It appeared to compile the same way, how ever when I ran the application that I’m now seeing the following message appear for every COM port detected: void QSerialPortPrivate::detectDefaultSetting(): Unexpected flow control settings The application appears to be working correctly except for this extra message that showing up. Please Note: That I spent over 2+ hour searching the Forums and also searching the inter net for any mention of this problem prior to deciding to post this topic.

Viewing all articles
Browse latest Browse all 2113

Trending Articles