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

configure -cmake silently ignores -platform

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 6.0.0 RC
    • 6.0.0 Beta2
    • Build System: CMake
    • 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

            jbornema Joerg Bornemann
            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