Tag Archives: QT use

-1: error: fatal error: no input files problem solved

QT error is reported as follows: -1: error: fatal error: no input files
cause: two consecutive // causes in project pro file SOURCES += configuration.
qmake syntax to add a source file or a configuration ends with a slash, if two slashes appear in a row, then there is an empty input, but qmake does not avoid the empty file input, causing GCC to pass to the empty file compilation business.