Properly find and link against Qt5::Concurrent

parent 2366a5ef
......@@ -61,6 +61,7 @@ add_feature_info ("Screencast portal" ${SCREENCAST_ENABLED} "Support for screen
find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS
Core
Concurrent
DBus
PrintSupport
Widgets
......
......@@ -42,6 +42,7 @@ add_executable(xdg-desktop-portal-kde ${xdg_desktop_portal_kde_SRCS})
target_link_libraries(xdg-desktop-portal-kde
Qt5::Core
Qt5::DBus
Qt5::Concurrent
Qt5::PrintSupport
Qt5::Widgets
KF5::CoreAddons
......
......@@ -30,7 +30,7 @@
#include <QDBusUnixFileDescriptor>
#include <QTimer>
#include <QFutureWatcher>
#include <QtConcurrent/QtConcurrentRun>
#include <QtConcurrentRun>
#include <qplatformdefs.h>
#include <fcntl.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment