donate-cpu.py: Improve detection of Qt library usage (#2042)

This commit is contained in:
Sebastian 2019-07-26 13:50:04 +02:00 committed by GitHub
parent 6d1ce99dce
commit ee72bb7107
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ import platform
# Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/ # Version scheme (MAJOR.MINOR.PATCH) should orientate on "Semantic Versioning" https://semver.org/
# Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic # Every change in this script should result in increasing the version number accordingly (exceptions may be cosmetic
# changes) # changes)
CLIENT_VERSION = "1.1.26" CLIENT_VERSION = "1.1.27"
def check_requirements(): def check_requirements():
@ -264,7 +264,7 @@ def scan_package(work_path, cppcheck_path, jobs):
'opengl': ['<GL/gl.h>', '<GL/glu.h>', '<GL/glut.h>'], 'opengl': ['<GL/gl.h>', '<GL/glu.h>', '<GL/glut.h>'],
# 'openmp': ['<omp.h>'], <= enable after release of version 1.89 # 'openmp': ['<omp.h>'], <= enable after release of version 1.89
'python': ['<Python.h>', '"Python.h"'], 'python': ['<Python.h>', '"Python.h"'],
'qt': ['<QApplication>', '<QString>', '<QWidget>', '<QtWidgets>', '<QtGui'], 'qt': ['<QApplication>', '<QList>', '<QObject>', '<QString>', '<QWidget>', '<QtWidgets>', '<QtGui'],
'ruby': ['<ruby.h>', '<ruby/'], 'ruby': ['<ruby.h>', '<ruby/'],
'sdl': ['<SDL.h>'], 'sdl': ['<SDL.h>'],
'sqlite3': ['<sqlite3.h>', '"sqlite3.h"'], 'sqlite3': ['<sqlite3.h>', '"sqlite3.h"'],