aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJon Severinsson <jon@severinsson.net>2012-12-11 16:19:24 +0000
committerJon Severinsson <jon@severinsson.net>2012-12-12 21:01:33 +0000
commitf0680b75e32645b4e0626ead645f49325f20b228 (patch)
treefa4a0c1dab0bf886490aed4b7cb0a8c12e09398f /modules
parenta488a08157cf26f2e15908f0f21e9b3e435aabeb (diff)
downloadextra-cmake-modules-f0680b75e32645b4e0626ead645f49325f20b228.tar.gz
extra-cmake-modules-f0680b75e32645b4e0626ead645f49325f20b228.tar.bz2
QtWebkit is now split in QtWebKit and QtWebKitWidgets
Make FindQt5Transitional.cmake handle this transparently. REVIEW: 107438
Diffstat (limited to 'modules')
-rw-r--r--modules/ECMQt4To5Porting.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/ECMQt4To5Porting.cmake b/modules/ECMQt4To5Porting.cmake
index ce797ebd..0e37d1cc 100644
--- a/modules/ECMQt4To5Porting.cmake
+++ b/modules/ECMQt4To5Porting.cmake
@@ -165,6 +165,7 @@ set(_qt_modules
Xml
UiTools
WebKit
+ WebKitWidgets
Sql
OpenGL
)
@@ -180,6 +181,9 @@ endforeach()
list(APPEND QT_QTCORE_LIBRARIES ${Qt5Concurrent_LIBRARIES})
list(APPEND QT_QTCORE_LIBRARY ${Qt5Concurrent_LIBRARIES})
+list(APPEND QT_QTWEBKIT_LIBRARIES ${Qt5WebKitWidgets_LIBRARIES})
+list(APPEND QT_QTWEBKIT_LIBRARY ${Qt5WebKitWidgets_LIBRARIES})
+
get_target_property(QT_QMAKE_EXECUTABLE Qt5::qmake LOCATION)
get_target_property(QT_RCC_EXECUTABLE Qt5::rcc LOCATION)
if (TARGET Qt5::uic)