-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes: #24
- Loading branch information
Showing
37 changed files
with
283 additions
and
510 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# SPDX-FileCopyrightText: 2023 Pier Luigi Fiorini <[email protected]> | ||
# SPDX-License-Identifier: BSD-3-Clause | ||
|
||
## Enable feature summary at the end of the configure run: | ||
include(FeatureSummary) | ||
|
||
## Find Qt: | ||
find_package(Qt6 | ||
REQUIRED | ||
COMPONENTS | ||
Core | ||
Core5Compat | ||
Xml | ||
DBus | ||
Qml | ||
QmlIntegration | ||
Quick | ||
Gui | ||
Test | ||
) | ||
|
||
#### Features | ||
|
||
## Features summary: | ||
if(NOT LIRI_SUPERBUILD) | ||
feature_summary(WHAT ENABLED_FEATURES DISABLED_FEATURES) | ||
endif() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
set(SOURCES | ||
dbusservice.cpp dbusservice.h dbusservice_p.h | ||
) | ||
|
||
qt6_add_dbus_adaptor(SOURCES | ||
org.freedesktop.Application.xml | ||
dbusservice.h | ||
Liri::DBusService | ||
) | ||
|
||
liri_add_module(DBusService | ||
DESCRIPTION | ||
"D-Bus activation for Qt applications" | ||
SOURCES | ||
dbusservice.cpp | ||
dbusservice.h | ||
dbusservice_p.h | ||
DBUS_ADAPTOR_SOURCES | ||
org.freedesktop.Application.xml | ||
DEFINES | ||
QT_NO_CAST_FROM_ASCII | ||
QT_NO_FOREACH | ||
${SOURCES} | ||
PUBLIC_LIBRARIES | ||
Qt5::Core | ||
Qt5::DBus | ||
Qt5::Gui | ||
Qt6::Core | ||
Qt6::DBus | ||
Qt6::Gui | ||
PKGCONFIG_DEPENDENCIES | ||
Qt5Core | ||
Qt5DBus | ||
Qt5Gui | ||
Qt6Core | ||
Qt6DBus | ||
Qt6Gui | ||
) | ||
|
||
liri_finalize_module(DBusService) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
liri_add_qml_plugin(CoreQmlPlugin | ||
MODULE_PATH | ||
"Liri/Core" | ||
ecm_add_qml_module(CoreQmlPlugin | ||
URI | ||
"Liri.Core" | ||
VERSION | ||
"1.0" | ||
OUTPUT_NAME | ||
"liricoreplugin" | ||
SOURCES | ||
formatter.cpp | ||
formatter.h | ||
plugin.cpp | ||
QML_FILES | ||
qmldir | ||
DEFINES | ||
QT_NO_CAST_FROM_ASCII | ||
QT_NO_FOREACH | ||
PUBLIC_LIBRARIES | ||
GENERATE_PLUGIN_SOURCE | ||
) | ||
|
||
target_sources(CoreQmlPlugin | ||
PRIVATE | ||
formatter.cpp formatter.h | ||
) | ||
|
||
target_link_libraries(CoreQmlPlugin | ||
PUBLIC | ||
Qt6::Core | ||
Qt6::Qml | ||
Liri::Core | ||
) | ||
|
||
liri_finalize_qml_plugin(CoreQmlPlugin) | ||
ecm_finalize_qml_module(CoreQmlPlugin) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.