qgroundcontrol icon indicating copy to clipboard operation
qgroundcontrol copied to clipboard

QMake patch for Android build in context of using custom subproject.

Open QDroneDev opened this issue 4 years ago • 4 comments

QDroneDev avatar Oct 19 '21 02:10 QDroneDev

When building for Android on Windows (using Qt 5.15.2), with a custom sub project present, the QMake in android.pri which sets up a package source directory inside of the build directory failed on multiple points. Notably qmake -install sed -i ... didn't work because sed -i isn't a valid option apparently. That is supposed to search and replace file contents "in place". It is possible however, to use sed -e, which spits out the results over stdout... Further, cmd.exe/batch commands where failing due to the use of forward slashes in paths. I fixed all this, and then confirmed my fix also worked when run on macOS (in the same context).

QDroneDev avatar Oct 19 '21 13:10 QDroneDev

Is there a particulr reason why this fix is blocked after all checks passed?

highfreq avatar Dec 03 '22 09:12 highfreq

Should I request a merge onto a different (dev?) branch perhaps?

If it were faster and easier to contribute here, I'd do so a whole lot more! I work on a closed source version of QGC daily, but am discouraged to share code as a result of the red tape (such this patch never being approved). I assume it's simply very hard for the maintainers to keep up with all the merge requests?

QDroneDev avatar Dec 05 '22 13:12 QDroneDev

Sorry for taking so long. I was hoping someone else would take over majority of maintenance. That didn't happen. So for now I'm back to doing it myself. Hopefully you'll see better response now.

With regards to this pull, newer versions of OSX have similar but different problems with sed. I"m considering moving this replace scraping stuff to some other mechanism that will work everywhere. Not sure what that is yet. If I don't figure that out I'll use your mods. Stay tuned.

DonLakeFlyer avatar Jan 15 '24 19:01 DonLakeFlyer