Skip to content
GitLab
Menu
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
a110231f
Commit
a110231f
authored
Feb 09, 2021
by
Nicolas Fella
Browse files
Use imported target for QtGui private headers
It's nicer
parent
2b721200
Changes
2
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
a110231f
...
...
@@ -683,7 +683,7 @@ if (KWIN_BUILD_TABBOX)
tabbox/tabboxhandler.cpp
tabbox/x11_filter.cpp
)
target_in
clude_directories
(
kwin PRIVATE
${
Qt5Gui_PRIVATE_INCLUDE_DIRS
}
)
target_
l
in
k_libraries
(
kwin Qt::GuiPrivate
)
endif
()
generate_export_header
(
kwin EXPORT_FILE_NAME kwin_export.h
)
...
...
autotests/tabbox/CMakeLists.txt
View file @
a110231f
...
...
@@ -24,6 +24,7 @@ target_link_libraries(testTabBoxClientModel
Qt::Test
Qt::Widgets
Qt::X11Extras
Qt::GuiPrivate
KF5::ConfigCore
KF5::I18n
...
...
@@ -32,7 +33,6 @@ target_link_libraries(testTabBoxClientModel
XCB::XCB
)
target_include_directories
(
testTabBoxClientModel PRIVATE
${
Qt5Gui_PRIVATE_INCLUDE_DIRS
}
)
add_test
(
NAME kwin-testTabBoxClientModel COMMAND testTabBoxClientModel
)
ecm_mark_as_test
(
testTabBoxClientModel
)
...
...
@@ -60,6 +60,7 @@ target_link_libraries(testTabBoxHandler
Qt::Test
Qt::Widgets
Qt::X11Extras
Qt::GuiPrivate
KF5::ConfigCore
KF5::I18n
...
...
@@ -68,7 +69,6 @@ target_link_libraries(testTabBoxHandler
XCB::XCB
)
target_include_directories
(
testTabBoxHandler PRIVATE
${
Qt5Gui_PRIVATE_INCLUDE_DIRS
}
)
add_test
(
NAME kwin-testTabBoxHandler COMMAND testTabBoxHandler
)
ecm_mark_as_test
(
testTabBoxHandler
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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