mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-09-05 09:06:19 +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
|
avutil
|
||||||
swscale
|
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
|
# linux set app icon: https://blog.csdn.net/MrNoboday/article/details/82870853
|
||||||
endif()
|
endif()
|
|
@ -45,7 +45,7 @@ echo current build mode: $build_mode
|
||||||
echo
|
echo
|
||||||
echo
|
echo
|
||||||
echo ---------------------------------------------------------------
|
echo ---------------------------------------------------------------
|
||||||
echo begin qmake build
|
echo begin cmake build
|
||||||
echo ---------------------------------------------------------------
|
echo ---------------------------------------------------------------
|
||||||
|
|
||||||
# 删除输出目录
|
# 删除输出目录
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue