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

[REG 5.12-5.13] CMake/ActiveQt: LNK4044: unrecognized option '/lole32' (5.13-beta2)

    XMLWordPrintable

Details

    • Windows
    • ba4fdd99fff80790f764ab1ac8addd699e3101e7 1d5f9fcc8a14e4826943a913fe22e819a0837b80 (qt/qtbase/wip/qt6) 90aefe0843a50aede26b8d411f46f3828dae25f1

    Description

      CMake project file generation for ActiveQt projects have started failing with Qt 5.13.0 alpha 1 dated 2019-01-22. This problem does not occur with Qt 5.12.1.

      CMake Error at C:/Qt/5.13.0/msvc2017_64/lib/cmake/Qt5AxBase/Qt5AxBaseConfig.cmake:52 (message):
        Library not found: ole32
      Call Stack (most recent call first):
        C:/Qt/5.13.0/msvc2017_64/lib/cmake/Qt5AxBase/Qt5AxBaseConfig.cmake:175 (_qt5_AxBase_process_prl_file)
        C:/Qt/5.13.0/msvc2017_64/lib/cmake/Qt5AxServer/Qt5AxServerConfig.cmake:143 (find_package)
        C:/Qt/5.13.0/msvc2017_64/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package)
        host/AppSandbox/CMakeLists.txt:62 (find_package)
      

      Observed difference:
      The QMAKE_PRL_LIBS entries for linking to system libraries in Qt5AxBase.prl have changed from "-lole32" in Qt 5.12.1 to -lole32 (without quotes) in Qt 5.13.0 alpha1.

      There's no recent CMake changes in the ActiveQt repo, so I suspect that this is primarily a CMake issue.

      Steps to reproduce:

      Attachments

        1. default_msvc_linking.png
          8 kB
          Fredrik Orderud
        2. Qt5AxBaseConfig.cmake
          10 kB
          Kai Köhne
        3. qtbug73745.zip
          19 kB
          Friedemann Kleint

        Issue Links

          For Gerrit Dashboard: QTBUG-73475
          # Subject Branch Project Status CR V

          Activity

            People

              kkohne Kai Köhne
              forderud Fredrik Orderud
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes