Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
4.6.2
-
None
-
qte with qvfb.
-
77b913e5f8fa93c62a245
Description
This problem was introduced in 4.6.2 (461 is fine) and it happens only against qt-embedded.
code to reproduce the problem:
#include <QtGui> int main(int argc, char** argv) { QApplication app(argc, argv); QStringList list; QString str = list.join(QString()); qWarning() << str.isNull(); app.exec(); }
In 4.6.1 or 4.6.2-x11, the result is true, but against qte-4.6.2, the result is false.
This causes a logic problem in src/gui/embedded/qmousetslib_qws.cpp:
devName = args.join(QString()); if (devName.isNull()) { const char *str = getenv("TSLIB_TSDEVICE"); if (str) devName = QString::fromLocal8Bit(str); }