-
Bug
-
Resolution: Done
-
P1: Critical
-
4.7.0
-
None
-
Ubuntu 9.10
-
79a53db37f76e3cc3687b0c7742a89260a736640
A simple QTest test, such as:
#include <QtTest/QtTest>
class TestQString : public QObject
{
Q_OBJECT
private slots:
void toUpper();
};
void TestQString::toUpper()
{
QString str = "Hello";
QVERIFY(str.toUpper() == "Hello");
}
QTEST_MAIN(TestQString)
#include "testqstring.moc"
Fails to build with the following error:
/usr/local/Trolltech/Qt-4.7.0/include/QtTest/qbenchmark.h:46:47: error: QtTest/private/qbenchmarkmetric_p.h: No such file or directory
Because the private/ directory and its contents are not installed under include/.