mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-09-03 08:10:23 +00:00
fix: build error on ubuntu
This commit is contained in:
parent
0b1aedee93
commit
6ab2dca562
2 changed files with 6 additions and 1 deletions
|
@ -407,6 +407,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
|||
avutil
|
||||
swscale
|
||||
)
|
||||
|
||||
# Qt
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE
|
||||
Qt${QT_VERSION_MAJOR}::X11Extras
|
||||
)
|
||||
|
||||
# linux set app icon: https://blog.csdn.net/MrNoboday/article/details/82870853
|
||||
endif()
|
|
@ -45,7 +45,7 @@ echo current build mode: $build_mode
|
|||
echo
|
||||
echo
|
||||
echo ---------------------------------------------------------------
|
||||
echo begin qmake build
|
||||
echo begin cmake build
|
||||
echo ---------------------------------------------------------------
|
||||
|
||||
# 删除输出目录
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue