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

[CMake] issue with searching dll

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 5.1.1
    • 5.1.0 RC1
    • Build tools: Other
    • None
    • msvc2010_opengl, maybe some other configurations
    • 703cca8bb7607201aff5a2f833d66dc80a7d0e4d

    Description

      I got an issue when trying to generate our VS2010 project with CMAKE, it report an error on existence of qt modules dlls.

      The macro "_populate_Qml_target_properties" check the existence of dlls in the lib directory instead of the bin one.

      It affect all Qt modules

      For exemple in the file :
      C:\Qt\SDK-5\5.1.0-rc1\msvc2010_opengl\lib\cmake\Qt5Qml\Qt5QmlConfig.cmake

      We replaced line 31
      set(imported_location "${_qt5Qml_install_prefix}/lib /${LIB_LOCATION}")
      by this one
      set(imported_location "${_qt5Qml_install_prefix}/bin /${LIB_LOCATION}")
      to fix the issue.

      Please notice that I didn't check if it's also the case with mingw configuration or on others platforms.

      Attachments

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

        Activity

          People

            stephen.kelly Stephen Kelly (Unused account) (Inactive)
            flamaros Xavier Bigand
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes