Closed MickaelOnTheWave closed 11 months ago
QT6 had many problems and so wasn't deemed a proper solution to have PDF through QT6 classes. CSS was changed to be internal, this improved generation but also highlighted that QT5 PdfPrinter does not support enough CSS features to be usable.
wkhtml with Python has been successfully used, therefore the solution is to use its C++ library and integrate it in InvoiceManager.
wkhtml successfully built. Some things need to be done to be integrated into InvoiceManager :
wkhtml stripped down of image code. Cmake build created and (mostly) working. Code adapted to compile with Cmake and current configuration. Now trying to solve linking error with GUI.
Add PDF Creation feature. There is already GUi and CLI commands, but their implementation does not work. Also, the PDF should have its filename configurable and be the same as the preview.