CMake: Fix mappings in helper.py

Some of the Qt names were wrong. Fix them and remove the work-arounds
in the library mappings.

Change-Id: I9b9afa3fb35c578e5c8d9cdef77224eb072ec8da
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
This commit is contained in:
Tobias Hunger 2019-04-08 16:07:23 +02:00
parent 3bc9586e61
commit 9afc605eb5

View File

@ -69,7 +69,7 @@ def map_qt_base_library(lib: str) -> str:
'fbconvenience': 'Qt::FbSupport',
'fontdatabase_support': 'Qt::FontDatabaseSupport',
'gamepad': 'Qt::Gamepad',
'glxconvenience': 'Qt::GlxSupport',
'glx_support': 'Qt::GlxSupport',
'graphics_support': 'Qt::GraphicsSupport',
'gsttools': 'Qt::MultimediaGstTools',
'gui': 'Qt::Gui',
@ -82,7 +82,7 @@ def map_qt_base_library(lib: str) -> str:
'kms_support': 'Qt::KmsSupport',
'launcher-lib': 'Qt::AppManLauncher',
'lib': 'Qt::Designer',
'linuxaccessibility': 'Qt::LinuxAccessibilitySupport',
'linuxaccessibility_support': 'Qt::LinuxAccessibilitySupport',
'location': 'Qt::Location',
'logic': 'Qt::3DLogic',
'macextras': 'Qt::MacExtras',
@ -140,8 +140,7 @@ def map_qt_base_library(lib: str) -> str:
'uiplugin': 'Qt::UiPlugin',
'uitools': 'Qt::UiTools',
'virtualkeyboard': 'Qt::VirtualKeyboard',
'vkconvenience': 'Qt::VulkanSupport',
'vulkan_supportPrivate': 'Qt::VulkanSupportPrivate',
'vulkan_support': 'Qt::VulkanSupport',
'webchannel': 'Qt::WebChannel',
'webengine': 'Qt::WebEngine',
'webenginewidgets': 'Qt::WebEngineWidgets',
@ -231,7 +230,6 @@ libray_mapping = {
'libproxy': 'LibProxy::LibProxy',
'librt': 'WrapRt',
'libudev': 'PkgConfig::Libudev',
'linuxaccessibility_supportPrivate': 'Qt::LinuxAccessibilitySupportPrivate',
'mtdev': 'PkgConfig::Mtdev',
'odbc': 'ODBC::ODBC',
'pcre2': 'PCRE2',
@ -239,7 +237,6 @@ libray_mapping = {
'sqlite': 'SQLite::SQLite3',
'SQLite3': 'SQLite::SQLite3',
'tslib': 'PkgConfig::Tslib',
'vulkan_supportPrivate': 'Qt::VulkanSupportPrivate',
'x11sm': '${X11_SM_LIB} ${X11_ICE_LIB}',
'xcb_icccm': 'XCB::ICCCM',
'xcb_image': 'XCB::IMAGE',