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.
http://speedy.sh/sstuS/SerialModbus-2.zip
http://speedy.sh/sstuS/SerialModbus-2.zip
To copy to clipboard, switch view to plain text mode
#-------------------------------------------------
#
# 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"
#-------------------------------------------------
#
# 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"
To copy to clipboard, switch view to plain text mode
Bookmarks