Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
6eb8d1bb
Commit
6eb8d1bb
authored
May 02, 2022
by
Volker Krause
Committed by
Merge Service
May 06, 2022
Browse files
Fix Qt6 build of the xdgactivationtest
parent
04509aae
Pipeline
#172641
passed with stage
in 11 minutes and 55 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
tests/CMakeLists.txt
View file @
6eb8d1bb
find_package
(
Qt5 REQUIRED COMPONENTS WaylandClient
)
find_package
(
Qt6 OPTIONAL_COMPONENTS Widgets
)
if
(
QT_MAJOR_VERSION EQUAL
"5"
)
find_package
(
Qt5 REQUIRED COMPONENTS WaylandClient
)
endif
()
if
(
XCB_ICCCM_FOUND
)
set
(
normalhintsbasesizetest_SRCS normalhintsbasesizetest.cpp
)
...
...
@@ -40,9 +41,9 @@ target_link_libraries(cursorhotspottest Qt::Widgets)
include_directories
(
${
CMAKE_CURRENT_BINARY_DIR
}
)
add_executable
(
xdgactivationtest-qt5 xdgactivationtest-qt5.cpp
)
target_link_libraries
(
xdgactivationtest-qt5 Qt::Widgets Qt::WaylandClient Qt::WaylandClientPrivate Wayland::Client
)
if
(
QT_MAJOR_VERSION EQUAL
"5"
)
add_executable
(
xdgactivationtest-qt5 xdgactivationtest-qt5.cpp
)
target_link_libraries
(
xdgactivationtest-qt5 Qt::Widgets Qt::WaylandClient Qt::WaylandClientPrivate Wayland::Client
)
ecm_add_qtwayland_client_protocol
(
xdgactivationtest-qt5
PROTOCOL
${
WaylandProtocols_DATADIR
}
/staging/xdg-activation/xdg-activation-v1.xml
BASENAME xdg-activation-v1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment