QT += core gui charts sql axcontainer greaterThan(QT_MAJOR_VERSION, 4): QT += widgets CONFIG += c++11 # The following define makes your compiler emit warnings if you use # any Qt feature that has been marked deprecated (the exact warnings # depend on your compiler). Please consult the documentation of the # deprecated API in order to know how to port your code away from it. DEFINES += QT_DEPRECATED_WARNINGS # You can also make your code fail to compile if it uses deprecated APIs. # In order to do so, uncomment the following line. # You can also select to disable deprecated APIs only up to a certain version of Qt. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 SOURCES += \ datamanagerthread.cpp \ db/limitupstocksqlmanager.cpp \ db/stockbasissqlmanager.cpp \ db/stockssqlmanager.cpp \ db/xhighstockindexs.cpp \ db/xhighstocks.cpp \ db/xsqlexcute.cpp \ db/xwholestockindexs.cpp \ db/xwholestocks.cpp \ excel/exceldecoder.cpp \ excel/limitupstockdecoder.cpp \ excel/stocksdecoder.cpp \ limitupstocksmanager.cpp \ loadingdialog.cpp \ stocksmanager.cpp \ trendmanager.cpp \ trendtablemodel.cpp \ trendwidet.cpp \ widget/distributewidget.cpp \ historywidget.cpp \ importwidget.cpp \ main.cpp \ mainwindow.cpp \ todaywidget.cpp \ excel/xexcel.cpp \ xexceltomysq.cpp HEADERS += \ datamanagerbase.h \ datamanagerthread.h \ db/limitupstocksqlmanager.h \ db/stockbasissqlmanager.h \ db/stockssqlmanager.h \ db/structs.h \ db/xhighstockindexs.h \ db/xhighstocks.h \ db/xsqlexcute.h \ db/xwholestockindexs.h \ db/xwholestocks.h \ excel/exceldecoder.h \ excel/limitupstockdecoder.h \ excel/stocksdecoder.h \ limitupstocksmanager.h \ loadingdialog.h \ loadingdialog.h \ stocksmanager.h \ trendmanager.h \ trendtablemodel.h \ trendwidet.h \ widget/distributewidget.h \ historywidget.h \ importwidget.h \ mainwindow.h \ todaywidget.h \ excel/xexcel.h \ xexceltomysq.h FORMS += \ loadingdialog.ui \ trendwidet.ui \ widget/distributewidget.ui \ historywidget.ui \ importwidget.ui \ mainwindow.ui \ todaywidget.ui RESOURCES += \ resource.qrc # Default rules for deployment. qnx: target.path = /tmp/$${TARGET}/bin else: unix:!android: target.path = /opt/$${TARGET}/bin !isEmpty(target.path): INSTALLS += target