@staticmethod
def get_qmake_configuration(target_configuration):
    """ Return a dict of qmake configuration values for CONFIG, DEFINES,
        INCLUDEPATH, LIBS and QT.  If value names (i.e. dict keys) have either
        'Qt4' or 'Qt5' prefixes then they are specific to the corresponding
        version of Qt.  target_configuration is the target configuration.
        """
    if target_configuration.qtchart_version < 131072:
        return {'CONFIG': 'qtcommercialchart', 'Qt5:QT': 'widgets',
            'Qt5:LIBS': '-L$$[QT_INSTALL_LIBS]'}
    return {'QT': 'charts'}
