Mergin weather-qt and weather-cmd into one project#13
Mergin weather-qt and weather-cmd into one project#13hef wants to merge 2 commits intoloansindi:masterfrom
Conversation
|
in principle, it shouldn't be that hard to kludge these two together. There's no good reason there couldn't be a command line flag |
|
This actually keeps the 2 projects separate, but allows for code sharing between them. I added a patch that seperates getReport() from the cmd version into a "weather-lib" , and refactors both weather-qt and weather-cmd to call getReport() from weather-lib |
|
@jobybenoit do you wanna try out this PR and make sure both apps seems to function (though I expect weather-cmd will still crash at printing, i haven't investigated that yet) |

I'm wondering if you thing this would be a good idea:
The idea is to first move weather-qt and weather-cmd into a common codebase, and then move the common functionality into a common space for both programs