Parse custom build output



  • I use custom build to compile cpp files with mingw g++. Compilation errors are displayed in the "Compile output" window. Window "Issues" remains clean. Нow to display information about errors in the window "Issues"?


  • Moderators

    Hi,

    1. Which version of Qt Creator are you using ?
    2. Can you paste the compilation errors which are seen in "Compile Output" tab but are not reflected in "Issues" tab ?


  • Qt Creator 2.8.1.
    Compile output:
    @16:20:23: Running steps for project ogles...
    16:20:23: Starting: "M:\dev\tmp\ogles\ninja-windows.cmd" build debug
    [1/2] CXX build/deb/main.o
    FAILED: g++ -MT build/deb/main.o -MF build/deb/main.o.d -Wall -Wextra -fno-rtti -fno-exceptions -MMD -g -c src/main.cpp -o build/deb/main.o
    src/main.cpp: In function 'int main(int, char**)':
    src/main.cpp:9:4: error: 'class std::vector<int>' has no member named 'push_back1'
    v.push_back1(1);
    ^
    src/main.cpp: At global scope:
    src/main.cpp:6:5: warning: unused parameter 'argc' [-Wunused-parameter]
    int main(int argc, char *argv[])
    ^
    src/main.cpp:6:5: warning: unused parameter 'argv' [-Wunused-parameter]
    ninja: build stopped: subcommand failed.
    16:20:23: The process "M:\dev\tmp\ogles\ninja-windows.cmd" exited with code 1.
    Error while building/deploying project ogles (kit: Desktop Qt 5.1.1 MinGW 32bit)
    When executing step 'Custom Process Step'
    16:20:23: Elapsed time: 00:00.@


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.