Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Some Release
-
windows / visual studio / qt 5
-
qtbase: 489d8a0627c46092d20f476d5521ecafd42e5ce5
Description
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.”)
Attachments
Issue Links
- replaces
-
QTSOLBUG-166 Building QtSingleApplication as DLL fails with Qt5
-
- Closed
-