QT += core gui sql printsupport axcontainer printsupport QT += axcontainer QT += multimedia QT += multimediawidgets QT += serialport # CODECSETTINGS += utf8 # include($$PWD/QXlsx/src/xlsx.pri) 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 += \ addshu.cpp \ addusers.cpp \ addyaomin.cpp \ addzhong.cpp \ bachistoricalrecords.cpp \ bacteria.cpp \ cammer.cpp \ chakan.cpp \ date.cpp \ datee.cpp \ historicalrecords.cpp \ lis.cpp \ look.cpp \ main.cpp \ maxtu.cpp \ michistoricalrecords.cpp \ micjishu.cpp \ msgbox.cpp \ msgbox_2.cpp \ printpage.cpp \ setsystem.cpp \ setupuers.cpp \ shu.cpp \ twobars.cpp \ userslogin.cpp \ widget.cpp \ yaomin.cpp \ zhong.cpp \ zidingyi.cpp \ zidingyii.cpp \ ziwai.cpp \ zongjunluo.cpp \ zongmic.cpp HEADERS += \ IMVApi.h \ IMVDefines.h \ MessageQue.h \ addshu.h \ addusers.h \ addyaomin.h \ addzhong.h \ bachistoricalrecords.h \ bacteria.h \ cammer.h \ chakan.h \ date.h \ datee.h \ fivebars.cpp.autosave \ historicalrecords.h \ lis.h \ look.h \ maxtu.h \ michistoricalrecords.h \ micjishu.h \ msgbox.h \ msgbox_2.h \ printpage.h \ setsystem.h \ setupuers.h \ shu.h \ twobars.h \ userslogin.h \ widget.h \ yaomin.h \ zhong.h \ zidingyi.h \ zidingyii.h \ ziwai.h \ zongjunluo.h \ zongmic.h FORMS += \ addshu.ui \ addusers.ui \ addyaomin.ui \ addzhong.ui \ bachistoricalrecords.ui \ bacteria.ui \ cammer.ui \ cammerwidget.ui \ chakan.ui \ date.ui \ datee.ui \ historicalrecords.ui \ lis.ui \ look.ui \ maxtu.ui \ michistoricalrecords.ui \ micjishu.ui \ msgbox.ui \ msgbox_2.ui \ printpage.ui \ setsystem.ui \ setupuers.ui \ shu.ui \ twobars.ui \ widget.ui \ yaomin.ui \ zhong.ui \ zidingyi.ui \ zidingyii.ui \ ziwai.ui \ zongjunluo.ui \ zongmic.ui # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target RESOURCES += \ img.qrc #丹娜那台电脑的python路径 # win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../../ProgramData/Anaconda3/libs/ -lpython39 # else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../../ProgramData/Anaconda3/libs/ -lpython39_d # INCLUDEPATH += $$PWD/'' # DEPENDPATH += $$PWD/'' # INCLUDEPATH += C:/ProgramData/Anaconda3/include # DEPENDPATH += C:/ProgramData/Anaconda3/include DISTFILES += \ MIC_main.py \ hello.py win32: LIBS += -L$$PWD/ShowImage/Depends/x64/vs2013shared/x64/ -lMVSDKmd LUDEPATH += $$PWD/'' DEPENDPATH += $$PWD/'' #我的电脑的python路径 # INCLUDEPATH += D:\python\include # LIBS += -LD:\python\libs -lpython312 #严总新增 # win32:CONFIG(release, debug|release): LIBS += -LD:/python/release/ -lpython312 # else:win32:CONFIG(debug, debug|release): LIBS += -LD:/python/debug/ -lpython312 INCLUDEPATH += D:/python/include # DEPENDPATH += D:/python/libs //delete_carll #LIBS += -LD:\python\libs -lpython312 //add_carll #qt项目手动添加库文件方法自动生成 win32:CONFIG(release, debug|release): LIBS += -LD:/python/libs/ -lpython312 else:win32:CONFIG(debug, debug|release): LIBS += -LD:/python/libs/ -lpython312 INCLUDEPATH += D:/python/libs DEPENDPATH += D:/python/libs