Hi Keith,
This got fixed improved in Qt Creator 4.9.0, see https://bugreports.qt.io/browse/QTCREATORBUG-20341
A version of the Qt Creator 4.9.0 is shipped with Qt 5.12.4 (which just got release recently). Read about it here Qt 5.12.4 Released with support for OpenSSL 1.1.1 - Qt Blog. Qt 5.12.4 is now available via the maintenance tool of the online installer. For new installations, please download latest online installer from Qt Account portal or from qt.io Download page.
Note that this version of Qt is not fully compatible with Local Make as per https://doc.arcgis.com/en/appstudio/extend-apps/installdevtoolslocalmake.htm. These set of instructions are provided just so that you can get a version of Qt Creator 4.9.0 that supports the ECMAScript 262 features for your arrow functions.
After installing it, you need to configure AppStudio to use Qt Creator 4.9.0 instead of the Qt Creator 4.5.0 shipped with AppStudio.
On Windows:
- In a Command Promt run: %USERPROFILE%\Applications\ArcGIS\AppStudio\sdk\ideintegration\post-install.bat
- Edit %APPDATA%\Esri\AppStudio.ini changing the value for [Tool-QtCreator] command:
[Tool-QtCreator]
command=C:\\Qt\\Qt5.12.4\\Tools\\QtCreator\\bin\\qtcreator.exe
on macOS:
- In a Terminal window run: ~/Applications/ArcGIS/AppStudio/sdk/ideintegration/post-install-mac.sh
- Edit ~/.config/Esri/AppStudio.ini changing the value for [Tool-QtCreator] command:
[Tool-QtCreator]
command=/Users/stephenquan/Qt5.12.4/Qt Creator.app
on Linux:
- In a terminal window run: ~/Applications/ArcGIS/AppStudio/sdk/ideintegration/post-install-linux.sh
- Edit ~/.config/Esri/AppStudio.ini changing the value for [Tool-QtCreator] command:
[Tool-QtCreator]
command=/home/stephenquan/Qt5.12.4/Tools/QtCreator/bin/qtcreator.sh
Stephen