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

configure -cmake silently ignores -platform

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Done
    • Affects Version/s: 6.0.0 Beta2
    • Fix Version/s: 6.0.0 RC
    • Component/s: Build System: CMake
    • Labels:
    • Environment:
      Ubuntu 20.04 LTS 64 bit
      clang 10.0.0

      Description

      1. Configure qtbase to build with CMake and clang:
        ~/dev/src/qtbase/configure -cmake -platform linux-clang
        

        The output will contain the line:

        Building for: linux-clang (x86_64, CPU features: mmx sse sse2)
        
      2. Try building this:
        cmake --build . --parallel
        

        or just:

        make
        

        This will use cc1 and cc1plus, not clang and clang++.

      If linux-clang cannot be used for some reason, configure should make this clear and not silently ignore what I selected explicitly.

        Attachments

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

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            rlohning Robert Löhning
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes