foldynl / QLog

Amateur radio logbook software
GNU General Public License v3.0
150 stars 20 forks source link

POTA file export #514

Open kyleboyle opened 5 days ago

kyleboyle commented 5 days ago

This enhancement completes our pota user experience. I've explained the pota experience and common workflow as a wiki entry here: https://github.com/kyleboyle/QLog/wiki/POTA-Activations

This PR is the missing functionality of the file export. There are various legacy and pota.app requirements which differentiates it from a generic adif export which I won't outline here but I describe briefly in the wiki and the full documentation is here:

https://docs.pota.app/docs/activator_reference/ADIF_for_POTA_reference.html

foldynl commented 4 days ago

Please, could you rebase it and send me only diff for you change ?

kyleboyle commented 3 days ago

Not sure why qt5 is failing on that enum

foldynl commented 2 days ago

it is because of Ubuntu 20.04. It contains qt 5.12. I already solved it in QLog. Try this:

#if (QT_VERSION >= QT_VERSION_CHECK(5, 15, 0))
    const QStringList &commands = message.split(";", Qt::SkipEmptyParts);
#else /* Due to ubuntu 20.04 where qt5.12 is present */
    const QStringList &commands = message.split(";", QString::SkipEmptyParts);
#endif
kyleboyle commented 2 days ago

Ah, that makes sense. I was trying to replicate locally on 5.15 (the version of qt5 installed by homebrew on macos) and didn't see any difference :D