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

Debugging qtbase with Creator on boot2qt because of "no-prefix" on a prefix build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • dev
    • Build System: CMake
    • None
    • Linux/X11
    • afe158b93 (dev), 253731e84 (6.6), 536545578 (6.5)

    Description

      Steps to reproduce:

      • build qtbase developer build locally on linux
      • cross compile for embedded, set FEATURE_no_prefeix to OFF in Creator.
      • set the install prefix to /usr/local, as described here
      • compile qtbase for embedded with ninja
      • Run the "Menus" example on an embedded device (e.g. Raspberry PI)

      This fails with

      08:33:48: Running steps for project QtBase...
      08:33:48: Starting: "/usr/bin/cmake" --build /home/axel/QtGit/dev-build/qtbase-embedded --target all install
      [0/1 0.0/sec] Install the project...
      -- Install configuration: "Debug"
      CMake Error at cmake_install.cmake:46 (message):
        Qt was configured as non-prefix build.  Installation is not supported for
        this arrangement.
      
      FAILED: CMakeFiles/install.util 
      cd /home/axel/QtGit/dev-build/qtbase-embedded && /usr/bin/cmake -P cmake_install.cmake
      ninja: build stopped: subcommand failed.
      08:33:49: The process "/usr/bin/cmake" exited with code 1.
      Error while building/deploying project QtBase (kit: dev embedded)
      The kit dev embedded has configuration issues which might be the root cause for this problem.
      When executing step "Build"
      08:33:49: Elapsed time: 00:00.
      

      Tested with:

      • qtbase head at Change-Id: I0a2ddf10652be78d5b80c486261199d0d7ed5c84
      • Qt Creator 11.0.2
      • openSuSE tumbleweed

      Attachments

        Issue Links

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

          Activity

            People

              qtbuildsystem Qt Build System Team
              axelspoerl Axel Spoerl
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes