Skip to content

Commit e5fdecd

Browse files
committed
Disable use of any deprecated Qt <6 API
1 parent 7ec3d7f commit e5fdecd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/src.pro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ if(!defined(VERSION, var)) {
1010
VERSION = $$system(git --no-pager show --pretty=oneline --no-notes | head -1 | cut -b-40)
1111
}
1212

13+
DEFINES += QT_DISABLE_DEPRECATED_UP_TO=0x05FFFF
14+
1315
VERSTR = '\\"$${VERSION}\\"' # place quotes around the version string
1416
DEFINES += VER=\"$${VERSTR}\" # create a VER macro containing the version string
1517

0 commit comments

Comments
 (0)