Skip to content

Commit fe236db

Browse files
versatamai2012
authored andcommitted
donate-cpu.py: Improve Qt library detection (cppcheck-opensource#2171)
Some projects only use this (older?) style of Qt header inclusion. There are (older) books and examples which use this style, too. It seems to be perfectly valid, so we should support it.
1 parent da363c7 commit fe236db

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tools/donate-cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
4141
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
4242
# changes)
43-
CLIENT_VERSION = "1.1.36"
43+
CLIENT_VERSION = "1.1.37"
4444

4545

4646
def check_requirements():
@@ -444,7 +444,7 @@ def get_libraries():
444444
'opengl': ['<GL/gl.h>', '<GL/glu.h>', '<GL/glut.h>'],
445445
'openmp': ['<omp.h>'],
446446
'python': ['<Python.h>', '"Python.h"'],
447-
'qt': ['<QApplication>', '<QList>', '<QObject>', '<QString>', '<QWidget>', '<QtWidgets>', '<QtGui'],
447+
'qt': ['<QApplication>', '<QList>', '<qlist.h>', '<QObject>', '<QString>', '<qstring.h>', '<QWidget>', '<QtWidgets>', '<QtGui'],
448448
'ruby': ['<ruby.h>', '<ruby/', '"ruby.h"'],
449449
'sdl': ['<SDL.h>', '<SDL/SDL.h>', '<SDL2/SDL.h>'],
450450
'sqlite3': ['<sqlite3.h>', '"sqlite3.h"'],

0 commit comments

Comments
 (0)