mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-08 16:42:30 -06:00
Call Windows API directly
We already bumped the OS requirement to Windows 7 and those functions can be called directly without the need to load them first.
This commit is contained in:
@@ -34,7 +34,7 @@ win32-g++* {
|
||||
|
||||
RC_FILE = qbittorrent_mingw.rc
|
||||
|
||||
LIBS += libadvapi32 libshell32 libuser32 libole32 libwsock32 libws2_32
|
||||
LIBS += libadvapi32 libiphlpapi libole32 libpowrprof libshell32 libuser32 libwsock32 libws2_32
|
||||
}
|
||||
else:win32-msvc* {
|
||||
CONFIG -= embed_manifest_exe
|
||||
@@ -42,7 +42,7 @@ else:win32-msvc* {
|
||||
|
||||
RC_FILE = qbittorrent.rc
|
||||
|
||||
LIBS += advapi32.lib shell32.lib crypt32.lib User32.lib ole32.lib
|
||||
LIBS += advapi32.lib crypt32.lib Iphlpapi.lib ole32.lib PowrProf.lib shell32.lib User32.lib
|
||||
}
|
||||
|
||||
# See an example build configuration in "conf.pri.windows"
|
||||
|
||||
Reference in New Issue
Block a user