Made adaptation to Qt6. Now it compiles without any errors and runs.

More work is required to get rid of Qt5Compat shims
This commit is contained in:
Ilia Sharin
2023-05-05 17:00:08 -04:00
parent 7989d89fe9
commit 67df2c1d6f
38 changed files with 135 additions and 123 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ QString SeerPrintpointCreateDialog::printpointText () const {
printpointParameters += " ";
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
if (format().front() != "\"") {
if (format().front() != QString("\"")) {
#else
if (format().at(0) != "\"") {
#endif
@@ -229,7 +229,7 @@ QString SeerPrintpointCreateDialog::printpointText () const {
printpointParameters += format();
#if QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)
if (format().back() != "\"") {
if (format().back() != QString("\"")) {
#else
if (format().at(format().size() - 1) != "\"") {
#endif