Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Configure option for Qt5.12.6 to avoid dependency on Wtsapi32.lib
Forum Updated to NodeBB v4.3 + New Features

Configure option for Qt5.12.6 to avoid dependency on Wtsapi32.lib

Scheduled Pinned Locked Moved Solved Installation and Deployment
2 Posts 2 Posters 357 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    azaclauson
    wrote on last edited by
    #1

    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?

    1 Reply Last reply
    0
    • Christian EhrlicherC Offline
      Christian EhrlicherC Offline
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      4

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved