This simplifies deployment on Android, a platform that libdmtx doesn't
seem to support out of the box.
Details
Details
- Reviewers
svuorela - Group Reviewers
Frameworks - Commits
- R280:361ca88e13c5: Make DMTX dependency optional
Diff Detail
Diff Detail
- Repository
- R280 Prison
- Branch
- master
- Lint
No Linters Available - Unit
No Unit Test Coverage
Comment Actions
Thanks. The ability to cleanly do something like that was one of the reasons for the api changes I did between qt4 and qt5.
src/lib/prison.cpp | ||
---|---|---|
44 ↗ | (On Diff #27400) | I'm wondering if it isn't better to have case Prison::DataMatrix: #ifdef HAVE_DTMX return new DataMatrixBarcode; #else return nullptr #endif to avoid potentially having a unhandled enum value in switch warning. |