1
0
mirror of https://git.code.sf.net/p/zint/code synced 2025-12-17 18:07:02 +00:00

Take version information from CmakeLists.txt

Warning: potential incompatibility because version number is no longer stored in zint.h
This commit is contained in:
Robin Stuart
2020-11-22 11:29:45 +00:00
parent 44923349f3
commit 3eb31fe3f8
9 changed files with 45 additions and 13 deletions

View File

@@ -363,6 +363,10 @@ namespace Zint {
bool QZint::hasErrors() const {
return m_lastError.length();
}
int QZint::getVersion() const {
return ZBarcode_Version();
}
bool QZint::save_to_file(QString filename) {
resetSymbol();