1
0
mirror of https://gitlab.com/kelteseth/ScreenPlay.git synced 2024-11-07 03:22:33 +01:00
ScreenPlay/ScreenPlaySysInfo/ScreenPlaySysInfo.pro

43 lines
967 B
Prolog
Raw Normal View History

2018-09-19 13:19:51 +02:00
TEMPLATE = lib
TARGET = ScreenPlaySysInfo
QT += qml quick
2019-08-02 13:11:31 +02:00
CONFIG += plugin c++17
2018-09-19 13:19:51 +02:00
TARGET = $$qtLibraryTarget($$TARGET)
2019-06-10 16:27:17 +02:00
uri = ScreenPlay.Sysinfo
2018-09-19 13:19:51 +02:00
SOURCES += \
screenplaysysinfo_plugin.cpp \
2018-10-26 12:05:23 +02:00
sysinfo.cpp \
cpu.cpp \
ram.cpp \
storage.cpp
2018-09-19 13:19:51 +02:00
HEADERS += \
screenplaysysinfo_plugin.h \
2018-10-26 12:05:23 +02:00
sysinfo.h \
cpu.h \
ram.h \
mathhelper.h \
storage.h
2018-09-19 13:19:51 +02:00
DISTFILES = qmldir
!equals(_PRO_FILE_PWD_, $$OUT_PWD) {
copy_qmldir.target = $$OUT_PWD/qmldir
copy_qmldir.depends = $$_PRO_FILE_PWD_/qmldir
copy_qmldir.commands = $(COPY_FILE) \"$$replace(copy_qmldir.depends, /, $$QMAKE_DIR_SEP)\" \"$$replace(copy_qmldir.target, /, $$QMAKE_DIR_SEP)\"
QMAKE_EXTRA_TARGETS += copy_qmldir
PRE_TARGETDEPS += $$copy_qmldir.target
}
qmldir.files = qmldir
installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
qmldir.path = $$installPath
target.path = $$installPath
INSTALLS += target qmldir