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
Attachments
For Gerrit Dashboard: QTBUG-25848 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
26868,3 | qmake can not process project file with UTF-8 BOM | master | qt/qtbase | Status: MERGED | +2 | 0 |