Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
6.0.0
-
None
-
-
d2f701518 (dev), 3b534905c (dev), e5d7c1508 (dev), 4f68ed4c2 (dev), c10e56bdb (dev), c521359de (dev), fb0ee24b9 (dev), 276c13441 (dev), 91654a54e (dev), 581e01811 (dev), c2e4b184c (dev), f6bbc0858 (dev), 73d5bf51f (dev), f36097b31 (dev), 776946919 (dev)
Description
We have those q${module}global.h headers containing export macros like this:
#ifndef QTWIDGETSGLOBAL_H #define QTWIDGETSGLOBAL_H #include <QtGui/qtguiglobal.h> #include <QtWidgets/qtwidgets-config.h> QT_BEGIN_NAMESPACE #ifndef QT_STATIC # if defined(QT_BUILD_WIDGETS_LIB) # define Q_WIDGETS_EXPORT Q_DECL_EXPORT # else # define Q_WIDGETS_EXPORT Q_DECL_IMPORT # endif #else # define Q_WIDGETS_EXPORT #endif QT_END_NAMESPACE #endif // QTGUIGLOBAL_H
They're almost the same for every macro and could be automatically generated by CMake.
Attachments
Gerrit Reviews
For Gerrit Dashboard: QTBUG-90492 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
379587,1 | Migrate to autogenerated cpp exports | dev | qt/qtnetworkauth | Status: NEW | -1 | 0 |
521833,3 | Remove GENERATE_CPP_EXPORTS argument | dev | qt/qtbase | Status: NEW | 0 | 0 |
521836,3 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtdeclarative | Status: NEW | 0 | 0 |
521839,2 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtquick3d | Status: NEW | 0 | 0 |
521841,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtmultimedia | Status: NEW | 0 | 0 |
521846,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtcoap | Status: NEW | 0 | 0 |
521847,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtconnectivity | Status: NEW | +2 | 0 |
521849,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtdatavis3d | Status: NEW | 0 | 0 |
521895,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtgraphs | Status: NEW | +2 | 0 |
521896,8 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtgrpc | Status: NEW | +2 | 0 |
521898,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qthttpserver | Status: NEW | 0 | 0 |
522036,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtmqtt | Status: NEW | 0 | 0 |
522103,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtnetworkauth | Status: NEW | 0 | 0 |
522109,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtopcua | Status: NEW | 0 | 0 |
522110,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtpositioning | Status: NEW | +2 | 0 |
522134,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtremoteobjects | Status: NEW | 0 | 0 |
522137,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtscxml | Status: NEW | +2 | 0 |
522138,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtsensors | Status: NEW | 0 | 0 |
522139,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtserialbus | Status: NEW | +2 | 0 |
522140,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtserialport | Status: NEW | 0 | 0 |
522141,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtshadertools | Status: NEW | 0 | 0 |
522143,2 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtsvg | Status: NEW | +2 | 0 |
522152,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtwayland | Status: NEW | 0 | 0 |
522153,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtwebchannel | Status: NEW | 0 | 0 |
522155,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtwebsockets | Status: NEW | 0 | 0 |
522158,1 | Remove the use of GENERATE_CPP_EXPORTS argument | dev | qt/qtwebengine | Status: NEW | +2 | 0 |