Skip to content

Commit

Permalink
Merge pull request #45 from pcgomes/replace_Qtscript_with_QtQml
Browse files Browse the repository at this point in the history
Fix QIODevice::OpenMode flags that are not present at QT 5.8
  • Loading branch information
pcgomes committed Sep 17, 2020
2 parents ab4a2de + db5a1e0 commit 2559183
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scripting/scriptengine/qtbindings/CoreIODevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,9 @@ namespace QtBindings
Truncate = QIODevice::Truncate,
Text = QIODevice::Text,
Unbuffered = QIODevice::Unbuffered,
NewOnly = QIODevice::NewOnly,
ExistingOnly = QIODevice::ExistingOnly
// The following are not presetn at QT5.8 - Add as value for backward compatibility
NewOnly = 0x0040,
ExistingOnly = 0x0080
};
Q_FLAG(OpenModeFlag);
IODevice();
Expand Down

0 comments on commit 2559183

Please sign in to comment.