加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
HelloQt.pro 885 Bytes
一键复制 编辑 原始数据 按行查看 历史
沉默的云 提交于 2024-12-10 16:05 . add send message and thread
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
main.cpp \
mywindow.cpp \
src/serialthread.cpp
HEADERS += \
inc/pcomm.h \
inc/serialthread.h \
mywindow.h
FORMS += \
mywindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../release/ -lpcomm
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../debug/ -lpcomm
INCLUDEPATH += $$PWD/.
DEPENDPATH += $$PWD/.
win32: LIBS += -L$$PWD/. -lpcomm
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化