Skip to content

Commit

Permalink
build: 修复静态打包错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xuguodong1999 committed May 23, 2021
1 parent fb32b46 commit 044c8c2
Show file tree
Hide file tree
Showing 4 changed files with 486 additions and 474 deletions.
6 changes: 5 additions & 1 deletion app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ endif (WITH_OPENVINO)

if (WITH_MODEL_QRC)
add_definitions(-DWITH_MODEL_QRC)
qt5_add_big_resources(BIG_RES_FILES ${RES_ROOT}/big_res.qrc)
if (MSVC)
qt5_add_big_resources(BIG_RES_FILES ${RES_ROOT}/big_res_win.qrc)
else (MSVC)
qt5_add_big_resources(BIG_RES_FILES ${RES_ROOT}/big_res.qrc)
endif (MSVC)
list(APPEND RES_SRCS ${BIG_RES_FILES})
endif (WITH_MODEL_QRC)

Expand Down
Loading

0 comments on commit 044c8c2

Please sign in to comment.