forked from qt-creator/qt-creator
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:
@@ -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
|
||||||
|
Reference in New Issue
Block a user