Re: [Interest] How to properly translate an application?

2018-06-11 Thread EXT Artem Sidyakin
> For the Qml part I have all my qsTr(“My str to tr") + I18n.r where I18n is a > singleton and "r" is a property upon which I call the changed when I load a > new language There is no need for that since Qt 5.10 (QTBUG-15602). Although, OP asked about Qt 5.9, and there you still have to use

Re: [Interest] How to properly translate an application?

2018-06-11 Thread Jérôme Godbout
Note: For 5.10, you have to call QQmlEngine::retranslate() to make this work. Not sure this is needed for 5.11 as I haven't move on to 5.11 because of borken Qml MouseGesture, will have to try it out. But good to known this is now fixed.

Re: [Interest] How to properly translate an application?

2018-06-11 Thread Jérôme Godbout
I just checkout the retranslate doc and I found this: Note: Due to a limitation in the implementation, this function refreshes all the engine's bindings, not only those that use strings marked for translation. This may be optimized in a future release. Ouch! I will stick with my property

[Interest] Can't debug on Android device anymore

2018-06-11 Thread René Hansen
Hi, Has anyone else starting seeing this error, when trying to run in debug mode on device? "Can't find C++ debugger." It seems to have started just recently and I haven't made any changes to my ndk afaict. QtCreator 4.6.2 on macOS. /René ___

[Interest] Building Qt 5.11.0 with -no-opengl

2018-06-11 Thread Igor Mironchik
Hello, Is it possible to build Qt 5.11 with -no-opengl option? I tried to do this and got: g++ -c -pipe -g -Og -fPIC -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS

Re: [Interest] Can't debug on Android device anymore

2018-06-11 Thread Stanislas RENAN
Hi, If you found a solution, would you please consider documenting it in this bug ? https://bugreports.qt.io/browse/QTCREATORBUG-20403 Note that the problem occurs on several building platforms, not only on macOS. Stanislas RENAN Le 11 juin 2018 19:50:15 GMT+02:00, "Jérôme Godbout" a écrit

Re: [Interest] Can't debug on Android device anymore

2018-06-11 Thread Jérôme Godbout
I also had to trash the build folder, reboot the system after all update. Reopen the Qt Creator and rebuild the solution to make this work on my side. From: Interest on behalf of John Weeks Sent: June 11, 2018 1:04 PM To: interest Subject: Re: [Interest]

Re: [Interest] Can't debug on Android device anymore

2018-06-11 Thread John Weeks
Yes. My recollection is that it happened when I upgraded Xcode and the Xcode command line tools. I think I resolved it by shutting down Creator, trashing the built application bundle and the build folders. You might even want to restart your computer. It's also possible that all that is a red