Ticket #46536: patch-tst_qpluginloader.diff

File patch-tst_qpluginloader.diff, 672 bytes (added by RJVB (René Bertin), 10 years ago)
  • qtbase/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp

     
    311311
    312312void tst_QPluginLoader::loadMachO_data()
    313313{
    314 #ifdef Q_OF_MACH_O
     314#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
    315315    QTest::addColumn<int>("parseResult");
    316316
    317317    QTest::newRow("/dev/null") << int(QMachOParser::NotSuitable);
     
    347347
    348348void tst_QPluginLoader::loadMachO()
    349349{
    350 #ifdef Q_OF_MACH_O
     350#if defined(QT_BUILD_INTERNAL) && defined(Q_OF_MACH_O)
    351351    QFile f(QFINDTESTDATA(QTest::currentDataTag()));
    352352    QVERIFY(f.open(QIODevice::ReadOnly));
    353353    QByteArray data = f.readAll();