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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical 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)

      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.

        For Gerrit Dashboard: QTCREATORBUG-29067
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes