-
Bug
-
Resolution: Done
-
P1: Critical
-
5.5.0
-
None
-
Windows 7 64-bit
-
0552331d0e42e7b73f36e31ffd3cc511b50d2ec0
I need to compile the inlines of QtWidgets on Windows to use in bindings. However, I cannot do that because QAccessibleTree, which is not exported, has an inlined constructor which causes linking to fail.
Since this constructor is the only inlined member of QAccessibleTree, I'd like to suggest a solution:
1. In qtbase/src/widgets/accessible/itemviews.h change:
explicit QAccessibleTree(QWidget *w) : QAccessibleTable(w) {}
to:
explicit QAccessibleTree(QWidget *w);
2. In qtbase/src/widgets/accessible/itemviews.cpp add:
QAccessibleTree::QAccessibleTree(QWidget *w) : QAccessibleTable(w) {}
I am sorry for not providing a proper patch but I do not have a working Qt build environment.