Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.0.0
-
None
-
All
Description
Qt 5 have started to enforce that source code file must be UTF-8. But .pro/.pri/.prf files with UTF-8 BOM can not deal by qmake.
More worse, it will cause subtle errors. For example, we have a hello.pro file which saved as UTF-8 with BOM.
TEMPLATE = lib message($$TEMPLATE)
when we run qmake, we will get
Project MESSAGE: app Project MESSAGE: app Project MESSAGE: app