cmake: enable the xdgdesktopportal plugin

Change-Id: I97454ea918e3b34ca8a33bf221bcf9a0f5fa56f8
Reviewed-by: Liang Qi <liang.qi@qt.io>
This commit is contained in:
Albert Astals Cid 2019-02-11 16:30:17 +01:00
parent ac96d08b9d
commit 8927c4de70
2 changed files with 22 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Generated from platformthemes.pro.
if (QT_FEATURE_dbus AND QT_FEATURE_regularexpression)
# TODO add_subdirectory(xdgdesktopportal)
add_subdirectory(xdgdesktopportal)
endif()
if (QT_FEATURE_widgets AND QT_FEATURE_gtk3)

View File

@ -0,0 +1,21 @@
# Generated from xdgdesktopportal.pro.
#####################################################################
## qxdgdesktopportal Plugin:
#####################################################################
add_qt_plugin(qxdgdesktopportal
TYPE platformthemes
SOURCES
main.cpp
qxdgdesktopportalfiledialog.cpp qxdgdesktopportalfiledialog_p.h
qxdgdesktopportaltheme.cpp qxdgdesktopportaltheme.h
LIBRARIES
Qt::CorePrivate
Qt::DBus
Qt::GuiPrivate
Qt::ThemeSupportPrivate
# PLUGIN_CLASS_NAME = "QXdgDesktopPortalThemePlugin"
# PLUGIN_EXTENDS = "-"
# _LOADED = "qt_plugin"
)