gcclikecompiler: Fix execution of compiler qprocess under windows

Authored by geetamc on Nov 15 2017, 10:16 PM.

Description

gcclikecompiler: Fix execution of compiler qprocess under windows

Summary:
Rather than passing null device as input file to the compiler,
"-" is passed as argument which makes the compiler take input from
stdin, then qprocess' standard input file is set to QProcess:nullDevice()
to make it read eof.

Note that it fixes standard includes not being passed to language plugin if
clang is set as default compiler under windows.

Reviewers: KDevelop, kfunk

Reviewed By: KDevelop, kfunk

Subscribers: kfunk, brauch, kdevelop-devel

Differential Revision: https://phabricator.kde.org/D8831

Details

Committed
kfunkNov 15 2017, 10:36 PM
Reviewer
KDevelop
Differential Revision
D8831: gcclikecompiler: Fix execution of compiler qprocess under windows
Parents
R32:da49f7bf76aa: fix "none" being set as default compiler on windows
Branches
Unknown
Tags
Unknown