diff --git a/bin/syncqt.pl b/bin/syncqt.pl index cca654e3b4e..93c962cf90c 100755 --- a/bin/syncqt.pl +++ b/bin/syncqt.pl @@ -182,6 +182,7 @@ sub shouldMasterInclude { if (open(F, "<$iheader")) { while () { chomp; + chop if /\r$/; return 0 if (/^\#pragma qt_no_master_include$/); } close(F);