Serial Port - qextserialport (Windows) crash
Hi.
I have a problem.I wrote a program using a class qextserialport under Linux and there are about
I want to move it to Windows, but when it tries to run the program has crashed.
I searched the internet half and did not find a solution. I send the file to the project.
Code:
http://speedy.sh/sstuS/SerialModbus-2.zip
Code:
#-------------------------------------------------
#
# Project created by QtCreator 2013-04-18T23:05:32
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = SerialModbus
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp
HEADERS += mainwindow.h
win32:DEFINES = _TTY_WIN_
FORMS += mainwindow.ui
LIBS += -Lqextserialport
LIBS += "D:\Qt_projects\SerialModbus\qextserialport\build\qextserialport1.dll"
LIBS += "D:\Qt_projects\SerialModbus\qextserialport\build\qextserialportd1.dll"
Re: Serial Port - qextserialport (Windows) crash
Do you think that sharing the error message and some details about how it "has crashed" might help?
Re: Serial Port - qextserialport (Windows) crash
Firsy of all use current version of qextserialport. You are using alpha version. This is not good idea.
Re: Serial Port - qextserialport (Windows) crash
Quote:
Originally Posted by
ChrisW67
Do you think that sharing the error message and some details about how it "has crashed" might help?
program starts ... program crashes without giving any error
Quote:
Originally Posted by
Lesiok
Firsy of all use
current version of qextserialport. You are using alpha version. This is not good idea.
I tried but I did not want to build ... ( .../bin/ld.exe: <unknown-file>:0: syntax error)
Re: Serial Port - qextserialport (Windows) crash
h-n-s,
try QtSerialPort instead of QextSerialPort :)
Re: Serial Port - qextserialport (Windows) crash
Quote:
Originally Posted by
kuzulis
Tries. It's exactly the same problem.
Re: Serial Port - qextserialport (Windows) crash
So, the problem is in your code.
1 Attachment(s)
Re: Serial Port - qextserialport (Windows) crash
hmmm weird ... because it works;)
What is the difference?
Attachment 8966