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

CMake-Projects with umlauts in path to project cannot compile

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • Not Evaluated
    • Qt Creator 4.3.0
    • Qt Creator 4.2.1
    • Windows 7, Desktop-PC, CMake (3.6.2 and current RC), MSVC++-Compiler (tested with different versions)

    Description

      Short Description:
      When I want to setup a cmake-project within QtCreator that contains an umlaut in the path leading to it's base folder, first CMake seems to do anything correct, but after the first try to build a project, the CMake-compiler-check fails with error U1077 from Visual Studio because the path to the generated testfile does not exist. According to verbose make-output within qtcreator the reason for this seems to be that the umlaut passed as chain of other signs.
      Executing cmake from the command line does not cause this problem, so I think there's a conflict in the encoding of the messages exchanged between QtCreator and CMake (tested with 3.6.2. and the current release candidate).

      Steps to reproduce:
      1) Create a simple "Hello World"-project consisting of

      • a main.cpp with a main function doing nothing else than printing "Hello World" to std::cout using <iostream>
      • a CMakeLists.txt which builds an executable within a project e.g. named "Demo" out of the main.cpp
        2) Move that project into an folder where part of the path contains an umlaut like e.g. "ΓΌ"
        3) Open QtCreator and open the CMake-Project => CMake seems to run without error and finds the main.cpp
        4) Build the project => The CMake-compile-tests fails

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            raspe88 Ralf Spengler
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes