Ok. I found the cause why I was not getting anything QML related from the tool. My widget is not in the exe file but in a DLL so I had to specify the dll instead.
But the list of files the tool is getting is huge compared with the one I got by doing the process "manually" and includes most of the .qml files. So my doubt is, do we need to deploy all this files with my application? is not enough with the dlls???
After all my journey I decide try help other with this thing of compiling so I create a backup of everything and post it on web, you can download it here
It's a .rar file with 7.70 GB that contains backup ISO of my Raspberry pi 3B+ And the Cross-Compile folder debated on this topic, everything compiled and installed.
You need just pass thru some steps to make it work in your Ubuntu (none of this steps are tested, but all the backup is real).
Cross-Compile setup Instrution:
On Host PC Ubuntu
(I used in Ubuntu 16.04LTS I dont know if will work in other version of ubuntu or linux):
1- Unpack the .rar file to your home directory ~/
2- Flash the Raspberry Pi Image to your SD card using this command:
@Pablo-J.-Rogina Thank you very much Pablo 😃 the blog was really helpful and explained every step.
One last problem remained .. the setup breaks at 38% when building dependencies for core. It seems that some files may have a bug but i really doubt about that.
The errors are:
'to_string' is not a member of 'std'
control reaches end of non-void function [Werror=return-type]
I'll try the version of OpenCV that Amin Ahmadi recommended in the blog and hope that it works.
I've tried all along to convince that you that, whatever the layout of files/folders you want is/might be, just don't place your own exe plus its DLLs/sub-directories into the same directory as wherever the third-party exe/DLLs/mods are. Doesn't matter so much where either one is a sub-directory of the other, or they are siblings, or they are quite separate. For all sorts of reasons anyway, but especially since you are bothered by their files sitting in the same place and confusing your users. It seems my efforts have been in vain, but @JKSH has somehow hit the sweet spot! It's the right move, good luck! :)
I was never going to put the game's exe and dependencies and the manager's exe in the exact same folder. That would be awful. When I said "unpack the game into my manager's main folder" I always meant extracting and placing the game's folder in my manager's main folder. Portable apps are a self-contained folder.
Also, I thought a little bit more and %AppData% won't work because I'd need to support external hard drives and USB keys. I really don't like accessing (especially deleting) folders that are not direct descendants of mine, although it's kind-of the best option short of a bootstrapping (bat-load-Qtexe or exe-load-Qtdll).
(If you've found this thread in the future: loading the same exe that used addLibraryPath() a couple days ago started complaining about platforms/ after turning my computer on the next day, and OpenGL was complaining on a clean Windows Server 2008 R2 VM. I might still have a problem.)
SGaist, thank you very much for the pointer, and my inept use of the appropriate language, I will review that wiki page and if you don’t mind come back if there is anything I am unsure of. Thank you very much for all your help
As well, Qt versions need a specific version of emscripten, as the pace of emscripten features outpaces Qt, and using a newer emscripten often will not work.
For Qt 5.12, emscripten 1.38.16 is recommended.