qt5.3.2andriod開發的工程,現在換成VS2015+qt5.8.0MSVC出現“LNK1104 無法打開檔案“libwsock32.obj“。
qt的內容是:
#-------------------------------------------------
#
# Project created by QtCreator 2017-05-08T15:43:29
#
#-------------------------------------------------
QT += core gui serialport printsupport network xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
#CONFIG += axcontainer
TARGET = cfgm_tool
TEMPLATE = app
CONFIG+=thread
SOURCES += main.cpp\
mainwindow.cpp \
frametxrx.cpp \
ringbuffer.cpp \
parserframe.cpp \
win_qextserialport.cpp \
qextserialbase.cpp \
qextserialport.cpp \
dev_config.cpp \
CommonProtocol.cpp \
common_frame_analyse.cpp \
common.cpp \
frame_display.cpp \
check_data.cpp
HEADERS += \
mainwindow.h \
frametxrx.h \
ringbuffer.h \
parserframe.h \
qextserialbase.h \
win_qextserialport.h \
qextserialport.h \
winsock2.h \
dev_config.h \
common.h \
CommonProtocol.h \
struct_data.h \
common_frame_analyse.h \
frame_display.h \
check_data.h
LIBS += libwsock32 libws2_32
FORMS += mainwindow.ui \
dev_config.ui \
frame_display.ui \
check_data.ui
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/108435.html
標籤:Qt
上一篇:Cordova iOS 偶爾白屏3分鐘以上才加載完成
下一篇:在微信移動端拍照后會自動重繪頁面
