| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- QT += core gui charts
- 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
- COMPILE_MSG = "Compilling on"
- SOURCES += \
- MemoryWidget.cpp \
- cpuwidget.cpp \
- main.cpp \
- mainwindow.cpp \
- sysinfo.cpp \
- sysinfowidget.cpp
- HEADERS += \
- MemoryWidget.h \
- cpuwidget.h \
- mainwindow.h \
- sysinfo.h \
- sysinfowidget.h
- windows {
- SOURCES += sysinfowindowsimpl.cpp
- HEADERS += sysinfowindowsimpl.h
- message($$COMPILE_MSG window)
- }
- linux {
- SOURCES += sysinfolinuximpl.cpp
- HEADERS += sysinfolinuximpl.h
- message($$COMPILE_MSG linux)
- }
- macx {
- SOURCES += sysinfomacimpl.cpp
- HEADERS += sysinfomacimpl.h
- message($$COMPILE_MSG mac)
- }
- FORMS += \
- mainwindow.ui
- # Default rules for deployment.
- qnx: target.path = /tmp/$${TARGET}/bin
- else: unix:!android: target.path = /opt/$${TARGET}/bin
- !isEmpty(target.path): INSTALLS += target
|