Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- QT += quick sql core charts
- CONFIG += c++17
- # 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). Refer to the documentation for the
- # deprecated API 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 += \
- main.cpp
- RESOURCES += qml.qrc
- # Additional import path used to resolve QML modules in Qt Creator's code model
- QML_IMPORT_PATH =
- # Additional import path used to resolve QML modules just for Qt Quick Designer
- QML_DESIGNER_IMPORT_PATH =
- # Default rules for deployment.
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
- !isEmpty(target.path): INSTALLS += target
- isEmpty(TARGET_EXT) {
- win32 {
- TARGET_CUSTOM_EXT = .exe
- }
- macx {
- TARGET_CUSTOM_EXT = .app
- }
- } else {
- TARGET_CUSTOM_EXT = $${TARGET_EXT}
- }
- win32 {
- DEPLOY_COMMAND = windeployqt
- }
- macx {
- DEPLOY_COMMAND = macdeployqt
- }
- CONFIG( debug, debug|release ) {
- # debug
- DEPLOY_TARGET = $$shell_quote($$shell_path($${OUT_PWD}/debug/$${TARGET}$${TARGET_CUSTOM_EXT}))
- } else {
- # release
- DEPLOY_TARGET = $$shell_quote($$shell_path($${OUT_PWD}/release/$${TARGET}$${TARGET_CUSTOM_EXT}))
- }
- message($${DEPLOY_TARGET})
- # # Uncomment the following line to help debug the deploy command when running qmake
- # warning($${DEPLOY_COMMAND} $${DEPLOY_TARGET})
- # Use += instead of = if you use multiple QMAKE_POST_LINKs
- QMAKE_POST_LINK = $${DEPLOY_COMMAND} "--qmldir C:\Qt\5.14.2\mingw73_64\qml" $${DEPLOY_TARGET}
- message($${QMAKE_POST_LINK})
- HEADERS += \
- db_manager.h \
- structs.h \
- db_model.h
Advertisement
Add Comment
Please, Sign In to add comment