Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
5.15.2
-
None
-
windows 7 64-bit
Description
QStringView is declared like this (qstringview.h, line 104):
class QStringView
That is, Q_CORE_EXPORT is missing which makes the functions of the class unexported and therefore unlinkable on windows. Code as simple as:
class QString (*_6807)(const class QString&) = &QRegularExpression::anchoredPattern;
fails to link with LLD as a library. Strangely enough, Qt Creator manages to build it when it obviously shouldn't. Do I need to use any special settings which Creator does internally?