🐛 修复 windows 下生成 dll 库带 linux 前缀导致查找不到控件
parent
c59c07e756
commit
9f8a5f5646
|
@ -38,6 +38,10 @@ set(RC_ICONS
|
||||||
favicon.ico
|
favicon.ico
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(WIN32)
|
||||||
|
set(CMAKE_SHARED_LIBRARY_PREFIX "")
|
||||||
|
endif()
|
||||||
|
|
||||||
qt_add_resources(QT_RESOURCES ${RESOURCES})
|
qt_add_resources(QT_RESOURCES ${RESOURCES})
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS} ${QT_RESOURCES} ${RC_ICONS})
|
add_executable(${PROJECT_NAME} ${SOURCES} ${HEADERS} ${QT_RESOURCES} ${RC_ICONS})
|
||||||
|
|
Loading…
Reference in New Issue