QtPropertyBrowser doesn't compile as DLL (win32/VS/Qt5.0.0)
-
When compiling the QtPropertyBrowser component as a DLL (configure -library), compilation fails using the latest Qt 5.0.0 and QtSolutions master.
Reason for that:
In "qtpropertybrowser\buildlib\buildlib.pro":
CONFIG += qt dll qtpropertybrowser-buildlib
In "qtpropertybrowser\src\qtpropertybrowser.pri":
win32 {
contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTPROPERTYBROWSER_EXPORT
else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT
}it relies on the "shared" keyword, which is not defined in the .pro file ("dll" is defined), so I guess one could change it to:
win32 {
contains(TEMPLATE, lib):contains(CONFIG, dll):DEFINES += QT_QTPROPERTYBROWSER_EXPORT
else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT
}(I tried to create a new issue in the bug tracker but it didn't work for me: "Assignee: The default assignee does NOT have ASSIGNABLE permission OR Unassigned issues are turned off.")