Browse Source

qt: do not use `Q_INIT_RESOURCE` in qml_test.cpp

We don't use the test with static Qt, and
Q_INIT_RESOURCE should not be necessary
with dynamically linked Qt.
pull/162/head
Fatih Uzunoglu 2 years ago
committed by Jean-Baptiste Kempf
parent
commit
e33592f80c
  1. 2
      modules/gui/qt/tests/qml_test.cpp

2
modules/gui/qt/tests/qml_test.cpp

@ -26,7 +26,5 @@ int main(int argc, char **argv)
QTEST_SET_MAIN_SOURCE_PATH
//run tests offscreen as the CI doesn't have a desktop environment
qputenv("QT_QPA_PLATFORM", "offscreen");
Q_INIT_RESOURCE(qml);
Q_INIT_RESOURCE(assets);
return quick_test_main(argc, argv, "qml_test", QUICK_TEST_SOURCE_DIR);
}

Loading…
Cancel
Save