mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-26 13:44:34 +00:00
drop qmake support
This commit is contained in:
parent
975d6215bd
commit
83daf52179
@ -13,6 +13,7 @@ project(QmlNotyfyService LANGUAGES CXX)
|
|||||||
include(CMake/ProjectOut.cmake)
|
include(CMake/ProjectOut.cmake)
|
||||||
include(CMake/ccache.cmake)
|
include(CMake/ccache.cmake)
|
||||||
include(CMake/Version.cmake)
|
include(CMake/Version.cmake)
|
||||||
|
include(CMake/QuasarAppCITargets.cmake)
|
||||||
|
|
||||||
|
|
||||||
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
set(CMAKE_INCLUDE_CURRENT_DIR ON)
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2018 - 2019 QuasarApp.
|
|
||||||
# Distributed under the lgplv3 software license, see the accompanying
|
|
||||||
# Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
# of this license document, but changing it is not allowed.
|
|
||||||
#
|
|
||||||
|
|
||||||
!isEmpty(QMLNOTYFYSERICE_LIB):error("QmlNotify.pri already included")
|
|
||||||
QMLNOTYFYSERICE_LIB = 1
|
|
||||||
|
|
||||||
#DEPENDS
|
|
||||||
CONFIG(release, debug|release): {
|
|
||||||
QMLNOTYFYSERICE_LIB_OUTPUT_DIR="$$PWD/build/release"
|
|
||||||
} else {
|
|
||||||
QMLNOTYFYSERICE_LIB_OUTPUT_DIR="$$PWD/build/debug"
|
|
||||||
}
|
|
||||||
|
|
||||||
LIBS += -L$$QMLNOTYFYSERICE_LIB_OUTPUT_DIR -lQmlNotyfyService
|
|
||||||
|
|
||||||
INCLUDEPATH += "$$PWD/"
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
QML2_IMPORT_PATH += \
|
|
||||||
"$$PWD/" \
|
|
||||||
"$$PWD/"
|
|
||||||
|
|
||||||
QML_IMPORT_PATH += \
|
|
||||||
"$$PWD/" \
|
|
||||||
"$$PWD/"
|
|
@ -1,46 +0,0 @@
|
|||||||
#
|
|
||||||
# Copyright (C) 2018 - 2019 QuasarApp.
|
|
||||||
# Distributed under the lgplv3 software license, see the accompanying
|
|
||||||
# Everyone is permitted to copy and distribute verbatim copies
|
|
||||||
# of this license document, but changing it is not allowed.
|
|
||||||
#
|
|
||||||
|
|
||||||
|
|
||||||
CONFIG += c++14
|
|
||||||
TARGET = QmlNotyfyService
|
|
||||||
TEMPLATE = lib
|
|
||||||
QT += quick
|
|
||||||
|
|
||||||
DEFINES += QMLNOTYFYSERICE_LIBRARY
|
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
|
||||||
# any feature of Qt which has been marked as 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 you use 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
|
|
||||||
|
|
||||||
CONFIG(release, debug|release): {
|
|
||||||
DESTDIR = $$PWD/build/release
|
|
||||||
|
|
||||||
} else {
|
|
||||||
DESTDIR = $$PWD/build/debug
|
|
||||||
}
|
|
||||||
|
|
||||||
RESOURCES += \
|
|
||||||
QML.qrc
|
|
||||||
|
|
||||||
HEADERS += \
|
|
||||||
notificationdata.h \
|
|
||||||
notificationservice.h \
|
|
||||||
notifyservice_global.h \
|
|
||||||
qmlnotifyservice.h
|
|
||||||
|
|
||||||
SOURCES += \
|
|
||||||
notificationdata.cpp \
|
|
||||||
notificationservice.cpp \
|
|
||||||
qmlnotifyservice.cpp
|
|
Loading…
x
Reference in New Issue
Block a user