Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-29067

Creating Qt Quick Application for android using CMake as build system fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • Qt Creator 11.0.0-rc1
    • Qt Creator 10.0.0, Qt Creator 11.0.0-beta1
    • All Other Issues
    • None
    • macOS, Windows
    • 0c31474ed (11.0)

    Description

      Creating Qt Quick Application for android using CMake as build system fails on Qt 6.2.8.

      Steps to reproduce:

      1. Select 'Create Project'
      2. Choose 'Qt Quick Application' as template
      3. Select 'CMake' as build system
      4. Select an android kit and continue

      Reproducibility: 100%

      I've attached the error as screenshot in this report.

      Workaround: 

      1. Under the project files, locate CMakeLists.txt
      2. Locate install targets in this file, you can see 
        LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
      1. Change it to 
        LIBRARY DESTINATION .
      1. Save the file

      This will solve the issue.

      Attachments

        Issue Links

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

          Activity

            People

              con Eike Ziller
              anjalota Anurup Jalota
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes