forked from qt-creator/qt-creator
Utils: Export TypedAspect
Without the export, when compiled on macOS (with clang), the call "runControl()->aspect<RunAsRootAspect>()" in runcontrol.cpp would return a nullptr, since ProjectExplorer and libUtils had different vtables for TypedAspect<bool>. Task-number: QTCREATORBUG-30516 Change-Id: Ic3cef6545e97f59af2a1138f13762c07d9402e4a Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -280,7 +280,7 @@ QTCREATOR_UTILS_EXPORT void createItem(Layouting::LayoutItem *item, const BaseAs
|
|||||||
QTCREATOR_UTILS_EXPORT void createItem(Layouting::LayoutItem *item, const BaseAspect *aspect);
|
QTCREATOR_UTILS_EXPORT void createItem(Layouting::LayoutItem *item, const BaseAspect *aspect);
|
||||||
|
|
||||||
template <typename ValueType>
|
template <typename ValueType>
|
||||||
class TypedAspect : public BaseAspect
|
class QTCREATOR_UTILS_EXPORT TypedAspect : public BaseAspect
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
using valueType = ValueType;
|
using valueType = ValueType;
|
||||||
|
Reference in New Issue
Block a user