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

QtCreator doesn't not allow selection of the QNX C compiler (qcc)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Not Evaluated
    • None
    • Qt Creator 4.7.0-beta1

    Description

      QNX OS is popular in the Automotive sector. CMake also popular in the Automotive sector.

      When Qt Creator is used to compile a CMake project, CMake will fail because one cannot select a C compiler for QNX.

      Qt Creator has for compilers only QCC, which is mapped to C++.

      QNX 6.6.0 has QCC as the C++ compiler wrapper, while qcc is the C compiler wrapper.
      QNX 7.0.0 has q++ as the C++ compiler wrapper, while qcc is the C compiler wrapper.

      One can use the generic C and C++ compiler options, but if you do that then the C++ code parser gets confused and doesn't map standard headers.

      Also you can modify the CMAKE_C_COMPILER:STRING=%

      {Compiler:Executable:C}

      in the CMake Kit Configuration and put there the path to qcc, but it would be better if the compiler selector would just know about qcc.

      Attachments

        1. cmake_qnx.png
          116 kB
          Cristian Adam
        2. generic_compiler_qnx.png
          172 kB
          Cristian Adam
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            cadam Cristian Adam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes