Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions vulkanCapsViewer.pro
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,17 @@ win32 {
}
linux:!android {
LIBS += -lvulkan
contains(DEFINES, X11) {
message("Building for X11")
qtHaveModule(x11extras) {
message("Supporting X11")
LIBS += -lxcb
DEFINES += VK_USE_PLATFORM_XCB_KHR
}
contains(DEFINES, WAYLAND) {
message("Building for Wayland")
LIBS += -lwayland-client
DEFINES += VK_USE_PLATFORM_WAYLAND_KHR
qtHaveModule(waylandclient) {
packagesExist(wayland-client) {
message("Supporting Wayland")
LIBS += -lwayland-client
DEFINES += VK_USE_PLATFORM_WAYLAND_KHR
}
}
target.path = /usr/bin
INSTALLS += target
Expand Down