Important: Please read the Qt Code of Conduct -

Qt Creator Compile Output window produces invalid path

  • I'm using main project ( that uses the "subdirs" template, and has several subdirs.
    The issue I'm having is, when I click on errors in the "Compile Output" window, the correct source file is shown in the editor, but when I edit it try to save, I get an error, e.g.: "Cannot create file dev\heart\Transverter\htlib\HT2000.cpp: The system cannot find the path specified."

    In the "Compile Output" window, the location of this source file is listed as "C:\tmp\build\Transverter........\dev\heart\Transverter\htlib\HT2000.cpp", which seems to include one too many sets of "..", since the source file is in C:\dev\heart\Transverter\htlib\HT2000.cpp.

    Not sure if this is a bug somewhere in the tool chain, or maybe I've set up my projects wrong?

    Here is my file (located in C:\dev\heart\Transverter):
    TEMPLATE = subdirs

    SUBDIRS +=

    Here are my project settings:
    Qt Version: Qt 4.8.0 MSVC
    Tool chain: Microsoft Visual C++ Compiler 10.0 (x86)
    Shadow build: on
    Build directory: C:\tmp\build\Transverter

    I'm using Qt Creator 2.4.0.

  • I have the same issue and the same project settings (except of course build directory).

  • Bugs are best reported at

Log in to reply