mirror of
https://github.com/chenx-dust/EZ4Connect.git
synced 2026-09-20 10:23:33 +08:00
fix: 修复 Windows 权限模块构建
This commit is contained in:
@@ -87,7 +87,7 @@ if (WIN32)
|
||||
${CMAKE_CURRENT_SOURCE_DIR}/resource/icon.rc
|
||||
)
|
||||
|
||||
set(PLATFORM_LIBS wininet rasapi32)
|
||||
set(PLATFORM_LIBS wininet rasapi32 shell32)
|
||||
elseif(APPLE)
|
||||
message("Building for MacOS")
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#include <QStringList>
|
||||
|
||||
#if defined(Q_OS_WIN)
|
||||
#include <shellapi.h>
|
||||
#include <windows.h>
|
||||
#include <shellapi.h>
|
||||
#elif defined(Q_OS_UNIX)
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user