Hello to everyone!
Hopefully I am in the right place with my topic.
I have to build an App for the Raspberry pi with a GUI and I have to use QT.
Developing on the raspberry is no option because it would take too much time (delay typing, compiling time etc.) and the app will be extensive.
So the solution is to develop on my Pc and cross compile to the raspberry.
So far that was not the problem, the system setup was done in a few hours and it works (that means a created app with a Mainwindow is compiled on the Pc transfered to the raspberry and the window appears on the touchscreen of the raspberry)
the exactly setup:
---Raspberry pi b3
---NOOBS (I know NOOBS
but for the moment it is enough)
---Windows PC (just for the VM)
---VM: Ubuntu 16.04.3 LTS
---QT Creator 4.4.1
I hope i did not forget anything.
So lets get started with my Problem:
The app has to be multilangual and Qt offers a pretty good solution with the Qt-Linguist.
If I build my app wit the Desktop Qt 5.9.3 GC 64bit compiler everything works fine. If I change the language from german to english it works fine. All the texts are shown in english or german (whatever i choose). So I think I can say there is no mistake in the code.
But if i choose the Raspberry toolchain:
The app can be build without an error.
The window apears in the right shape on the Touchscreen of the raspy but if i change the language...nothing hapens.
I dont really have an idea whats the problem.
Maybe thet there is a problem wit the .qm file?
I have tried to copy the wohle project to the raspy and then execute the app. (the idea was maybe i need to transfer the qm file too...but i did not work
google does not have any solution for me...looks like not many people try to do this...or i make a realy stupide mistake..
I hope you guys could help me.
sorry for my ba english...