Solved Configure option for Qt5.12.6 to avoid dependency on Wtsapi32.lib
-
When doing some upgrade testing from Qt5.9.8. to Qt5.12.6 a new library dependency on Wtsapi32.lib has been introduced. Only two function calls are required, WTSQuerySessionInformationW and WTSFreeMemory. Even though those calls are seemingly innocuous the requirement to link against a Remote Desktop services library is concerning.
My question is whether there is a configure option that can disable the dependency on Wtsapi32.lib?
-
@azaclauson said in Configure option for Qt5.12.6 to avoid dependency on Wtsapi32.lib:
My question is whether there is a configure option that can disable the dependency on Wtsapi32.lib?
No, it's needed for clipboard handling (see QTBUG-27097 and https://codereview.qt-project.org/c/qt/qtbase/+/233795) - and since this library is on every windows I don't see any problems.
-
@azaclauson said in Configure option for Qt5.12.6 to avoid dependency on Wtsapi32.lib:
My question is whether there is a configure option that can disable the dependency on Wtsapi32.lib?
No, it's needed for clipboard handling (see QTBUG-27097 and https://codereview.qt-project.org/c/qt/qtbase/+/233795) - and since this library is on every windows I don't see any problems.