Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.4
-
-
3
-
8602a224b (dev), db9d60435 (6.4), 7a850fc00 (6.5)
-
Foundation Sprint 72
Description
The change https://codereview.qt-project.org/c/qt/qtbase/+/419976 introduced inlining for QByteArray::isNull(). If this function is used in a library, the application fails to build on iOS, since for iOS we currently mandate static builds.
A sample code would be:
// application #include <QCoreApplication> #include "blibrary.h" int main(int argc, char *argv[]) { doBLibrary(); }
#ifndef BLIBRARY_H
#define BLIBRARY_H
bool doBLibrary();
#endif // BLIBRARY_H
// library #include "blibrary.h" #include <QByteArray> bool doBLibrary() { return QByteArray().isNull(); }
Attachments
Issue Links
- relates to
-
QTBUG-127070 QT_DISABLE_DEPRECATED_UP_TO breaks ABI with static builds
-
- Closed
-
- resulted in
-
QTBUG-111884 FTBFS: qtbase can't be built in static mode
-
- Closed
-
-
QTBUG-85974 Allow dynamic builds of Qt for iOS - Tech Preview
-
- Open
-