CMake Build: Build fix for MSVC

designerintegrationv2 needs to depend on Qt5::Widgets so that it will
get the Widgets PCH, which will not cause linker errors at Designer.dll

Change-Id: Id8a4847c5bf3fc235ca980282fb6497acc84b66f
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2019-09-25 18:12:29 +02:00
parent ea5eb8890a
commit 501e630df1

View File

@@ -3,7 +3,7 @@ if (NOT TARGET Qt5::Designer)
endif() endif()
add_qtc_library(designerintegrationv2 STATIC add_qtc_library(designerintegrationv2 STATIC
DEPENDS Qt5::Designer DEPENDS Qt5::Designer Qt5::Widgets
SOURCES SOURCES
formresizer.cpp formresizer.h formresizer.cpp formresizer.h
sizehandlerect.cpp sizehandlerect.h sizehandlerect.cpp sizehandlerect.h