[Interest] Adding editable files to VS2013 project via .pro and qmake

2016-05-26 Thread Tony Rietwyk
Hi Everybody, I am using Qt5.5.1 and qmake to generate a project for Visual Studio 2013. I would like to add some text files to those shown in the Solution Explorer so that I can edit them. They are not required for building, nor for deployment. I tried adding a file in VS, and then diff'ing

Re: [Interest] qsTr in components

2016-05-26 Thread Kristoffersen, Even (NO14)
Alright, so I think I've found out why this doesn't work. When doing the translation inside the TextTr component it loses the context. The QT_TR_NOOP is in main.qml so "main" is the context in the translation files. That's why it works when I do qsTr() in main.qml, but no translation is found