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

When compiling against a system-installed Qt, qt_generate_deploy_app_script creates a wrong qt.conf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • 6.9.1
    • Build System: CMake
    • None
    • Linux/X11

      When adding:

      qt_generate_deploy_app_script(TARGET ${NAME} OUTPUT_SCRIPT deploy_script)
      install(SCRIPT ${deploy_script}) 

      to an Application and building it on e.g. ubuntu with a Qt installed via "apt-get", the deploy will not copy any libraries / plugins into the install folder. Which makes sense. But then it adds a qt.conf and set the Path to "..", rendering the application inoperable.

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

            qtbuildsystem Qt Build System Team
            madwinter Marcus Tillmanns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes