mirror of
https://github.com/QuasarApp/SimpleQmlNotify.git
synced 2025-04-27 06:04:33 +00:00
added depends of the QuickControls2
This commit is contained in:
parent
cdeab90d82
commit
111d298695
@ -23,13 +23,13 @@ add_definitions(-DQMLNOTYFYSERICE_LIBRARY)
|
||||
|
||||
set(QML_IMPORT_PATH ${QML_IMPORT_PATH} "${CMAKE_CURRENT_SOURCE_DIR}" CACHE STRING "" FORCE)
|
||||
|
||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Quick REQUIRED)
|
||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Quick REQUIRED)
|
||||
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core Quick QuickControls2 REQUIRED)
|
||||
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Core Quick QuickControls2 REQUIRED)
|
||||
|
||||
file(GLOB SOURCE_CPP "*.cpp" "*.qrc")
|
||||
|
||||
add_library(${PROJECT_NAME} ${SOURCE_CPP})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Qt::Core Qt::Quick)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Qt${QT_VERSION_MAJOR}::Core Qt${QT_VERSION_MAJOR}::Quick Qt${QT_VERSION_MAJOR}::QuickControls2)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
set(LANGS ${CMAKE_CURRENT_SOURCE_DIR}/qmlNotify_languages/en.ts
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Message</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>メッセージ</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Cообщение</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>İleti</translation>
|
||||
</message>
|
||||
|
@ -4,8 +4,6 @@
|
||||
<context>
|
||||
<name>NotificationForm</name>
|
||||
<message>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="16"/>
|
||||
<location filename="../NotifyModule/NotificationForm.qml" line="18"/>
|
||||
<source>Message</source>
|
||||
<translation>Повідомлення</translation>
|
||||
</message>
|
||||
|
Loading…
x
Reference in New Issue
Block a user