I don't know how you read your text-file. But if it is for example with QTextStream, you coulc read line by line, call QString QString::simplified() const on it. that removes all leading and trailing whitespaces and reduces al other whitespaces to a simple single space. That should include tab and multiple spaces.
Than QString::splitRef(QChar::Space); on it and you have a vector of all your entries (in StringRef format) -> convert it to your container.
I copy those files on device, into internal storage.
Then, I generate new APK (same configuration: release, with Qt libs and not signed).
To generate the update APK, I remove from this the Qt specific stuff (so APK size is now less than 2MB).
I transfer this APK on device, on device side I insert missed Qt libs into.
Then I start APK installation on device.
This a very dirty way to do it, but it WorksForMe(TM)
@SGaist no, I did not. I just tried it with --qmldir specified and it worked flawlessly. Lesson learnt. However, I feel the deployment article could be a little more informative.
I appreciate the help!
"Is this something that's part of a newer Qt distribution, or something you've customized?"
My customization that I wanted to contribute as well but there were obstacles that prevented this. The customized macdeployqt could be given additional include paths where to search for dependencies, so I think it could help you solve your case.
Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.