Details
-
Task
-
Resolution: Done
-
P2: Important
-
None
-
None
-
None
-
6fbeef4c6b2323fc4b7856520c0f38f8139c9c54 (qt/qtbase/dev)
Description
Currently all plugins are built with qt_add_plugin, which is private CMake API.
qmake allows building a plugin by using something like the following in the .pro file
TARGET = qsqlite QT = core core-private sql-private PLUGIN_TYPE = sqldrivers PLUGIN_CLASS_NAME = QSQLiteDriverPlugin load(qt_plugin)
We should expose a public version of qt_add_plugin probably via Qt6CoreMacros to allow building Qt plugins.
The question is what should the private counter part be called: qt_add_plugin would be the natural choice for the public api, so we need to rename the private one to something else?
Attachments
Issue Links
- is required for
-
QTBUG-82962 Allow sqlite plugin to be buildable as a standalone CMake project
- Closed