Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-102994

Adding the Qt Bluetooth module produces a Makefile that looks for "user32.lib.lib" and "runtimeobject.lib.lib"

    XMLWordPrintable

    Details

    • Platform/s:
      Windows, WinRT

      Description

      A customer with a static version of Qt 6.3.0 got this:

      LINK : fatal error LNK1181: Input file "runtimeobject.lib.lib" cannot be opened.
      LINK : fatal error LNK1181: Input file "user32.lib.lib" cannot be opened.
      

       

      This is probably due to the following section in <QT>\qtconnectivity\src\bluetooth\CMakeLists.txt:

      qt_internal_extend_target(Bluetooth
          PUBLIC_LIBRARIES
              Qt::Core
              runtimeobject.lib
              user32.lib
      )
      

      All other CMakeLists.txt files in in Qt 6.3.0 use "user32", not "user32.lib".

       

      Note: A quick search reveals multiple uses of "runtimeobject.lib" instead of "runtimeobject":

      • <QT>\qtconnectivity\config.tests\winrt_bt\CMakeLists.txt
      • <QT>\qtconnectivity\src\bluetooth\CMakeLists.txt
      • <QT>\qtlocation\config.tests\winrt\CMakeLists.txt
      • <QT>\qtlocation\src\plugins\position\winrt\CMakeLists.txt
      • <QT>\qtpositioning\config.tests\winrt\CMakeLists.txt
      • <QT>\qtpositioning\src\plugins\position\winrt\CMakeLists.txt
      • <QT>\qtsensors\config.tests\winrt\CMakeLists.txt
      • <QT>\qtsensors\src\plugins\sensors\winrt\CMakeLists.txt

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            skoh-qt Sze Howe Koh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: